mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
Add a description for AMD's bdver4 (aka Excavator).
This is just bdver3 + AVX2 + BMI2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207847 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c192d8a569
commit
3cddd1607c
@ -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
Block a user