summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into new-preprocnew-preprocH. Peter Anvin2012-03-040-0/+0
|\ | | | | | | | | | | | | | | This is a dummy merge to allow us to do backmerges from the master branch without git trying to redo the backport of the old preprocessor on us. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * BR3392200: preproc - Fix dangling paste termCyrill Gorcunov2012-03-041-2/+7
| | | | | | | | | | | | Backport 99a055add917fe954038885d9013f8968f76790c Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * NASM 2.10rc13nasm-2.10rc13H. Peter Anvin2012-03-031-1/+1
| |
| * preproc: Revert to the NASM 2.09 preprocessorH. Peter Anvin2012-03-034-1348/+962
|/ | | | | | | | | | | 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>
* preproc: Drop never used Cond structureCyrill Gorcunov2012-03-011-2/+0
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* NASM 2.10rc12nasm-2.10rc12Cyrill Gorcunov2012-02-271-1/+1
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* doc: Update changesCyrill Gorcunov2012-02-271-0/+2
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* BR3392200: preproc - Fix dangling paste termCyrill Gorcunov2012-02-271-2/+10
| | | | | | | | | | | | | | In case if there a production {tok},{%+},{whitespace}* the preprocessor does not delete ending paste+spaces tokens. Fix it. http://bugzilla.nasm.us/show_bug.cgi?id=3392200 Reported-by: KO Myung-Hun <komh@chollian.net> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* nasm.spec.in: switch to .xz as the source fileH. Peter Anvin2012-02-261-1/+1
| | | | | | Switch the source file to use for the SRPM to the .xz file. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* misc/release: do xz compression with -9eH. Peter Anvin2012-02-251-6/+6
| | | | | | | | Use the -9e compression level when doing xz compression. It only saves a few kilobytes, but since our files are pretty small it doesn't really take all that much time. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* insns.dat: MOV is not lockable; CMPXCHG16B does not support HLEH. Peter Anvin2012-02-251-5/+5
| | | | | | | Using a LOCK prefix with MOV is not permitted. The CMPXCHG16B instruction is not defined to support HLE. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* HLE: One more byte code conversionH. Peter Anvin2012-02-251-3/+3
| | | | | | Add missing site for the \265..267 -> \271..273 byte code move. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* HLE: Move byte codes back to \271-\273H. Peter Anvin2012-02-253-16/+15
| | | | | | | Since we are back to three bytecodes, move them back to the \271-\273 slot to free up the \264 complete quad. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* NASM 2.10rc11nasm-2.10rc11H. Peter Anvin2012-02-251-1/+1
|
* HLE: Change NOHLE to be an instruction flagH. Peter Anvin2012-02-256-37/+55
| | | | | | | | | The way our matching system works we have to make NOHLE an instruction flag rather than an byte code; by the time we run the byte code interpreter we have already picked an instruction pattern once and for all. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* tag-release: actually push data out unless --no-push is givenH. Peter Anvin2012-02-251-3/+5
| | | | | | | Rather than just printing a list of commands, do them, unless --no-push is given... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* NASM 2.10rc10nasm-2.10rc10H. Peter Anvin2012-02-251-1/+1
|
* release: create .xz files; remove empty subdirectoriesH. Peter Anvin2012-02-251-4/+9
| | | | | | | Create .xz files as well as .gz and .bz2; remove empty subdirectories from the xdoc archives. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* doc: Remove some ugliness from the win64 sectionH. Peter Anvin2012-02-251-8/+9
| | | | | | Clean up the formatting of the Win64 examples. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* psfonts.ph: increase leading to font size+20%H. Peter Anvin2012-02-252-16/+16
| | | | | | | Increase the leading from +10% to +20%, (12 pt leading for the 10 pt bulk text.) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* changes: document bigendian UTF-16/UTF-32 supportH. Peter Anvin2012-02-251-0/+2
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add support for UTF-16BE and UTF-32BEH. Peter Anvin2012-02-255-7/+226
| | | | | | | Add support for bigendian UTF-16 and UTF-32, and (for symmetry) add explicitly littleendian operators. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Make the LOCK and HLE warnings suppressable.H. Peter Anvin2012-02-254-5/+16
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* doc: Document elfx32 supportH. Peter Anvin2012-02-252-13/+20
| | | | | | Document the new elfx32 backend. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* doc: Move the EPS logo down by 1"H. Peter Anvin2012-02-251-0/+1
| | | | | | | The default page-centered position doesn't work too well with the title and the new logo, so move the new logo down the page a bit. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* doc: New NASM logoCyrill Gorcunov2012-02-251-29/+206
| | | | Update to a new NASM logo.
* doc: Allow repositioning the EPS logoH. Peter Anvin2012-02-251-0/+7
| | | | | | | | | | | | | Allow specifying an offset from the computed position of the EPS logo: \M{logoxadj}{adjustment} \M{logoyadj}{adjustment} The adjustment is given in Postscript points (1/72" = 0.352778 mm) and using the Postscript coordinate system, with the origin in the lower left. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Update copyright year to 2012H. Peter Anvin2012-02-251-2/+2
|
* NASM 2.10rc9nasm-2.10rc9H. Peter Anvin2012-02-251-1/+1
|
* doc: Document AVX2, BMI1, BMI2 and TSX support.H. Peter Anvin2012-02-251-0/+5
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Assume the undocumented CMPXCHG486 opcode was lockableH. Peter Anvin2012-02-251-3/+3
| | | | | | | Someone who actually knows about this opcode and has a 486 to test on may want to verify this. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* insns.dat: Add IF_LOCK flag on appropriate instructionsCyrill Gorcunov2012-02-261-154/+154
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Clean up JMP/CALL patterns, especially for 64 bitsH. Peter Anvin2012-02-252-8/+15
| | | | | | | | Clean up JMP/CALL patterns so they don't disassemble quite so uglily. Fix a CALL pattern which would have incorrectly generated a (harmless) REX.W prefix. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* insns.dat: Add nohle for MOV in case of moffset destinationCyrill Gorcunov2012-02-261-4/+4
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hlexr flag for MOV instructionCyrill Gorcunov2012-02-251-12/+12
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hlenl flag for XCHG instructionCyrill Gorcunov2012-02-251-8/+8
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for XADD instructionCyrill Gorcunov2012-02-251-4/+4
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for XOR instructionCyrill Gorcunov2012-02-251-14/+14
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for SUB instructionCyrill Gorcunov2012-02-251-14/+14
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for SBB instructionCyrill Gorcunov2012-02-251-14/+14
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for OR instructionCyrill Gorcunov2012-02-251-14/+14
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for NOT instructionCyrill Gorcunov2012-02-251-4/+4
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for NEG instructionCyrill Gorcunov2012-02-251-4/+4
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for INC instructionCyrill Gorcunov2012-02-251-4/+4
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for DEC instructionCyrill Gorcunov2012-02-251-4/+4
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for CMPXCHG16B instructionCyrill Gorcunov2012-02-251-1/+1
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for CMPXCHG8B instructionCyrill Gorcunov2012-02-251-1/+1
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for CMPXCHG instructionCyrill Gorcunov2012-02-251-4/+4
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for BTS instructionCyrill Gorcunov2012-02-251-6/+6
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for BTR instructionCyrill Gorcunov2012-02-251-6/+6
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>