summaryrefslogtreecommitdiff
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
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>
-rw-r--r--insns.dat5
-rw-r--r--test/br3174983.asm9
2 files changed, 12 insertions, 2 deletions
diff --git a/insns.dat b/insns.dat
index 51f3359..956c9cf 100644
--- a/insns.dat
+++ b/insns.dat
@@ -2493,8 +2493,9 @@ VPERM2F128 ymmreg,ymmreg,ymmrm256,imm8 [rvmi: vex.nds.256.66.0f3a.w0 06 /r ib]
VPEXTRB reg64,xmmreg,imm8 [mri: vex.128.66.0f3a.w0 14 /r ib] AVX,SANDYBRIDGE,LONG
VPEXTRB reg32,xmmreg,imm8 [mri: vex.128.66.0f3a.w0 14 /r ib] AVX,SANDYBRIDGE
VPEXTRB mem8,xmmreg,imm8 [mri: vex.128.66.0f3a.w0 14 /r ib] AVX,SANDYBRIDGE
-VPEXTRW reg64,xmmreg,imm8 [mri: vex.128.66.0f.w0 c5 /r ib] AVX,SANDYBRIDGE,LONG
-VPEXTRW reg32,xmmreg,imm8 [mri: vex.128.66.0f.w0 c5 /r ib] AVX,SANDYBRIDGE
+VPEXTRW reg64,xmmreg,imm8 [rmi: vex.128.66.0f.w0 c5 /r ib] AVX,SANDYBRIDGE,LONG
+VPEXTRW reg32,xmmreg,imm8 [rmi: vex.128.66.0f.w0 c5 /r ib] AVX,SANDYBRIDGE
+VPEXTRW mem16,xmmreg,imm8 [mri: vex.128.66.0f.w0 c5 /r ib] AVX,SANDYBRIDGE
VPEXTRW reg64,xmmreg,imm8 [mri: vex.128.66.0f3a.w0 15 /r ib] AVX,SANDYBRIDGE,LONG
VPEXTRW reg32,xmmreg,imm8 [mri: vex.128.66.0f3a.w0 15 /r ib] AVX,SANDYBRIDGE
VPEXTRW mem16,xmmreg,imm8 [mri: vex.128.66.0f3a.w0 15 /r ib] AVX,SANDYBRIDGE
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