Test for various IMUL patterns

Test for IMUL patterns.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2008-10-07 11:28:29 -07:00
parent 65feb5ae33
commit e831d67cec

View file

@ -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