mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
Rename the "sandybridge" subtarget to "corei7-avx", for GCC compatibility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131730 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -215,7 +215,7 @@ std::string sys::getHostCPUName() {
|
|||||||
case 37: // Intel Core i7, laptop version.
|
case 37: // Intel Core i7, laptop version.
|
||||||
return "corei7";
|
return "corei7";
|
||||||
case 42: // SandyBridge
|
case 42: // SandyBridge
|
||||||
return "sandybridge";
|
return "corei7-avx";
|
||||||
|
|
||||||
case 28: // Intel Atom processor. All processors are manufactured using
|
case 28: // Intel Atom processor. All processors are manufactured using
|
||||||
// the 45 nm process
|
// the 45 nm process
|
||||||
|
@ -124,7 +124,7 @@ def : Proc<"westmere", [FeatureSSE42, Feature64Bit, FeatureSlowBTMem,
|
|||||||
// SSE is not listed here since llvm treats AVX as a reimplementation of SSE,
|
// SSE is not listed here since llvm treats AVX as a reimplementation of SSE,
|
||||||
// rather than a superset.
|
// rather than a superset.
|
||||||
// FIXME: Disabling AVX for now since it's not ready.
|
// FIXME: Disabling AVX for now since it's not ready.
|
||||||
def : Proc<"sandybridge", [FeatureSSE42, Feature64Bit,
|
def : Proc<"corei7-avx", [FeatureSSE42, Feature64Bit,
|
||||||
FeatureAES, FeatureCLMUL]>;
|
FeatureAES, FeatureCLMUL]>;
|
||||||
|
|
||||||
def : Proc<"k6", [FeatureMMX]>;
|
def : Proc<"k6", [FeatureMMX]>;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; 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
|
; Test that we are not lowering uinttofp to scalars
|
||||||
define <4 x float> @test1(<4 x i32> %A) nounwind {
|
define <4 x float> @test1(<4 x i32> %A) nounwind {
|
||||||
|
Reference in New Issue
Block a user