summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-08-31 00:30:30 +0000
committerJim Grosbach <grosbach@apple.com>2012-08-31 00:30:30 +0000
commit9765c6ecde9ca96c37fe3e27d360aadc387b6942 (patch)
treedeebb672a2f6756be84e25524e2e1a5eec361d21 /lib
parent359956dc1be35df4f8179eb14cea617c3ef10dd7 (diff)
downloadllvm-9765c6ecde9ca96c37fe3e27d360aadc387b6942.tar.gz
llvm-9765c6ecde9ca96c37fe3e27d360aadc387b6942.tar.bz2
llvm-9765c6ecde9ca96c37fe3e27d360aadc387b6942.tar.xz
X86: Fix encoding of 'movd %xmm0, %rax'
The assembly string for the VMOVPQIto64rr instruction incorrectly lacked the 'v' prefix, resulting in mis-assembly of the vanilla movd instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86InstrSSE.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td
index b46da95bbe..adbcb653b9 100644
--- a/lib/Target/X86/X86InstrSSE.td
+++ b/lib/Target/X86/X86InstrSSE.td
@@ -4538,7 +4538,7 @@ def MOVPDI2DImr : PDI<0x7E, MRMDestMem, (outs), (ins i32mem:$dst, VR128:$src),
// Move Packed Doubleword Int first element to Doubleword Int
//
def VMOVPQIto64rr : I<0x7E, MRMDestReg, (outs GR64:$dst), (ins VR128:$src),
- "mov{d|q}\t{$src, $dst|$dst, $src}",
+ "vmov{d|q}\t{$src, $dst|$dst, $src}",
[(set GR64:$dst, (vector_extract (v2i64 VR128:$src),
(iPTR 0)))],
IIC_SSE_MOVD_ToGP>,