[llvm] 56fc6b9 - Fixup BDVER1 and ZNVER1 definitions that were accidentally changed in recent refactor.
Douglas Yung via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 18:16:21 PDT 2020
Author: Douglas Yung
Date: 2020-06-30T18:15:33-07:00
New Revision: 56fc6b987ab8a235cea9ae13fb8d6430aec8c30d
URL: https://github.com/llvm/llvm-project/commit/56fc6b987ab8a235cea9ae13fb8d6430aec8c30d
DIFF: https://github.com/llvm/llvm-project/commit/56fc6b987ab8a235cea9ae13fb8d6430aec8c30d.diff
LOG: Fixup BDVER1 and ZNVER1 definitions that were accidentally changed in recent refactor.
- BDVER1
- Duplicate FeatureLZCNT removed
- ZNVER1
- Duplicate FeatureLZCNT removed
- Removed unsupported FeatureLWP
- Swapped FeatureMMX and FeatureMOVBE to be in alphabetical order
Added:
Modified:
llvm/lib/Support/X86TargetParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/X86TargetParser.cpp b/llvm/lib/Support/X86TargetParser.cpp
index 2d70ec49c94b..8df165ed4e54 100644
--- a/llvm/lib/Support/X86TargetParser.cpp
+++ b/llvm/lib/Support/X86TargetParser.cpp
@@ -207,11 +207,10 @@ static constexpr FeatureBitset FeaturesBTVER2 =
// AMD Bulldozer architecture processors.
static constexpr FeatureBitset FeaturesBDVER1 =
FeatureX87 | FeatureAES | FeatureAVX | FeatureCMPXCHG8B |
- FeatureCMPXCHG16B | FeatureEM64T | FeatureFMA4 | FeatureFXSR |
- FeatureLZCNT | FeatureLWP | FeatureLZCNT | FeatureMMX | FeaturePCLMUL |
- FeaturePOPCNT | FeaturePRFCHW | FeatureSAHF | FeatureSSE | FeatureSSE2 |
- FeatureSSE3 | FeatureSSSE3 | FeatureSSE4_1 | FeatureSSE4_2 | FeatureSSE4A |
- FeatureXOP | FeatureXSAVE;
+ FeatureCMPXCHG16B | FeatureEM64T | FeatureFMA4 | FeatureFXSR | FeatureLWP |
+ FeatureLZCNT | FeatureMMX | FeaturePCLMUL | FeaturePOPCNT | FeaturePRFCHW |
+ FeatureSAHF | FeatureSSE | FeatureSSE2 | FeatureSSE3 | FeatureSSSE3 |
+ FeatureSSE4_1 | FeatureSSE4_2 | FeatureSSE4A | FeatureXOP | FeatureXSAVE;
static constexpr FeatureBitset FeaturesBDVER2 =
FeaturesBDVER1 | FeatureBMI | FeatureFMA | FeatureF16C | FeatureTBM;
static constexpr FeatureBitset FeaturesBDVER3 =
@@ -225,12 +224,12 @@ static constexpr FeatureBitset FeaturesZNVER1 =
FeatureX87 | FeatureADX | FeatureAES | FeatureAVX | FeatureAVX2 |
FeatureBMI | FeatureBMI2 | FeatureCLFLUSHOPT | FeatureCLZERO |
FeatureCMPXCHG8B | FeatureCMPXCHG16B | FeatureEM64T | FeatureF16C |
- FeatureFMA | FeatureFSGSBASE | FeatureFXSR | FeatureLZCNT | FeatureLWP |
- FeatureLZCNT | FeatureMOVBE | FeatureMMX | FeatureMWAITX | FeaturePCLMUL |
- FeaturePOPCNT | FeaturePRFCHW | FeatureRDRND | FeatureRDSEED | FeatureSAHF |
- FeatureSHA | FeatureSSE | FeatureSSE2 | FeatureSSE3 | FeatureSSSE3 |
- FeatureSSE4_1 | FeatureSSE4_2 | FeatureSSE4A | FeatureXSAVE |
- FeatureXSAVEC | FeatureXSAVEOPT | FeatureXSAVES;
+ FeatureFMA | FeatureFSGSBASE | FeatureFXSR | FeatureLZCNT | FeatureMMX |
+ FeatureMOVBE | FeatureMWAITX | FeaturePCLMUL | FeaturePOPCNT |
+ FeaturePRFCHW | FeatureRDRND | FeatureRDSEED | FeatureSAHF | FeatureSHA |
+ FeatureSSE | FeatureSSE2 | FeatureSSE3 | FeatureSSSE3 | FeatureSSE4_1 |
+ FeatureSSE4_2 | FeatureSSE4A | FeatureXSAVE | FeatureXSAVEC |
+ FeatureXSAVEOPT | FeatureXSAVES;
static constexpr FeatureBitset FeaturesZNVER2 =
FeaturesZNVER1 | FeatureCLWB | FeatureRDPID | FeatureWBNOINVD;
More information about the llvm-commits
mailing list