summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/horizontal-shuffle.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-09-18 04:40:58 +0000
committerCraig Topper <craig.topper@intel.com>2017-09-18 04:40:58 +0000
commita6054328e8b31217bec6e6d5dcbb28ca304d48d1 (patch)
tree5d1cb5f095fe831f3345ebbd1ce4fb5d72bd64c0 /llvm/test/CodeGen/X86/horizontal-shuffle.ll
parent87f7381edf47c104f3067827cd93df5d0009e103 (diff)
downloadbcm5719-llvm-a6054328e8b31217bec6e6d5dcbb28ca304d48d1.tar.gz
bcm5719-llvm-a6054328e8b31217bec6e6d5dcbb28ca304d48d1.zip
[X86] Teach the execution domain fixing tables to use movlhps inplace of unpcklpd for the packed single domain.
MOVLHPS has a smaller encoding than UNPCKLPD in the legacy encodings. With VEX and EVEX encodings it doesn't matter. llvm-svn: 313509
Diffstat (limited to 'llvm/test/CodeGen/X86/horizontal-shuffle.ll')
-rw-r--r--llvm/test/CodeGen/X86/horizontal-shuffle.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/horizontal-shuffle.ll b/llvm/test/CodeGen/X86/horizontal-shuffle.ll
index def614150cd..d731ab4ba20 100644
--- a/llvm/test/CodeGen/X86/horizontal-shuffle.ll
+++ b/llvm/test/CodeGen/X86/horizontal-shuffle.ll
@@ -11,14 +11,14 @@ define <4 x float> @test_unpackl_fhadd_128(<4 x float> %a0, <4 x float> %a1, <4
; X32: ## BB#0:
; X32-NEXT: vhaddps %xmm1, %xmm0, %xmm0
; X32-NEXT: vhaddps %xmm3, %xmm2, %xmm1
-; X32-NEXT: vunpcklpd {{.*#+}} xmm0 = xmm0[0],xmm1[0]
+; X32-NEXT: vmovlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
; X32-NEXT: retl
;
; X64-LABEL: test_unpackl_fhadd_128:
; X64: ## BB#0:
; X64-NEXT: vhaddps %xmm1, %xmm0, %xmm0
; X64-NEXT: vhaddps %xmm3, %xmm2, %xmm1
-; X64-NEXT: vunpcklpd {{.*#+}} xmm0 = xmm0[0],xmm1[0]
+; X64-NEXT: vmovlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
; X64-NEXT: retq
%1 = call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %a0, <4 x float> %a1)
%2 = call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %a2, <4 x float> %a3)
OpenPOWER on IntegriCloud