diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2017-09-27 15:54:35 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2017-09-27 15:55:57 -0700 |
commit | 81fd01f9d02a53e0254e585e7a8240164b7628e9 (patch) | |
tree | 8e0c4895daff0de58550783d0d1c9cd8844e45ef /test | |
parent | 59d5291a3a3390d729456b9ec40dcaf42eb05ea7 (diff) | |
download | nasm-81fd01f9d02a53e0254e585e7a8240164b7628e9.tar.gz |
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.asm | 3 |
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 |