Commit Graph

189 Commits

Author SHA1 Message Date
Cyrill Gorcunov
1452990979 docs: Fix typo in previous commit
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2016-02-17 17:02:34 +03:00
Cyrill Gorcunov
2338613e6b docs: changes -- Prepare for 2.12
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2016-02-17 17:00:06 +03:00
Cyrill Gorcunov
8b4ef2d1d6 doc: Update changes list
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2015-07-26 14:42:30 +03:00
Cyrill Gorcunov
399d29c0a5 doc: changes -- Prepare for 2.11.08
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2015-02-21 22:19:19 +03:00
Yuri Zaporozhets
7a33af2904 Correct name spelling and email address
Signed-off-by: Yuri Zaporozhets <r_tty@yahoo.co.uk>
2015-01-18 20:21:14 +02:00
Cyrill Gorcunov
e3131143fa doc: Update changes for 2.11.07
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2014-12-09 21:47:23 +03:00
Jim Kukunas
e3e4f7c8fb doc: Document -MF/-MD and updated AVX512 instructions
Document changes for 2.11.06

Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com>
2014-10-17 15:07:41 -07:00
H. Peter Anvin
4ac3b025be doc: Document --v and duplicate REX prefix fix
Document changes for 2.11.05.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2014-05-21 08:28:21 -07:00
Jin Kyu Song
3a105c3c0e changes: Document bug fixes
- Removed an error checking code for setting evex flags
- Fixed vector length matching bug

Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
2014-05-07 13:56:04 -07:00
H. Peter Anvin
1a03281365 changes: Document TIMES bug
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2014-05-05 11:21:17 -07:00
H. Peter Anvin
727eb3f8f6 Add CLFLUSHOPT instruction
Add the CLFLUSHOPT instruction from the Intel Instruction Set
Architecture Extensions document version 319433-018 (Feb 2014).

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2014-02-19 15:40:53 -08:00
H. Peter Anvin
0b7db57deb insns: add XSAVEC, XSAVES and XRSTORS instructions
Add the XSAVEC, XSAVES, and XRSTORS instructions from the Intel SDM
release 253665-050US (Feb 2014).

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2014-02-19 14:58:42 -08:00
H. Peter Anvin
f2d2569bb6 changes.src: changelog for 2.11.01
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2014-02-18 14:05:14 -08:00
H. Peter Anvin
b2fcac9a1d doc: Document DEFAULT BND/NOBND in changes, add use case
Add DEFAULT BND/NOBND to the change history, and explain the use case.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2013-12-31 10:38:51 -08:00
H. Peter Anvin
be1d052fff changes: Document change in [nosplit reg]
Document that [nosplit reg] as opposed to [nosplit reg*1] will no
longer force an index register.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2013-12-31 10:35:12 -08:00
H. Peter Anvin
ebfa6a6452 doc: Clean up changelog for 2.11
- We don't need to list internal infrastructure improvements.
- We don't list rc releases separately.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2013-11-28 21:24:09 -08:00
H. Peter Anvin
621a69ac5c Add {vex3} and {vex2} prefixes by analogy with {evex}
Allow specifying {vex3} or {vex2} (the latter is currently always
redundant, unless we end up with instructions at some point can be
specified with legacy prefixes or VEX) to select a specific encoding
of VEX-encoded instructions.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2013-11-28 12:21:11 -08:00
Jin Kyu Song
1ab16e4673 doc: Update the change history and nasmdoc
Added the list of features added since 2.10 release.
Nasmdoc is also updated with those new features.

Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
2013-11-27 15:43:32 -08:00
Cyrill Gorcunov
e74e494805 doc: changes -- Prepare for 2.10.09
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-23 09:36:00 +04:00
Cyrill Gorcunov
85f734b6ab doc: changes -- Add fixes for VMOVNTDQA, MOVNTDQA, MOVLPD
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-21 14:47:51 +04:00
Cyrill Gorcunov
82139da76e changes.src: Prepare for 2.10.08
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-21 00:45:02 +04:00
Cyrill Gorcunov
6cdebb463f docs: Update changes
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2012-12-27 20:28:02 +04:00
H. Peter Anvin
f2ded5051d changes: document fix of macho64
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2012-12-04 13:36:42 -08:00
H. Peter Anvin
4dab7a000f doc/changes.src: Update to include recent changes.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2012-10-08 12:05:59 +08:00
H. Peter Anvin
5534099473 When generate dependency names internally, quote filenames
Quote filenames for Make when generated for filenames internally.
Only skip quoting when using the -MT option (rather than -MQ).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-09-09 17:09:00 -07:00
H. Peter Anvin
e55e53db1d changes.src: fix grammar error (support -> supports)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-09-09 16:47:40 -07:00
H. Peter Anvin
55f3cb8df4 changes.src: Document CLAC/STAC
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-09-09 11:05:35 -07:00
H. Peter Anvin
480435c0d2 changes.src: List of changes for the next release
Prepare a list of changes for a 2.10.04 release.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-08-17 15:42:24 -07:00
H. Peter Anvin
7f9a43a7cb doc: document XRELEASE MOV fix
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-07-22 21:08:30 -07:00
H. Peter Anvin
5c4c506834 changes: add changes since 2.10.01
ilog2*() and new instructions.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-07-20 17:53:55 -07:00
Cyrill Gorcunov
45bf92b4fa docs: Update changes for 2.10.01
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2012-05-25 00:58:43 +04:00
H. Peter Anvin
36206cd378 preproc: Revert to the NASM 2.09 preprocessor
The NASM 2.09 preprocessor allows some illogical constructs, but which
unfortunately has been found in real code in the field.  We need
a compatibility solution or a pragma before we can avoid that.

However, we need the other features in NASM 2.10 to come out, so
revert the preprocessor changes for now.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-03-03 16:23:19 -08:00
Cyrill Gorcunov
cf72a29354 doc: Update changes
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2012-02-27 11:29:37 +04:00
H. Peter Anvin
6b8cc128f3 changes: document bigendian UTF-16/UTF-32 support
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-02-25 15:34:14 -08:00
H. Peter Anvin
c92aaa1d49 doc: Document elfx32 support
Document the new elfx32 backend.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-02-25 15:05:45 -08:00
H. Peter Anvin
8a44aa49c8 doc: Document AVX2, BMI1, BMI2 and TSX support.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-02-25 13:30:41 -08:00
Keith Kanios
099749292c doc: update documentation for pending 2.10 release 2011-07-30 13:14:18 -05:00
Cyrill Gorcunov
5b49af4ff2 Merge branch 'nasm-2.09.xx'
Conflicts:
	version

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-07-16 01:44:57 +04:00
Cyrill Gorcunov
ed48ab815e doc: Describe changes for nasm-2.09.10
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-07-16 01:33:00 +04:00
Cyrill Gorcunov
454b0f23b8 Merge branch 'nasm-2.09.xx'
Conflicts:
	version

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-07-04 00:51:53 +04:00
Cyrill Gorcunov
68868b09e3 doc: Describe changes for stable version
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-07-04 00:47:08 +04:00
Cyrill Gorcunov
a4f98b3aab Merge branch 'nasm-2.09.xx'
Conflicts:
	nasm.h
	version

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-04-06 19:12:17 +04:00
Cyrill Gorcunov
47e7ecda1b doc: Updates for stable branch fix
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-04-06 19:08:34 +04:00
Cyrill Gorcunov
a09fe1ebfb Merge branch 'nasm-2.09.xx'
Conflicts:
	doc/changes.src
	version

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-03-12 22:35:42 +03:00
Cyrill Gorcunov
eb9b2943c6 doc: Update changes
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-03-07 12:44:43 +03:00
Cyrill Gorcunov
16f998e92f doc: Update changes
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-03-07 11:35:18 +03:00
Cyrill Gorcunov
1616b9d665 Merge branch 'nasm-2.09.xx'
Conflicts:
	doc/changes.src
	output/outbin.c
	version

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-02-28 10:03:53 +03:00
Cyrill Gorcunov
37dacf0dec doc: Describe changes for 2.09.06
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-02-28 09:58:52 +03:00
Cyrill Gorcunov
4e45e61055 Merge branch 'nasm-2.09.xx' 2011-02-23 00:49:41 +03:00
Cyrill Gorcunov
b6c1dcaf70 doc: Describe changes
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-02-23 00:49:13 +03:00
Cyrill Gorcunov
b12b96ddad Merge branch 'nasm-2.09.xx'
Conflicts:
	version

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-02-20 23:56:43 +03:00
Cyrill Gorcunov
8fc44e9c33 doc: Update changes.src
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-02-20 22:12:32 +03:00
Cyrill Gorcunov
e5c2c49666 doc: Describe changes for 2.09.05 stable
Onle one change here but wrong instruction encoding is
pretty serious error which desrves to go into new stable
release.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-02-20 21:22:25 +03:00
Cyrill Gorcunov
fac6eee993 Merge branch 'nasm-2.09.xx'
Conflicts:
	version

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-11-21 19:56:21 +03:00
Cyrill Gorcunov
9348b90f15 Changes for 2.09.04
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-11-21 19:51:49 +03:00
Cyrill Gorcunov
27fe347a8b Merge branch 'nasm-2.09.xx'
Conflicts:
	version

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-10-27 22:42:12 +04:00
Cyrill Gorcunov
fdbe8baf7a doc: Update changes for 2.09.03
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-10-27 21:50:20 +04:00
Cyrill Gorcunov
8fe1f65087 Merge branch 'nasm-2.09.xx' 2010-09-18 02:59:08 +04:00
Cyrill Gorcunov
a28db5f3c2 doc/changes.src: Describe changes
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-09-18 02:55:46 +04:00
Cyrill Gorcunov
14ad688d35 Merge branch 'nasm-2.09.xx' 2010-09-15 21:18:01 +04:00
Cyrill Gorcunov
831222f244 changes.src: Describe changes for 2.09.02
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-09-15 21:13:48 +04:00
H. Peter Anvin
c1ade75944 Merge branch 'nasm-2.09.xx' 2010-09-15 08:59:51 -07:00
H. Peter Anvin
2c11f97ca8 changes: document fixed token reversal for %deftok
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2010-09-15 08:59:12 -07:00
Cyrill Gorcunov
55ce00907e Merge branches 'master' and 'nasm-2.09.xx' 2010-09-07 21:16:06 +04:00
Cyrill Gorcunov
234e4edce7 changes.src: Describe changes for 2.09.01
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-09-07 20:57:36 +04:00
H. Peter Anvin
96e8d96045 doc: untabify
Fix tab-related problems

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-08-24 14:20:40 -07:00
H. Peter Anvin
d68466a33d doc: override optimization with STRICT
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-08-24 14:14:48 -07:00
H. Peter Anvin
af5cb1b4de doc: document imm64 optimization
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-08-24 14:13:32 -07:00
H. Peter Anvin
2d3dce2fd7 doc: document the %use fp macro package
Documentation for %use fp was missing...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2010-08-24 09:55:27 -07:00
Cyrill Gorcunov
327edcfc7a doc: Fix typo in changes.src
Reported-by: Frank Kotler <fbkotler@zytor.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-08-16 13:47:24 +04:00
Cyrill Gorcunov
e091d6ed62 BR3041451: Implement upper bound for %rep counter
Since %rep counter is a 64 bit signed integer we have to use some
"maximum possible value" limit (upper bound) otherwise there may be
a situation when %rep counter is 0 or even negative while user
has been passing big positive integer value.

Reported-by: nasm64developer
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-08-09 18:35:35 +04:00
Cyrill Gorcunov
407e6c707f doc: Explain SECTALIGN
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-07-28 17:59:49 +04:00
H. Peter Anvin
ab5bd05d82 Revert "Improve process_ea and introduce -OL"
This reverts commit ac732cb6a5.

Resolved Conflicts:

	doc/nasmdoc.src

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2010-07-25 12:43:30 -07:00
Victor van den Elzen
ac732cb6a5 Improve process_ea and introduce -OL
Two fixes:
1. Optimization of [bx+0xFFFF] etc
   0xFFFF is an sbyte under 16-bit semantics,
   so make sure to check it right.

2. Don't optimize displacements in -O0
   Displacements that fit into an sbyte or
   can be removed should *not* be optimized in -O0.

   Implicit zero displacements are still optimized, e.g.:
   [eax] -> 0 bit displacement, [ebp] -> 8 bit displacement.
   However explicit displacements are not optimized:
   [eax+0] -> 32 bit displacement, [ebp+0] -> 32 bit displacement.

Because #2 breaks compatibility with 0.98,
I introduced a new optimization level: -OL, legacy.
2010-07-24 22:00:12 +02:00
Cyrill Gorcunov
088d151130 doc: Update changes.src
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-07-23 18:57:40 +04:00
H. Peter Anvin
077fb93d2b preproc: allow non-identifier character in environment variables
Allow non-identifier characters in the name of environment variables,
by surrounding them with string quotes (subject to ordinary
string-quoting rules.)

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-07-20 14:56:30 -07:00
Cyrill Gorcunov
aed4eaa8f3 changes.src: Fix misprint in "instructions" word.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-07-17 18:24:13 +04:00
H. Peter Anvin
abe61900e4 Merge branch 'nasm-2.08.xx'
Resolved Conflicts:
	version

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2010-07-15 22:45:04 -07:00
H. Peter Anvin
5bc03271bd changes.src: update with the 2.08.xx changes
Patchlevels should be documented, too...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2010-07-15 22:44:03 -07:00
H. Peter Anvin
31387b2d04 Make -Ox the default
Make -Ox the default; it's the optimization level expected by most
users, and it is clearly still causing confusion that it has to be
specified manually.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2010-07-15 18:30:18 -07:00
Bryant Keller
a537d4964e Documentation: describe %ifenv and friends
Signed-off-by: Bryant Keller <bkeller@assembly.ath.cx>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-07-13 23:49:39 +04:00
Cyrill Gorcunov
702df6d6cc Update changes.src
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-07-13 21:17:54 +04:00
Cyrill Gorcunov
924df0d498 Documentation updates
Various small fixes.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-07-13 21:17:03 +04:00
Cyrill Gorcunov
f2c1cb06e0 doc: Update changes.src
Before soon-coming 2.09rc2.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-07-07 01:48:33 +04:00
Cyrill Gorcunov
90bb2850fa doc/changes.src: Restore empty line.
Due to previous commit empty line was occasionally
removed which make text harder to read. Restore it.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-03-03 23:15:25 +03:00
Cyrill Gorcunov
3dce1e162d Update doc/changes.src
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-03-03 23:13:48 +03:00
Cyrill Gorcunov
f09116f445 preproc.c: Turn off rmacro,exitmacro support
We've a problem in supporting [i]rmacro, exitmacro
facilities at moment.

In a sake of not holding new NASM release any longer these
directives are just marked as being "forbidden".

This allow us to not squash much changes in current source
code base but remain on a safe side same time.

Reviewed-by: Keith Kanios <keith@kanios.net>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-02-28 12:24:20 +03:00
H. Peter Anvin
3af3779826 doc/changes.src: update in preparation of 2.08 release
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2010-02-15 10:15:53 -08:00
Cyrill Gorcunov
7a8098c7cb doc/changes.src: Update changes
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-01-03 15:41:22 +03:00
Cyrill Gorcunov
78debd0a57 doc/changes.src: describe changes
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-12-13 14:13:35 +03:00
H. Peter Anvin
5792483c7d changes.src: document removal of DREX instructions
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-11-09 14:58:45 -08:00
Cyrill Gorcunov
b9771908b6 Document BR 2887108 in changes.src
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-11-06 22:00:45 +03:00
Keith Kanios
4ea846623a changes.src: document preprocessor directives added since 2.07
nasmdoc.src: document %exitmacro
2009-10-25 14:06:24 -05:00
Cyrill Gorcunov
66ba8cdba1 changes.src: describe changes since version 2.07 up to 2.08rc1
There are already new commits which fix other bugs
but at moment only changes up to 2.08rc1.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-10-18 01:09:40 +04:00
H. Peter Anvin
a99c98470e changes: it's not just invalid UTF-8 sequences that are affected...
It isn't just invalid UTF-8 sequences that are affected; it is in fact
any high-bit bytes (we don't ever try to construct UTF-8 characters,
just deconstruct them.)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-15 17:43:32 -04:00
H. Peter Anvin
cc6ee1acf2 changes: document fixed crash on invalid UTF-8 sequences
Document nasm_quote() fixes.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-15 16:31:55 -04:00
H. Peter Anvin
a6e25b5356 Document macho64 output format
At least mention the 64-bit macho format in the documentation.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-08 21:42:18 -07:00
H. Peter Anvin
a7a14b2fcb changes: document listing fix
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-07 16:08:56 -07:00
H. Peter Anvin
e227fe6f80 changes: add Mach-O alignment issue fix
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-06 19:27:33 -07:00
H. Peter Anvin
83b942d3e1 changes: document %+ behavior revert
Revert to original %+ behavior.  This is what we really wanted in the
first place, except this time we have fixed some bugs.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-06 19:00:08 -07:00