aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2017-09-27 15:54:35 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2017-09-27 15:55:57 -0700
commit81fd01f9d02a53e0254e585e7a8240164b7628e9 (patch)
tree8e0c4895daff0de58550783d0d1c9cd8844e45ef /test
parent59d5291a3a3390d729456b9ec40dcaf42eb05ea7 (diff)
downloadnasm-81fd01f9d02a53e0254e585e7a8240164b7628e9.tar.gz
nasm-81fd01f9d02a53e0254e585e7a8240164b7628e9.tar.xz
nasm-81fd01f9d02a53e0254e585e7a8240164b7628e9.zip
BR 3392362: generate RMI versions of PEXTRW when possible
We could generate the MRI version (SSE 4.1) instead of the RMI (SSE 2) version of these instructions if a 64-bit register was given as the destination. Reported-by: Vasiliy Olekhov <olekhov@gmail.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/pextrw.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pextrw.asm b/test/pextrw.asm
new file mode 100644
index 00000000..41c50b7a
--- /dev/null
+++ b/test/pextrw.asm
@@ -0,0 +1,3 @@
+ bits 64
+
+ pextrw rax,xmm0,0