Add 16-bit imul test for strictness
authorH. Peter Anvin <hpa@zytor.com>
Wed, 22 May 2002 20:48:01 +0000 (20:48 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 22 May 2002 20:48:01 +0000 (20:48 +0000)
test/expimp.asm

index 117b854..2db0338 100644 (file)
        add eax,strict dword 2          ; Explicit Strict
        add eax,strict dword 123456h    ; Explicit Strict
        add eax,strict byte 123456h     ; Explicit Strict Truncation
+
+       imul dx,3                       ; Implicit
+       imul dx,byte 3                  ; Explicit
+       imul dx,word 3                  ; Explicit
+       imul dx,strict byte 3           ; Explicit Strict
+       imul dx,strict word 3           ; Explicit Strict
+               
 ;
 ; Same thing with branches
 ;