summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/mmx-punpckhdq.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-10-01 21:39:35 +0000
committerBill Wendling <isanbard@gmail.com>2010-10-01 21:39:35 +0000
commit43c78cda1065c649f6b1642cc8a8bb46b609af1a (patch)
tree6aad1a17d950198a2266c0833528190670e5550b /test/CodeGen/X86/mmx-punpckhdq.ll
parente6ca6771e330a0590d529d94f72201c05d0cf6f8 (diff)
downloadllvm-43c78cda1065c649f6b1642cc8a8bb46b609af1a.tar.gz
llvm-43c78cda1065c649f6b1642cc8a8bb46b609af1a.tar.bz2
llvm-43c78cda1065c649f6b1642cc8a8bb46b609af1a.tar.xz
Need to specify SSE4 for machines which don't have SSE4. The code checked for is generated by SSE4. Otherwise, we get something else.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/mmx-punpckhdq.ll')
-rw-r--r--test/CodeGen/X86/mmx-punpckhdq.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/mmx-punpckhdq.ll b/test/CodeGen/X86/mmx-punpckhdq.ll
index ccb98fce27..689f7bf595 100644
--- a/test/CodeGen/X86/mmx-punpckhdq.ll
+++ b/test/CodeGen/X86/mmx-punpckhdq.ll
@@ -1,9 +1,9 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 -mtriple=x86_64-apple-darwin10 | FileCheck %s
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse42 -mtriple=x86_64-apple-darwin10 | FileCheck %s
; There are no MMX operations in bork; promoted to XMM.
define void @bork(<1 x i64>* %x) {
; CHECK: bork
-; FIXMEHECK: pextrd
+; CHECK: pextrd
entry:
%tmp2 = load <1 x i64>* %x ; <<1 x i64>> [#uses=1]
%tmp6 = bitcast <1 x i64> %tmp2 to <2 x i32> ; <<2 x i32>> [#uses=1]
@@ -18,7 +18,7 @@ entry:
define void @pork(x86_mmx* %x) {
; CHECK: pork
-; FIXMEHECK: punpckhdq
+; CHECK: punpckhdq
entry:
%tmp2 = load x86_mmx* %x ; <x86_mmx> [#uses=1]
%tmp9 = tail call x86_mmx @llvm.x86.mmx.punpckhdq (x86_mmx %tmp2, x86_mmx %tmp2)