Skip to content

Commit b21e290

Browse files
committed
Remove PREFETCHI from PTL
1 parent 32fffe5 commit b21e290

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

clang/test/Preprocessor/predefined-arch-macros.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2568,7 +2568,7 @@
25682568
// CHECK_ARL_M32: #define __POPCNT__ 1
25692569
// CHECK_ARL_M32-NOT: #define __PREFETCHI__ 1
25702570
// CHECK_ARLS_M32-NOT: #define __PREFETCHI__ 1
2571-
// CHECK_PTL_M32: #define __PREFETCHI__ 1
2571+
// CHECK_CWF_M32: #define __PREFETCHI__ 1
25722572
// CHECK_ARL_M32: #define __PRFCHW__ 1
25732573
// CHECK_ARL_M32: #define __PTWRITE__ 1
25742574
// CHECK_ARL_M32-NOT: #define __RAOINT__ 1
@@ -2673,7 +2673,7 @@
26732673
// CHECK_ARL_M64: #define __POPCNT__ 1
26742674
// CHECK_ARL_M64-NOT: #define __PREFETCHI__ 1
26752675
// CHECK_ARLS_M64-NOT: #define __PREFETCHI__ 1
2676-
// CHECK_PTL_M64: #define __PREFETCHI__ 1
2676+
// CHECK_CWF_M64: #define __PREFETCHI__ 1
26772677
// CHECK_ARL_M64: #define __PRFCHW__ 1
26782678
// CHECK_ARL_M64: #define __PTWRITE__ 1
26792679
// CHECK_ARL_M64-NOT: #define __RAOINT__ 1

llvm/lib/Target/X86/X86.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,9 +1335,8 @@ def ProcessorFeatures {
13351335
!listconcat(ARLFeatures, ARLSAdditionalFeatures);
13361336

13371337
// Pantherlake
1338-
list<SubtargetFeature> PTLAdditionalFeatures = [FeaturePREFETCHI];
13391338
list<SubtargetFeature> PTLFeatures =
1340-
!listremove(!listconcat(ARLSFeatures, PTLAdditionalFeatures), [FeatureWIDEKL]);
1339+
!listremove(ARLSFeatures, [FeatureWIDEKL]);
13411340

13421341

13431342
// Clearwaterforest

llvm/lib/TargetParser/X86TargetParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ constexpr FeatureBitset FeaturesArrowlakeS =
175175
FeaturesArrowlake | FeatureAVXVNNIINT16 | FeatureSHA512 | FeatureSM3 |
176176
FeatureSM4;
177177
constexpr FeatureBitset FeaturesPantherlake =
178-
(FeaturesArrowlakeS ^ FeatureWIDEKL) | FeaturePREFETCHI;
178+
(FeaturesArrowlakeS ^ FeatureWIDEKL);
179179
constexpr FeatureBitset FeaturesClearwaterforest =
180180
(FeaturesSierraforest ^ FeatureWIDEKL) | FeatureAVXVNNIINT16 |
181181
FeatureSHA512 | FeatureSM3 | FeatureSM4 | FeaturePREFETCHI | FeatureUSERMSR;

0 commit comments

Comments
 (0)