mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Add definitions for AMD's bobcat (aka btver1)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147846 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a937633893
commit
66a7fd78ee
@ -298,6 +298,8 @@ std::string sys::getHostCPUName() {
|
||||
}
|
||||
case 16:
|
||||
return "amdfam10";
|
||||
case 20:
|
||||
return "btver1";
|
||||
case 21:
|
||||
return "bdver1";
|
||||
default:
|
||||
|
@ -204,10 +204,15 @@ def : Proc<"athlon64-sse3", [FeatureSSE3, Feature3DNowA, FeatureCMPXCHG16B,
|
||||
def : Proc<"amdfam10", [FeatureSSE3, FeatureSSE4A,
|
||||
Feature3DNowA, FeatureCMPXCHG16B, FeatureLZCNT,
|
||||
FeaturePOPCNT, FeatureSlowBTMem]>;
|
||||
// Bobcat
|
||||
def : Proc<"btver1", [FeatureSSSE3, FeatureSSE4A, FeatureCMPXCHG16B,
|
||||
FeatureLZCNT, FeaturePOPCNT]>;
|
||||
// FIXME: Disabling AVX/FMA4 for now since it's not ready.
|
||||
// Bulldozer
|
||||
def : Proc<"bdver1", [FeatureSSE42, FeatureSSE4A, FeatureCMPXCHG16B,
|
||||
FeatureAES, FeatureCLMUL,
|
||||
FeatureXOP, FeatureLZCNT, FeaturePOPCNT]>;
|
||||
// Enhanced Bulldozer
|
||||
def : Proc<"bdver2", [FeatureSSE42, FeatureSSE4A, FeatureCMPXCHG16B,
|
||||
FeatureAES, FeatureCLMUL,
|
||||
FeatureXOP, FeatureF16C, FeatureLZCNT,
|
||||
|
Loading…
Reference in New Issue
Block a user