git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131730
91177308-0d34-0410-b5e6-
96231b3b80d8
case 37: // Intel Core i7, laptop version.
return "corei7";
case 42: // SandyBridge
case 37: // Intel Core i7, laptop version.
return "corei7";
case 42: // SandyBridge
case 28: // Intel Atom processor. All processors are manufactured using
// the 45 nm process
case 28: // Intel Atom processor. All processors are manufactured using
// the 45 nm process
// SSE is not listed here since llvm treats AVX as a reimplementation of SSE,
// rather than a superset.
// FIXME: Disabling AVX for now since it's not ready.
// SSE is not listed here since llvm treats AVX as a reimplementation of SSE,
// rather than a superset.
// FIXME: Disabling AVX for now since it's not ready.
-def : Proc<"sandybridge", [FeatureSSE42, Feature64Bit,
+def : Proc<"corei7-avx", [FeatureSSE42, Feature64Bit,
FeatureAES, FeatureCLMUL]>;
def : Proc<"k6", [FeatureMMX]>;
FeatureAES, FeatureCLMUL]>;
def : Proc<"k6", [FeatureMMX]>;
-; RUN: llc < %s -march=x86 -mcpu=sandybridge | FileCheck %s
+; RUN: llc < %s -march=x86 -mcpu=corei7-avx | FileCheck %s
; Test that we are not lowering uinttofp to scalars
define <4 x float> @test1(<4 x i32> %A) nounwind {
; Test that we are not lowering uinttofp to scalars
define <4 x float> @test1(<4 x i32> %A) nounwind {