summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2012-03-06 11:18:02 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2012-03-06 11:18:02 +0400
commiteaebcb4258e3decf42d6d35f36991543e503ffd0 (patch)
tree0d11d6d30b7088d1d7746e4fa78e61778d9c83d2 /test
parent3acd53c72fefb6a772420590c893711a7ffa5283 (diff)
downloadnasm-eaebcb4258e3decf42d6d35f36991543e503ffd0.tar.gz
nasm-eaebcb4258e3decf42d6d35f36991543e503ffd0.tar.bz2
nasm-eaebcb4258e3decf42d6d35f36991543e503ffd0.zip
test: Add br3385573 testcase
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
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