nasm/test
H. Peter Anvin bb72f7f111 Un-special-case "xchg rax,rax"; disassemble o64
Un-special-case "xchg rax,rax"; allow it to be encoded as 48 90 for
orthogonality's sake.  It's a no-op, to be sure, but so are many other
instructions.

"xchg eax,eax" is still special-cased in 64-bit mode since it is not a
no-op; unadorned opcode 90 is now simply "nop" and nothing else.

Make the disassembler detect unused REX.W and display them as an "o64"
prefix.
2007-11-12 22:56:07 -08:00
..
perf Simple performance benchmarks: label, macro and token lookups 2007-09-13 18:13:20 -07:00
a32offs.asm Add a test for incorrect handing of offsets with prefixes 2002-11-07 22:45:46 +00:00
absolute.asm Clean up unnecessary dependencies. 2002-09-12 16:34:06 +00:00
addr64x.asm Test of some addressing modes in 64-bit mode. 2007-10-28 23:23:24 -07:00
aoutso.asm NASM 0.96 2002-04-30 20:52:49 +00:00
aouttest.asm NASM 0.94 2002-04-30 20:52:08 +00:00
aouttest.c General push for x86-64 support, dubbed 0.99.00. 2007-04-12 02:40:54 +00:00
binexe.asm NASM 0.96 2002-04-30 20:52:49 +00:00
bintest.asm NASM 0.98.12 2002-04-30 21:02:01 +00:00
br560575.asm Correct handling of SEG <nonsegment>; per BR 560575 2002-05-27 02:19:43 +00:00
br560873.asm Deal with another case of address/operand size confusion, BR 560873 2002-05-27 23:19:35 +00:00
changed.asm NASM 0.98.25alt 2002-04-30 21:08:11 +00:00
cofftest.asm NASM 0.94 2002-04-30 20:52:08 +00:00
cofftest.c Must define types before using them 2007-10-11 20:32:33 -07:00
elfso.asm NASM 0.96 2002-04-30 20:52:49 +00:00
elftest.asm Make .rodata a recognized ELF section with default attributes 2002-05-17 04:51:10 +00:00
elftest.c Must define types before using them 2007-10-11 20:32:33 -07:00
elif.asm Add %elif preprocessor test 2002-05-22 23:01:06 +00:00
expimp.asm Add 16-bit imul test for strictness 2002-05-22 20:48:01 +00:00
float.asm Use a 32-bit floating-point limb size; support 8-bit float 2007-10-29 20:20:12 -07:00
float8.asm Exhaustive test for 8-bit floating point values 2007-10-30 00:59:27 -07:00
floatb.asm Tests of obscenely large exponents 2007-10-16 15:46:04 -07:00
floatexp.asm Use a 32-bit floating-point limb size; support 8-bit float 2007-10-29 20:20:12 -07:00
floatize.asm Fix the handling of floating-point tokens in the preprocessor 2007-10-24 15:29:51 -07:00
floattest.asm Add Frank's floattest.asm test file 2007-10-08 12:12:23 -07:00
floatx.asm floatx.asm: add tests for "rounds up to smallest denorm" 2007-10-30 01:17:57 -07:00
fmsub.asm Actually generate SSE5 instructions 2007-09-17 17:25:27 -07:00
ifmacro.asm Tests for the %ifmacro directives 2002-05-07 04:31:28 +00:00
inc1.asm NASM 0.94 2002-04-30 20:52:08 +00:00
inc2.asm NASM 0.91 2002-04-30 20:51:32 +00:00
inctest.asm NASM 0.94 2002-04-30 20:52:08 +00:00
insnlbl.asm Permit opcode names as labels as long as they are followed by a colon 2007-11-04 21:10:42 -08:00
invlpga.asm Implement INVLPGA according to the documentation 2007-09-22 22:35:28 -07:00
lar_lsl.asm BR 1828866: fix handling of LAR/LSL 2007-11-12 22:05:31 -08:00
larlsl.asm Fix BR 1490407: size of the second operand of LAR/LSL 2007-09-25 14:26:03 -07:00
lnxhello.asm fix comment in test/lnxhello.asm 2003-08-06 07:13:59 +00:00
local.asm BR 1828103: Fix %arg and %local 2007-11-08 20:01:11 -08:00
loopoffs.asm More test files... 2003-09-08 22:59:45 +00:00
Makefile test/Makefile: Use -Ox instead of -O999 2007-10-19 13:16:51 -07:00
mmxsize.asm Fix some MMX/SSE irregularities which interact with the 64-bit support 2007-09-02 16:37:03 +00:00
movimm.asm test/movimm.asm: add optimizable forms 2007-09-25 15:44:40 -07:00
multisection.asm Added extra tests, to fully test multisection support for .bin format 2002-05-24 14:33:35 +00:00
nasmformat.asm Revert erroneous macro added and modify __OUTPUT_FORMAT__ to a string const 2003-09-25 11:43:28 +00:00
nop.asm Un-special-case "xchg rax,rax"; disassemble o64 2007-11-12 22:56:07 -08:00
nullfile.asm More test files... 2003-09-08 22:59:45 +00:00
objexe.asm NASM 0.96 2002-04-30 20:52:49 +00:00
objlink.c Must define types before using them 2007-10-11 20:32:33 -07:00
objtest.asm NASM 0.94 2002-04-30 20:52:08 +00:00
org.asm Simple 64-bit org test 2007-09-02 06:23:29 +00:00
r13.asm test/r13.asm: test special-casing of rbp and r13 in 64-bit mode 2007-09-17 13:19:25 -07:00
radix.asm readnum(): handle prefix-suffix collision like "0h" 2007-10-26 21:38:02 -07:00
riprel.asm Even more "riprel" tests 2007-10-31 10:59:26 -07:00
riprel.pl Even more "riprel" tests 2007-10-31 10:59:26 -07:00
test67.asm Simple test for 0x67 prefixes 2007-09-22 21:50:03 -07:00
testdos.asm Fix Borland C++ optimization bug; add test for bad DOS binaries. 2002-09-12 04:33:58 +00:00
testnos3.asm Add testnos3 from the gdtoa package (floating-point test) 2007-10-15 17:48:43 -07:00
tmap.nas Use the version of tmap.nas that actually caused problems 2003-09-10 23:33:38 +00:00
uscore.asm uscore.asm: Fix test case 2007-10-19 14:19:52 -07:00
xchg.asm Test of XCHG 2007-11-12 20:18:33 -08:00
zerobyte.asm zerobyte.asm: use a real instruction to avoid confusing ndisasm 2007-10-05 17:44:16 -07:00