Mark all these as needing SSE2. Should fix PPC and
authorDale Johannesen <dalej@apple.com>
Fri, 1 Oct 2010 04:17:55 +0000 (04:17 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 1 Oct 2010 04:17:55 +0000 (04:17 +0000)
maybe even Linux.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115291 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2009-06-05-ScalarToVectorByteMMX.ll
test/CodeGen/X86/fast-isel-bc.ll
test/CodeGen/X86/mmx-insert-element.ll
test/CodeGen/X86/mmx-punpckhdq.ll
test/CodeGen/X86/mmx-vzmovl-2.ll
test/CodeGen/X86/mmx-vzmovl.ll
test/CodeGen/X86/vec_insert-7.ll

index 336f17e2a3253ecae6a77e6c0daf9d64fcd171ca..01852a6eca1fd0d93d4ee2c08ed32f9c628a46c8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx | not grep movl
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | not grep movl
 
 define <8 x i8> @a(i8 zeroext %x) nounwind {
   %r = insertelement <8 x i8> undef, i8 %x, i32 0
index db846889d8f6e2b860b0e621d869b0c79e1932bd..4abc3b5b3c8581689a108b5a5d3b2b704a54e09a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O0 -regalloc=linearscan -march=x86-64 -mattr=+mmx | FileCheck %s
+; RUN: llc < %s -O0 -regalloc=linearscan -march=x86-64 -mattr=+mmx,+sse2 | FileCheck %s
 ; PR4684
 
 target datalayout =
index 9f9bd8de2d6f4c8a825afb977d8368e3346c94e6..348dac8d4d5921cb1faa9755ab3620bd73234f0b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse | grep movq
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse | grep pshufd
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | grep movq
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | grep pshufd
 ; This is not an MMX operation; promoted to XMM.
 
 define x86_mmx @qux(i32 %A) nounwind {
index 4d2aba5bde84518b87e5529cbf99c9ad986c23ec..2bd56433f7fdcb13d97b6fe10e41fdf7419ae8a5 100644 (file)
@@ -1,5 +1,5 @@
-; RRUN: llc < %s -march=x86 -mattr=+mmx | grep pextrd
-; RRUN: llc < %s -march=x86 -mattr=+mmx | grep punpckhdq | count 1
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | grep pextrd
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | grep punpckhdq | count 1
 ; There are no MMX operations in bork; promoted to XMM.
 
 define void @bork(<1 x i64>* %x) {
index 4ad420b37cc0274f518714ad609ff7830b68f5b7..a7ce7d93920e959ef22c3511cd1eae9393efca6c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 -mattr=+mmx | grep pxor
-; RUN: llc < %s -march=x86-64 -mattr=+mmx | grep punpckldq
+; RUN: llc < %s -march=x86-64 -mattr=+mmx,+sse2 | grep pxor
+; RUN: llc < %s -march=x86-64 -mattr=+mmx,+sse2 | grep punpckldq
 
        %struct.vS1024 = type { [8 x <4 x i32>] }
        %struct.vS512 = type { [4 x <4 x i32>] }
index e8b34263c671d5c249c46391fe90bb486dd4a360..191e261f616feb816ce466b162e6c252b0357ecb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+mmx | grep movq | count 2
+; RUN: llc < %s -march=x86-64 -mattr=+mmx,+sse2 | grep movq | count 2
 ; There are no MMX operations here; this is promoted to XMM.
 
 define void @foo(<1 x i64>* %a, <1 x i64>* %b) nounwind {
index 4018bedfd9430f5a0457cdee60262fa9051582a6..7cf7cfcef2cc7f85c7f4ca6e5c75f1227ef8c7dd 100644 (file)
@@ -1,4 +1,4 @@
-; RRUN: llc < %s -march=x86 -mattr=+mmx,+sse -mtriple=i686-apple-darwin9 -o - | grep pinsrd | count 2
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 -mtriple=i686-apple-darwin9 -o - | grep pinsrd | count 2
 ; MMX insertelement is not available; these are promoted to XMM.
 ; (Without SSE they are split to two ints, and the code is much better.)