llvm.org GIT mirror llvm / d8feb1f
Explicitly disable AVX on a bunch of tests so they won't fail on AVX machines post r192171. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192173 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 6 years ago
6 changed file(s) with 12 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc < %s -march=x86-64 | grep movd | count 2
1 ; RUN: llc < %s -march=x86-64 | not grep rsp
0 ; RUN: llc < %s -march=x86-64 -mattr=-avx | grep movd | count 2
1 ; RUN: llc < %s -march=x86-64 -mattr=-avx | not grep rsp
22
33 define i64 @test1(double %A) {
44 %B = bitcast double %A to i64
None ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
1 ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
0 ; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s
1 ; RUN: llc < %s -mtriple=x86_64-win32 -mattr=-avx | FileCheck %s
22 ; CHECK-NOT: movsd
33 ; CHECK: movd {{%rdi|%rcx}}, %xmm0
44 ; CHECK-NOT: movsd
None ; RUN: llc < %s -march=x86-64 | FileCheck %s
0 ; RUN: llc < %s -march=x86-64 -mattr=-avx | FileCheck %s
11
22 ; CHECK: test3
33 ; CHECK: movd
None ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2 | grep movq
1 ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2 | grep mov | count 1
2 ; RUN: llc < %s -march=x86-64 -mtriple=x86_64-pc-linux -mattr=+sse2 | grep movd
0 ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2,-avx | grep movq
1 ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2,-avx | grep mov | count 1
2 ; RUN: llc < %s -march=x86-64 -mtriple=x86_64-pc-linux -mattr=+sse2-avx | grep movd
33
44 define <2 x i64> @t1(i64 %x) nounwind {
55 %tmp8 = insertelement <2 x i64> zeroinitializer, i64 %x, i32 0
None ; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s -check-prefix=X86-32
1 ; RUN: llc < %s -march=x86-64 -mattr=+sse2 | FileCheck %s -check-prefix=X86-64
0 ; RUN: llc < %s -march=x86 -mattr=+sse2,-avx | FileCheck %s -check-prefix=X86-32
1 ; RUN: llc < %s -march=x86-64 -mattr=+sse2,-avx | FileCheck %s -check-prefix=X86-64
22
33 define <4 x i32> @t1(i32 %a) nounwind {
44 entry:
None ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
1 ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
0 ; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s
1 ; RUN: llc < %s -mtriple=x86_64-win32 -mattr=-avx | FileCheck %s
22 ; CHECK-NOT: xor
33 ; CHECK: movd {{%rdi|%rcx}}, %xmm0
44 ; CHECK-NOT: xor