summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2012-07-10-extload64.ll
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-04-15 15:47:51 +0000
committerSanjay Patel <spatel@rotateright.com>2015-04-15 15:47:51 +0000
commitc03d93baa01d57343058d25e9c9f7bfc4e7601e4 (patch)
tree3ac00a06a7e63b58ffaefde4899d6e0951ed52c2 /llvm/test/CodeGen/X86/2012-07-10-extload64.ll
parentfa990f0338612ecc579eea473b33212253f89843 (diff)
downloadbcm5719-llvm-c03d93baa01d57343058d25e9c9f7bfc4e7601e4.tar.gz
bcm5719-llvm-c03d93baa01d57343058d25e9c9f7bfc4e7601e4.zip
[X86] add an exedepfix entry for movq == movlps == movlpd
This is a 1-line patch (with a TODO for AVX because that will affect even more regression tests) that lets us substitute the appropriate 64-bit store for the float/double/int domains. It's not clear to me exactly what the difference is between the 0xD6 (MOVPQI2QImr) and 0x7E (MOVSDto64mr) opcodes, but this is apparently the right choice. Differential Revision: http://reviews.llvm.org/D8691 llvm-svn: 235014
Diffstat (limited to 'llvm/test/CodeGen/X86/2012-07-10-extload64.ll')
-rw-r--r--llvm/test/CodeGen/X86/2012-07-10-extload64.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/2012-07-10-extload64.ll b/llvm/test/CodeGen/X86/2012-07-10-extload64.ll
index f33fc8c69ef..a366102fbd7 100644
--- a/llvm/test/CodeGen/X86/2012-07-10-extload64.ll
+++ b/llvm/test/CodeGen/X86/2012-07-10-extload64.ll
@@ -6,7 +6,7 @@ entry:
; CHECK: pmovzxwd
%A27 = load <4 x i16>, <4 x i16>* %in, align 4
%A28 = add <4 x i16> %A27, %A27
-; CHECK: movlpd
+; CHECK: movq
store <4 x i16> %A28, <4 x i16>* %in, align 4
ret void
; CHECK: ret
@@ -18,7 +18,7 @@ define void @store_64(<2 x i32>* %ptr) {
BB:
store <2 x i32> zeroinitializer, <2 x i32>* %ptr
ret void
-;CHECK: movlpd
+;CHECK: movlps
;CHECK: ret
}
OpenPOWER on IntegriCloud