summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2011-02-14 22:21:50 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2011-02-14 22:21:50 +0300
commit8a0eb96c1114ea78d867297711602f93a1b8ff17 (patch)
tree15e4f86249c232cf51327747acc04887af62fa4e /test
parent4297aaf117aba93b3b46be79c8af52eb6c85d7d3 (diff)
parent2059aa980654b3d5fc25a7f4a08fc58fa4167dc5 (diff)
downloadnasm-8a0eb96c1114ea78d867297711602f93a1b8ff17.tar.gz
nasm-8a0eb96c1114ea78d867297711602f93a1b8ff17.tar.bz2
nasm-8a0eb96c1114ea78d867297711602f93a1b8ff17.zip
Merge branch 'nasm-2.09.xx'
Conflicts: insns.dat Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/br3174983.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/br3174983.asm b/test/br3174983.asm
new file mode 100644
index 0000000..5b34995
--- /dev/null
+++ b/test/br3174983.asm
@@ -0,0 +1,9 @@
+;Testname=unoptimized; Arguments=-O0 -fbin -obr3174983.bin; Files=stdout stderr br3174983.bin
+;Testname=optimized; Arguments=-Ox -fbin -obr3174983.bin; Files=stdout stderr br3174983.bin
+
+ bits 32
+ vpextrw ecx,xmm0,8 ; c5 f9 c5 c8 08
+ vpextrw ecx,xmm2,3 ; c5 f9 c5 ca 03
+
+ bits 64
+ vpextrw rcx,xmm0,8 ; c5 f9 c5 c8 08