summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commite423e865fe499c4eff6df005031a1799bb98e43c (patch)
tree636b6ae6aafce5648733bc04152cfc3388e96c1a /llvm/lib/Target
parent34866c7719f893c957d93f5918f760b6edebd6be (diff)
downloadbcm5719-llvm-e423e865fe499c4eff6df005031a1799bb98e43c.tar.gz
bcm5719-llvm-e423e865fe499c4eff6df005031a1799bb98e43c.zip
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. llvm-svn: 162963
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86InstrSSE.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrSSE.td b/llvm/lib/Target/X86/X86InstrSSE.td
index b46da95bbee..adbcb653b95 100644
--- a/llvm/lib/Target/X86/X86InstrSSE.td
+++ b/llvm/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>,
OpenPOWER on IntegriCloud