diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-10-07 11:28:29 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-07 11:28:29 -0700 |
commit | e831d67cec778bfd64e95dbae44f49de67e0a103 (patch) | |
tree | 6bf9098805141240eefbdccef21d9b07699dfad5 /test | |
parent | 65feb5ae3376d02c6ac89b6e58a3e802da6a222e (diff) | |
download | nasm-e831d67cec778bfd64e95dbae44f49de67e0a103.tar.gz |
Test for various IMUL patterns
Test for IMUL patterns.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/imul.asm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/imul.asm b/test/imul.asm index 5b0a8eac..b1ae45bd 100644 --- a/test/imul.asm +++ b/test/imul.asm @@ -1,4 +1,5 @@ -;Testname=test; Arguments=-fbin -oimul.bin; Files=stdout stderr imul.bin +;Testname=nowarn; Arguments=-fbin -oimul.bin; Files=stdout stderr imul.bin +;Testname=warn; Arguments=-DWARN -fbin -oimul.bin; Files=stdout stderr imul.bin %macro test 1-2 5 bits %1 @@ -56,7 +57,7 @@ imul eax,byte %2 %if %1 == 64 imul rax,%2 -; imul rax,byte %2 ; ERROR + imul rax,byte %2 ; ERROR %endif imul ax,cx,0x1234 |