File tree Expand file tree Collapse file tree 2 files changed +3
-55
lines changed
llvm/include/llvm/TargetParser Expand file tree Collapse file tree 2 files changed +3
-55
lines changed Original file line number Diff line number Diff line change 1515// changes in this file, first modify the primary copy and copy it over to
1616// compiler-rt. compiler-rt tests will fail if the two files are not synced up.
1717//
18- // Additionally this file enumerates the feature priorities in ascending order,
19- // as defined in the ACLE specification.
20- //
2118// ===----------------------------------------------------------------------===//
2219
23- #ifndef AARCH64_CPU_FEATURES_INC_H
24- #define AARCH64_CPU_FEATURES_INC_H
20+ #ifndef AARCH64_CPU_FEATURS_INC_H
21+ #define AARCH64_CPU_FEATURS_INC_H
2522
2623// Function Multi Versioning CPU features.
2724enum CPUFeatures {
@@ -91,54 +88,4 @@ enum CPUFeatures {
9188 FEAT_INIT // Used as flag of features initialization completion
9289};
9390
94- // Function Multi Versioning feature priorities in ascending order.
95- enum FeatPriorities {
96- PRIOR_RNG,
97- PRIOR_FLAGM,
98- PRIOR_FLAGM2,
99- PRIOR_LSE,
100- PRIOR_FP,
101- PRIOR_SIMD,
102- PRIOR_DOTPROD,
103- PRIOR_SM4,
104- PRIOR_RDM,
105- PRIOR_CRC,
106- PRIOR_SHA2,
107- PRIOR_SHA3,
108- PRIOR_PMULL,
109- PRIOR_FP16,
110- PRIOR_FP16FML,
111- PRIOR_DIT,
112- PRIOR_DPB,
113- PRIOR_DPB2,
114- PRIOR_JSCVT,
115- PRIOR_FCMA,
116- PRIOR_RCPC,
117- PRIOR_RCPC2,
118- PRIOR_RCPC3,
119- PRIOR_FRINTTS,
120- PRIOR_I8MM,
121- PRIOR_BF16,
122- PRIOR_SVE,
123- PRIOR_SVE_F32MM,
124- PRIOR_SVE_F64MM,
125- PRIOR_SVE2,
126- PRIOR_SVE_PMULL128,
127- PRIOR_SVE_BITPERM,
128- PRIOR_SVE_SHA3,
129- PRIOR_SVE_SM4,
130- PRIOR_SME,
131- PRIOR_MEMTAG2,
132- PRIOR_SB,
133- PRIOR_PREDRES,
134- PRIOR_SSBS2,
135- PRIOR_BTI,
136- PRIOR_LS64_ACCDATA,
137- PRIOR_WFXT,
138- PRIOR_SME_F64,
139- PRIOR_SME_I64,
140- PRIOR_SME2,
141- PRIOR_MOPS
142- };
143-
14491#endif
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ struct ArchInfo;
3636struct CpuInfo ;
3737
3838#include " llvm/TargetParser/AArch64CPUFeatures.inc"
39+ #include " llvm/TargetParser/AArch64FeatPriorities.inc"
3940
4041static_assert (FEAT_MAX < 62 ,
4142 " Number of features in CPUFeatures are limited to 62 entries" );
You can’t perform that action at this time.
0 commit comments