projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c1da7b
)
Add 16-bit imul test for strictness
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 22 May 2002 20:48:01 +0000
(20:48 +0000)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 22 May 2002 20:48:01 +0000
(20:48 +0000)
test/expimp.asm
patch
|
blob
|
history
diff --git
a/test/expimp.asm
b/test/expimp.asm
index
117b854
..
2db0338
100644
(file)
--- a/
test/expimp.asm
+++ b/
test/expimp.asm
@@
-28,6
+28,13
@@
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
;