From a1c13cabff6e80e6f3d025294b355a26300894e5 Mon Sep 17 00:00:00 2001 From: Andrew Chambers Date: Sun, 10 Oct 2021 02:21:07 +1300 Subject: Encode more imul variants. --- test/test.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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" -- cgit v1.2.3