forked from OSchip/llvm-project
Add a description for AMD's bdver4 (aka Excavator).
This is just bdver3 + AVX2 + BMI2. llvm-svn: 207847
This commit is contained in:
parent
10b1502733
commit
6004573ecf
|
@ -435,6 +435,8 @@ StringRef sys::getHostCPUName() {
|
|||
case 21:
|
||||
if (!HasAVX) // If the OS doesn't support AVX provide a sane fallback.
|
||||
return "btver1";
|
||||
if (Model >= 0x50)
|
||||
return "bdver4"; // 50h-6Fh: Excavator
|
||||
if (Model >= 0x30)
|
||||
return "bdver3"; // 30h-3Fh: Steamroller
|
||||
if (Model >= 0x10)
|
||||
|
|
|
@ -329,6 +329,13 @@ def : Proc<"bdver3", [FeatureXOP, FeatureFMA4, FeatureCMPXCHG16B,
|
|||
FeaturePOPCNT, FeatureBMI, FeatureTBM,
|
||||
FeatureFMA, FeatureFSGSBase]>;
|
||||
|
||||
// Excavator
|
||||
def : Proc<"bdver4", [FeatureAVX2, FeatureXOP, FeatureFMA4,
|
||||
FeatureCMPXCHG16B, FeatureAES, FeaturePRFCHW,
|
||||
FeaturePCLMUL, FeatureF16C, FeatureLZCNT,
|
||||
FeaturePOPCNT, FeatureBMI, FeatureBMI2,
|
||||
FeatureTBM, FeatureFMA, FeatureFSGSBase]>;
|
||||
|
||||
def : Proc<"geode", [Feature3DNowA]>;
|
||||
|
||||
def : Proc<"winchip-c6", [FeatureMMX]>;
|
||||
|
|
Loading…
Reference in New Issue