summaryrefslogtreecommitdiffstats
path: root/llvm/test
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/test
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/test')
-rw-r--r--llvm/test/MC/X86/x86-64.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/x86-64.s b/llvm/test/MC/X86/x86-64.s
index 6a2d5bba6b7..03cb62e7cba 100644
--- a/llvm/test/MC/X86/x86-64.s
+++ b/llvm/test/MC/X86/x86-64.s
@@ -1164,6 +1164,10 @@ xsetbv // CHECK: xsetbv # encoding: [0x0f,0x01,0xd1]
// CHECK: encoding: [0x66,0x48,0x0f,0x6e,0xc7]
movd %rdi,%xmm0
+// CHECK: movd %xmm0, %rax
+// CHECK: encoding: [0x66,0x48,0x0f,0x7e,0xc0]
+ movd %xmm0, %rax
+
// CHECK: movntil %eax, (%rdi)
// CHECK: encoding: [0x0f,0xc3,0x07]
// CHECK: movntil
OpenPOWER on IntegriCloud