summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/br3385573.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/br3385573.asm b/test/br3385573.asm
new file mode 100644
index 0000000..a6e3aba
--- /dev/null
+++ b/test/br3385573.asm
@@ -0,0 +1,11 @@
+;Testname=unoptimized; Arguments=-O0 -fbin -obr3385573.bin; Files=stdout stderr br3385573.bin
+;Testname=optimized; Arguments=-Ox -fbin -obr3385573.bin; Files=stdout stderr br3385573.bin
+[bits 64]
+
+ vpmovsxbw ymm1, xmm2
+ vpsllw ymm1, ymm2, 3
+ vpslld ymm1, ymm2, 3
+ vpsllq ymm1, ymm2, 3
+ vpsrld ymm1, ymm2, 3
+ vpsrad ymm1, ymm2, 3
+ vpermq ymm1, [rsi], 9