Skip to content

Commit bd5722b

Browse files
FreddyLeaftru
authored andcommitted
[X86] Remove AVX512VP2INTERSECT from Sapphire Rapids.
For more details, please refer to the latest ISE document: https://www.intel.com/content/www/us/en/develop/download/intel-architecture-instruction-set-extensions-programming-reference.html Reviewed By: pengfei Differential Revision: https://reviews.llvm.org/D135509 (cherry picked from commit 566c277)
1 parent 73ea64f commit bd5722b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

llvm/lib/Support/X86TargetParser.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,10 @@ constexpr FeatureBitset FeaturesTigerlake =
203203
FeatureCLWB | FeatureMOVDIRI | FeatureSHSTK | FeatureKL | FeatureWIDEKL;
204204
constexpr FeatureBitset FeaturesSapphireRapids =
205205
FeaturesICLServer | FeatureAMX_BF16 | FeatureAMX_INT8 | FeatureAMX_TILE |
206-
FeatureAVX512BF16 | FeatureAVX512FP16 | FeatureAVX512VP2INTERSECT |
207-
FeatureAVXVNNI | FeatureCLDEMOTE | FeatureENQCMD | FeatureMOVDIR64B |
208-
FeatureMOVDIRI | FeaturePTWRITE | FeatureSERIALIZE | FeatureSHSTK |
209-
FeatureTSXLDTRK | FeatureUINTR | FeatureWAITPKG;
206+
FeatureAVX512BF16 | FeatureAVX512FP16 | FeatureAVXVNNI | FeatureCLDEMOTE |
207+
FeatureENQCMD | FeatureMOVDIR64B | FeatureMOVDIRI | FeaturePTWRITE |
208+
FeatureSERIALIZE | FeatureSHSTK | FeatureTSXLDTRK | FeatureUINTR |
209+
FeatureWAITPKG;
210210

211211
// Intel Atom processors.
212212
// Bonnell has feature parity with Core2 and adds MOVBE.
@@ -367,7 +367,7 @@ constexpr ProcInfo Processors[] = {
367367
// Tigerlake microarchitecture based processors.
368368
{ {"tigerlake"}, CK_Tigerlake, FEATURE_AVX512VP2INTERSECT, FeaturesTigerlake },
369369
// Sapphire Rapids microarchitecture based processors.
370-
{ {"sapphirerapids"}, CK_SapphireRapids, FEATURE_AVX512VP2INTERSECT, FeaturesSapphireRapids },
370+
{ {"sapphirerapids"}, CK_SapphireRapids, FEATURE_AVX512BF16, FeaturesSapphireRapids },
371371
// Alderlake microarchitecture based processors.
372372
{ {"alderlake"}, CK_Alderlake, FEATURE_AVX2, FeaturesAlderlake },
373373
// Knights Landing processor.

llvm/lib/Target/X86/X86.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,6 @@ def ProcessorFeatures {
909909
FeatureTSXLDTRK,
910910
FeatureENQCMD,
911911
FeatureSHSTK,
912-
FeatureVP2INTERSECT,
913912
FeatureMOVDIRI,
914913
FeatureMOVDIR64B,
915914
FeatureUINTR];

0 commit comments

Comments
 (0)