aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-10 02:21:07 +1300
committerAndrew Chambers <[email protected]>2021-10-10 02:21:07 +1300
commita1c13cabff6e80e6f3d025294b355a26300894e5 (patch)
tree6e4f67e8adaa1e70b22c6fc561737d97d1996648 /test
parent9e47a6b71ac6e3b4e3b9802f3a3d4b78d79c1b47 (diff)
Encode more imul variants.
Diffstat (limited to 'test')
-rw-r--r--test/test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh
index 71e13b5..7251e76 100644
--- a/test/test.sh
+++ b/test/test.sh
@@ -39,10 +39,16 @@ t "idivq (%rip)"
t "mul %rax"
t "mulq (%rax)"
t "mulq (%rip)"
+
t "imul %rax"
t "imulq (%rax)"
t "imulq (%rip)"
+t "imul %rax, %rax"
+t "imulq (%rax), %rax"
+t "imul %eax, %eax"
+t "imull (%rax), %eax"
+t "imul %eax, %eax"
t "pushq (%r9)"
t "pushq %r9"