forked from OSchip/llvm-project
Force CPU type to unbreak unit tests on Haswell machines.
llvm-svn: 195971
This commit is contained in:
parent
84c7ca8851
commit
5b6234dc4a
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 > %t1
|
; RUN: llc < %s -march=x86 -mcpu=core2 > %t1
|
||||||
; RUN: grep movzwl %t1 | count 2
|
; RUN: grep movzwl %t1 | count 2
|
||||||
; RUN: grep movzbl %t1 | count 1
|
; RUN: grep movzbl %t1 | count 1
|
||||||
; RUN: grep movd %t1 | count 4
|
; RUN: grep movd %t1 | count 4
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mattr=+avx,+fma4 | FileCheck %s
|
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mcpu=corei7-avx -mattr=+fma4 | FileCheck %s
|
||||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -mattr=+avx,-fma | FileCheck %s
|
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -mattr=+avx,-fma | FileCheck %s
|
||||||
|
|
||||||
; VFMADD
|
; VFMADD
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=x86-64 -mattr=+avx,-fma4 -mtriple=x86_64-apple-darwin -enable-unsafe-fp-math < %s | FileCheck %s
|
; RUN: llc -march=x86-64 -mcpu=corei7-avx -enable-unsafe-fp-math < %s | FileCheck %s
|
||||||
|
|
||||||
; CHECK-LABEL: test1
|
; CHECK-LABEL: test1
|
||||||
define float @test1(float %a) {
|
define float @test1(float %a) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=x86 -mattr=+sse4.1 | FileCheck %s
|
; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s
|
||||||
|
|
||||||
define <2 x i64> @shl1(<4 x i32> %r, <4 x i32> %a) nounwind readnone ssp {
|
define <2 x i64> @shl1(<4 x i32> %r, <4 x i32> %a) nounwind readnone ssp {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
|
; RUN: llc < %s -march=x86 -mcpu=core2 | FileCheck %s
|
||||||
|
|
||||||
; test vector shifts converted to proper SSE2 vector shifts when the shift
|
; test vector shifts converted to proper SSE2 vector shifts when the shift
|
||||||
; amounts are the same when using a shuffle splat.
|
; amounts are the same when using a shuffle splat.
|
||||||
|
|
Loading…
Reference in New Issue