summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* insns.dat: Add hle flag for BTC instructionCyrill Gorcunov2012-02-251-6/+6
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for AND instructionCyrill Gorcunov2012-02-251-14/+14
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for ADC instructionCyrill Gorcunov2012-02-251-14/+14
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* insns.dat: Add hle flag for ADD instructionCyrill Gorcunov2012-02-251-14/+14
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* disasm: ignore opcodes 370 and 371H. Peter Anvin2012-02-251-1/+5
|
* Remove all remaining explicit bytecodes from insns.datH. Peter Anvin2012-02-253-59/+77
| | | | | | | | Get rid of the last vestiges of the explicit byte codes in insns.dat. The only files that now depend on actual byte code numbers are insns.pl, assemble.c and disasm.c. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add support for warning on invalid LOCK prefixesH. Peter Anvin2012-02-252-13/+27
| | | | | | | | | Add an LOCK flag to the instruction template, and make the presence of a LOCK prefix trigger a warning if it is not set. Simplify the LOCK and HLE logic by hard-coding the knowledge that operand 0 has to be memory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Move HLE byte codes to \264..\267H. Peter Anvin2012-02-253-47/+47
| | | | | | | Move the HLE byte codes to \264..\267 so as not to break up an unused group of 8 (\240..\247). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add a "nohle" byte code to skip an instruction patternH. Peter Anvin2012-02-253-33/+47
| | | | | | | | | | The a2/a3 mem_offs MOV opcodes are invalid with XRELEASE; those instructions instead have to use a modrm form. Therefore give a way to annotate those instruction patters so the pattern matcher will move on to the next pattern, rather than selecting them and then issue a warning. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* insns.pl: Bundle all "plain bytecodes" into a hashH. Peter Anvin2012-02-241-40/+33
| | | | | | | Instead of a long string of ifs, put all the plain opcodes which just turn into single bytecodes with no other effect into a hash. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* HLE: Implement the basic mechanism for XACQUIRE/XRELEASEH. Peter Anvin2012-02-247-6/+87
| | | | | | | This implements the mechanism for XACQUIRE/XRELEASE. It does not include the necessary annotations in insns.dat. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* nasm.c: Fix is_suppressed_warning()H. Peter Anvin2012-02-241-8/+5
| | | | | | | | The logic in is_suppressed_warning() was severely wrong, which would cause a lot of legitimate warnings to be suppressed while some warnings would be duplicated. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* HLE: Split the LOCK and REP prefix slotsH. Peter Anvin2012-02-244-13/+15
| | | | | | With HLE, the sequence REP LOCK actually makes sense, so support it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* insns: create a symbolic "wait" token for the \341 byte codeH. Peter Anvin2012-02-102-10/+12
| | | | | | | Create a symbolic name "wait" for the \341 byte code, so we don't have to open-code it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* insns: fix IMUL patterns to get rid of open-coded \100 bytecodesH. Peter Anvin2012-02-101-12/+12
| | | | | | | There already is a standard encoding for "use this operand in multiple slots"; no need to open-code it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* insns: correct the TSX opcodesH. Peter Anvin2012-02-091-6/+9
| | | | | | All except XTEST are RTM, not HLE; XBEGIN is like a JMP or CALL. Signed-off-by: H. Peter Anvin <hpa@zytor.com>