1 | // Autogenerated by ARMTargetDefEmitter.cpp |
2 | |
3 | #ifndef ARM_PROCESSOR_FAMILY |
4 | #define ARM_PROCESSOR_FAMILY(ENUM) |
5 | #endif |
6 | |
7 | ARM_PROCESSOR_FAMILY(TSV110) |
8 | ARM_PROCESSOR_FAMILY(CortexR82) |
9 | ARM_PROCESSOR_FAMILY(ThunderX2T99) |
10 | ARM_PROCESSOR_FAMILY(AppleA17) |
11 | ARM_PROCESSOR_FAMILY(Neoverse512TVB) |
12 | ARM_PROCESSOR_FAMILY(ThunderXT81) |
13 | ARM_PROCESSOR_FAMILY(CortexA725) |
14 | ARM_PROCESSOR_FAMILY(CortexA55) |
15 | ARM_PROCESSOR_FAMILY(MONAKA) |
16 | ARM_PROCESSOR_FAMILY(CortexA78AE) |
17 | ARM_PROCESSOR_FAMILY(CortexX4) |
18 | ARM_PROCESSOR_FAMILY(CortexA520) |
19 | ARM_PROCESSOR_FAMILY(AppleA13) |
20 | ARM_PROCESSOR_FAMILY(CortexA76) |
21 | ARM_PROCESSOR_FAMILY(NeoverseN1) |
22 | ARM_PROCESSOR_FAMILY(Kryo) |
23 | ARM_PROCESSOR_FAMILY(AppleA11) |
24 | ARM_PROCESSOR_FAMILY(AppleA14) |
25 | ARM_PROCESSOR_FAMILY(NeoverseN2) |
26 | ARM_PROCESSOR_FAMILY(AppleA16) |
27 | ARM_PROCESSOR_FAMILY(CortexA73) |
28 | ARM_PROCESSOR_FAMILY(CortexX2) |
29 | ARM_PROCESSOR_FAMILY(AppleA7) |
30 | ARM_PROCESSOR_FAMILY(CortexA77) |
31 | ARM_PROCESSOR_FAMILY(CortexA53) |
32 | ARM_PROCESSOR_FAMILY(Ampere1B) |
33 | ARM_PROCESSOR_FAMILY(Ampere1A) |
34 | ARM_PROCESSOR_FAMILY(CortexA35) |
35 | ARM_PROCESSOR_FAMILY(CortexA510) |
36 | ARM_PROCESSOR_FAMILY(ExynosM3) |
37 | ARM_PROCESSOR_FAMILY(NeoverseV1) |
38 | ARM_PROCESSOR_FAMILY(ThunderX) |
39 | ARM_PROCESSOR_FAMILY(Ampere1) |
40 | ARM_PROCESSOR_FAMILY(AppleM4) |
41 | ARM_PROCESSOR_FAMILY(Olympus) |
42 | ARM_PROCESSOR_FAMILY(CortexA710) |
43 | ARM_PROCESSOR_FAMILY(Oryon) |
44 | ARM_PROCESSOR_FAMILY(CortexA78C) |
45 | ARM_PROCESSOR_FAMILY(AppleA12) |
46 | ARM_PROCESSOR_FAMILY(A64FX) |
47 | ARM_PROCESSOR_FAMILY(NeoverseN3) |
48 | ARM_PROCESSOR_FAMILY(NeoverseV2) |
49 | ARM_PROCESSOR_FAMILY(ThunderX3T110) |
50 | ARM_PROCESSOR_FAMILY(CortexA57) |
51 | ARM_PROCESSOR_FAMILY(CortexA75) |
52 | ARM_PROCESSOR_FAMILY(Saphira) |
53 | ARM_PROCESSOR_FAMILY(Carmel) |
54 | ARM_PROCESSOR_FAMILY(CortexA72) |
55 | ARM_PROCESSOR_FAMILY(ThunderXT83) |
56 | ARM_PROCESSOR_FAMILY(NeoverseV3) |
57 | ARM_PROCESSOR_FAMILY(ThunderXT88) |
58 | ARM_PROCESSOR_FAMILY(CortexA320) |
59 | ARM_PROCESSOR_FAMILY(Falkor) |
60 | ARM_PROCESSOR_FAMILY(CortexX3) |
61 | ARM_PROCESSOR_FAMILY(CortexA720) |
62 | ARM_PROCESSOR_FAMILY(CortexX1) |
63 | ARM_PROCESSOR_FAMILY(CortexA78) |
64 | ARM_PROCESSOR_FAMILY(NeoverseE1) |
65 | ARM_PROCESSOR_FAMILY(CortexA715) |
66 | ARM_PROCESSOR_FAMILY(AppleA15) |
67 | ARM_PROCESSOR_FAMILY(CortexR82AE) |
68 | ARM_PROCESSOR_FAMILY(AppleA10) |
69 | ARM_PROCESSOR_FAMILY(CortexX925) |
70 | ARM_PROCESSOR_FAMILY(CortexA65) |
71 | |
72 | #undef ARM_PROCESSOR_FAMILY |
73 | |
74 | #ifndef ARM_ARCHITECTURE |
75 | #define ARM_ARCHITECTURE(ENUM) |
76 | #endif |
77 | |
78 | |
79 | #undef ARM_ARCHITECTURE |
80 | |
81 | #ifdef EMIT_ARCHEXTKIND_ENUM |
82 | enum ArchExtKind : unsigned { |
83 | AEK_AES, |
84 | AEK_ALTERNATIVENZCV, |
85 | AEK_AM, |
86 | AEK_AMVS, |
87 | AEK_BF16, |
88 | AEK_BRBE, |
89 | AEK_BTI, |
90 | AEK_CCDP, |
91 | AEK_CCIDX, |
92 | AEK_CCPP, |
93 | AEK_CHK, |
94 | AEK_CLRBHB, |
95 | AEK_CMPBR, |
96 | AEK_FCMA, |
97 | AEK_CPA, |
98 | AEK_CRC, |
99 | AEK_CRYPTO, |
100 | AEK_CSSC, |
101 | AEK_D128, |
102 | AEK_DIT, |
103 | AEK_DOTPROD, |
104 | AEK_ENHANCEDCOUNTERVIRTUALIZATION, |
105 | AEK_ETE, |
106 | AEK_F32MM, |
107 | AEK_F64MM, |
108 | AEK_F8F16MM, |
109 | AEK_F8F32MM, |
110 | AEK_FAMINMAX, |
111 | AEK_FINEGRAINEDTRAPS, |
112 | AEK_FLAGM, |
113 | AEK_FP, |
114 | AEK_FP16FML, |
115 | AEK_FP8, |
116 | AEK_FP8DOT2, |
117 | AEK_FP8DOT4, |
118 | AEK_FP8FMA, |
119 | AEK_FPAC, |
120 | AEK_FPRCVT, |
121 | AEK_FRINT3264, |
122 | AEK_FP16, |
123 | AEK_GCS, |
124 | AEK_HBC, |
125 | AEK_HCX, |
126 | AEK_I8MM, |
127 | AEK_ITE, |
128 | AEK_JSCVT, |
129 | AEK_LOR, |
130 | AEK_LS64, |
131 | AEK_LSE, |
132 | AEK_LSE128, |
133 | AEK_LSE2, |
134 | AEK_LSFE, |
135 | AEK_LSUI, |
136 | AEK_LUT, |
137 | AEK_MEC, |
138 | AEK_MOPS, |
139 | AEK_MPAM, |
140 | AEK_MTE, |
141 | AEK_SIMD, |
142 | AEK_NMI, |
143 | AEK_NV, |
144 | AEK_OCCMO, |
145 | AEK_PAN, |
146 | AEK_PAN_RWV, |
147 | AEK_PAUTH, |
148 | AEK_PAUTHLR, |
149 | AEK_PCDPHINT, |
150 | AEK_PERFMON, |
151 | AEK_POPS, |
152 | AEK_PREDRES, |
153 | AEK_PRFM_SLC, |
154 | AEK_RAND, |
155 | AEK_RAS, |
156 | AEK_RASV2, |
157 | AEK_RCPC, |
158 | AEK_RCPC_IMMO, |
159 | AEK_RCPC3, |
160 | AEK_RDM, |
161 | AEK_RME, |
162 | AEK_SB, |
163 | AEK_SEL2, |
164 | AEK_SHA2, |
165 | AEK_SHA3, |
166 | AEK_SM4, |
167 | AEK_SME, |
168 | AEK_SMEB16B16, |
169 | AEK_SMEF16F16, |
170 | AEK_SMEF64F64, |
171 | AEK_SMEF8F16, |
172 | AEK_SMEF8F32, |
173 | AEK_SMEFA64, |
174 | AEK_SMEI16I64, |
175 | AEK_SME_LUTV2, |
176 | AEK_SME_MOP4, |
177 | AEK_SME_TMOP, |
178 | AEK_SME2, |
179 | AEK_SME2P1, |
180 | AEK_SME2P2, |
181 | AEK_PROFILE, |
182 | AEK_SPE_EEF, |
183 | AEK_SPECRES2, |
184 | AEK_SPECRESTRICT, |
185 | AEK_SSBS, |
186 | AEK_SSVE_AES, |
187 | AEK_SSVE_BITPERM, |
188 | AEK_SSVE_FEXPA, |
189 | AEK_SSVE_FP8DOT2, |
190 | AEK_SSVE_FP8DOT4, |
191 | AEK_SSVE_FP8FMA, |
192 | AEK_SVE, |
193 | AEK_SVEAES, |
194 | AEK_SVE_AES2, |
195 | AEK_SVEB16B16, |
196 | AEK_SVE_BFSCALE, |
197 | AEK_SVEBITPERM, |
198 | AEK_SVE_F16F32MM, |
199 | AEK_SVESHA3, |
200 | AEK_SVE2, |
201 | AEK_SVE2AES, |
202 | AEK_SVE2BITPERM, |
203 | AEK_SVE2SHA3, |
204 | AEK_SVE2SM4, |
205 | AEK_SVE2P1, |
206 | AEK_SVE2P2, |
207 | AEK_THE, |
208 | AEK_TLB_RMI, |
209 | AEK_TLBIW, |
210 | AEK_TME, |
211 | AEK_TRACEV8_4, |
212 | AEK_TRBE, |
213 | AEK_PSUAO, |
214 | AEK_VH, |
215 | AEK_WFXT, |
216 | AEK_XS, |
217 | AEK_NUM_EXTENSIONS |
218 | }; |
219 | #undef EMIT_ARCHEXTKIND_ENUM |
220 | #endif // EMIT_ARCHEXTKIND_ENUM |
221 | #ifdef EMIT_EXTENSIONS |
222 | inline constexpr ExtensionInfo Extensions[] = { |
223 | {"aes" , {}, AArch64::AEK_AES, "FEAT_AES, FEAT_PMULL" , "Enable AES support" , "+aes" , "-aes" }, |
224 | {"" , {}, AArch64::AEK_ALTERNATIVENZCV, "FEAT_FlagM2" , "Enable alternative NZCV format for floating point comparisons" , "+altnzcv" , "-altnzcv" }, |
225 | {"" , {}, AArch64::AEK_AM, "FEAT_AMUv1" , "Enable Armv8.4-A Activity Monitors extension" , "+am" , "-am" }, |
226 | {"" , {}, AArch64::AEK_AMVS, "FEAT_AMUv1p1" , "Enable Armv8.6-A Activity Monitors Virtualization support" , "+amvs" , "-amvs" }, |
227 | {"bf16" , {}, AArch64::AEK_BF16, "FEAT_BF16" , "Enable BFloat16 Extension" , "+bf16" , "-bf16" }, |
228 | {"brbe" , {}, AArch64::AEK_BRBE, "FEAT_BRBE" , "Enable Branch Record Buffer Extension" , "+brbe" , "-brbe" }, |
229 | {"bti" , {}, AArch64::AEK_BTI, "FEAT_BTI" , "Enable Branch Target Identification" , "+bti" , "-bti" }, |
230 | {"" , {}, AArch64::AEK_CCDP, "FEAT_DPB2" , "Enable Armv8.5-A Cache Clean to Point of Deep Persistence" , "+ccdp" , "-ccdp" }, |
231 | {"" , {}, AArch64::AEK_CCIDX, "FEAT_CCIDX" , "Enable Armv8.3-A Extend of the CCSIDR number of sets" , "+ccidx" , "-ccidx" }, |
232 | {"" , {}, AArch64::AEK_CCPP, "FEAT_DPB" , "Enable Armv8.2-A data Cache Clean to Point of Persistence" , "+ccpp" , "-ccpp" }, |
233 | {"" , {}, AArch64::AEK_CHK, "FEAT_CHK" , "Enable Armv8.0-A Check Feature Status Extension" , "+chk" , "-chk" }, |
234 | {"" , {}, AArch64::AEK_CLRBHB, "FEAT_CLRBHB" , "Enable Clear BHB instruction" , "+clrbhb" , "-clrbhb" }, |
235 | {"cmpbr" , {}, AArch64::AEK_CMPBR, "FEAT_CMPBR" , "Enable Armv9.6-A base compare and branch instructions" , "+cmpbr" , "-cmpbr" }, |
236 | {"fcma" , {}, AArch64::AEK_FCMA, "FEAT_FCMA" , "Enable Armv8.3-A Floating-point complex number support" , "+complxnum" , "-complxnum" }, |
237 | {"cpa" , {}, AArch64::AEK_CPA, "FEAT_CPA" , "Enable Armv9.5-A Checked Pointer Arithmetic" , "+cpa" , "-cpa" }, |
238 | {"crc" , {}, AArch64::AEK_CRC, "FEAT_CRC32" , "Enable Armv8.0-A CRC-32 checksum instructions" , "+crc" , "-crc" }, |
239 | {"crypto" , {}, AArch64::AEK_CRYPTO, "FEAT_Crypto" , "Enable cryptographic instructions" , "+crypto" , "-crypto" }, |
240 | {"cssc" , {}, AArch64::AEK_CSSC, "FEAT_CSSC" , "Enable Common Short Sequence Compression (CSSC) instructions" , "+cssc" , "-cssc" }, |
241 | {"d128" , {}, AArch64::AEK_D128, "FEAT_D128, FEAT_LVA3, FEAT_SYSREG128, FEAT_SYSINSTR128" , "Enable Armv9.4-A 128-bit Page Table Descriptors, System Registers and instructions" , "+d128" , "-d128" }, |
242 | {"dit" , {}, AArch64::AEK_DIT, "FEAT_DIT" , "Enable Armv8.4-A Data Independent Timing instructions" , "+dit" , "-dit" }, |
243 | {"dotprod" , {}, AArch64::AEK_DOTPROD, "FEAT_DotProd" , "Enable dot product support" , "+dotprod" , "-dotprod" }, |
244 | {"" , {}, AArch64::AEK_ENHANCEDCOUNTERVIRTUALIZATION, "FEAT_ECV" , "Enable enhanced counter virtualization extension" , "+ecv" , "-ecv" }, |
245 | {"" , {}, AArch64::AEK_ETE, "FEAT_ETE" , "Enable Embedded Trace Extension" , "+ete" , "-ete" }, |
246 | {"f32mm" , {}, AArch64::AEK_F32MM, "FEAT_F32MM" , "Enable Matrix Multiply FP32 Extension" , "+f32mm" , "-f32mm" }, |
247 | {"f64mm" , {}, AArch64::AEK_F64MM, "FEAT_F64MM" , "Enable Matrix Multiply FP64 Extension" , "+f64mm" , "-f64mm" }, |
248 | {"f8f16mm" , {}, AArch64::AEK_F8F16MM, "FEAT_F8F16MM" , "Enable Armv9.6-A FP8 to Half-Precision Matrix Multiplication" , "+f8f16mm" , "-f8f16mm" }, |
249 | {"f8f32mm" , {}, AArch64::AEK_F8F32MM, "FEAT_F8F32MM" , "Enable Armv9.6-A FP8 to Single-Precision Matrix Multiplication" , "+f8f32mm" , "-f8f32mm" }, |
250 | {"faminmax" , {}, AArch64::AEK_FAMINMAX, "FEAT_FAMINMAX" , "Enable FAMIN and FAMAX instructions" , "+faminmax" , "-faminmax" }, |
251 | {"" , {}, AArch64::AEK_FINEGRAINEDTRAPS, "FEAT_FGT" , "Enable fine grained virtualization traps extension" , "+fgt" , "-fgt" }, |
252 | {"flagm" , {}, AArch64::AEK_FLAGM, "FEAT_FlagM" , "Enable Armv8.4-A Flag Manipulation instructions" , "+flagm" , "-flagm" }, |
253 | {"fp" , {}, AArch64::AEK_FP, "FEAT_FP" , "Enable Armv8.0-A Floating Point Extensions" , "+fp-armv8" , "-fp-armv8" }, |
254 | {"fp16fml" , {}, AArch64::AEK_FP16FML, "FEAT_FHM" , "Enable FP16 FML instructions" , "+fp16fml" , "-fp16fml" }, |
255 | {"fp8" , {}, AArch64::AEK_FP8, "FEAT_FP8" , "Enable FP8 instructions" , "+fp8" , "-fp8" }, |
256 | {"fp8dot2" , {}, AArch64::AEK_FP8DOT2, "FEAT_FP8DOT2" , "Enable FP8 2-way dot instructions" , "+fp8dot2" , "-fp8dot2" }, |
257 | {"fp8dot4" , {}, AArch64::AEK_FP8DOT4, "FEAT_FP8DOT4" , "Enable FP8 4-way dot instructions" , "+fp8dot4" , "-fp8dot4" }, |
258 | {"fp8fma" , {}, AArch64::AEK_FP8FMA, "FEAT_FP8FMA" , "Enable Armv9.5-A FP8 multiply-add instructions" , "+fp8fma" , "-fp8fma" }, |
259 | {"" , {}, AArch64::AEK_FPAC, "FEAT_FPAC" , "Enable Armv8.3-A Pointer Authentication Faulting enhancement" , "+fpac" , "-fpac" }, |
260 | {"fprcvt" , {}, AArch64::AEK_FPRCVT, "FEAT_FPRCVT" , "Enable Armv9.6-A base convert instructions for SIMD&FP scalar register operands of different input and output sizes" , "+fprcvt" , "-fprcvt" }, |
261 | {"" , {}, AArch64::AEK_FRINT3264, "FEAT_FRINTTS" , "Enable FRInt[32|64][Z|X] instructions that round a floating-point number to an integer (in FP format) forcing it to fit into a 32- or 64-bit int" , "+fptoint" , "-fptoint" }, |
262 | {"fp16" , {}, AArch64::AEK_FP16, "FEAT_FP16" , "Enable half-precision floating-point data processing" , "+fullfp16" , "-fullfp16" }, |
263 | {"gcs" , {}, AArch64::AEK_GCS, "FEAT_GCS" , "Enable Armv9.4-A Guarded Call Stack Extension" , "+gcs" , "-gcs" }, |
264 | {"hbc" , {}, AArch64::AEK_HBC, "FEAT_HBC" , "Enable Armv8.8-A Hinted Conditional Branches Extension" , "+hbc" , "-hbc" }, |
265 | {"" , {}, AArch64::AEK_HCX, "FEAT_HCX" , "Enable Armv8.7-A HCRX_EL2 system register" , "+hcx" , "-hcx" }, |
266 | {"i8mm" , {}, AArch64::AEK_I8MM, "FEAT_I8MM" , "Enable Matrix Multiply Int8 Extension" , "+i8mm" , "-i8mm" }, |
267 | {"ite" , {}, AArch64::AEK_ITE, "FEAT_ITE" , "Enable Armv9.4-A Instrumentation Extension" , "+ite" , "-ite" }, |
268 | {"jscvt" , {}, AArch64::AEK_JSCVT, "FEAT_JSCVT" , "Enable Armv8.3-A JavaScript FP conversion instructions" , "+jsconv" , "-jsconv" }, |
269 | {"" , {}, AArch64::AEK_LOR, "FEAT_LOR" , "Enable Armv8.1-A Limited Ordering Regions extension" , "+lor" , "-lor" }, |
270 | {"ls64" , {}, AArch64::AEK_LS64, "FEAT_LS64, FEAT_LS64_V, FEAT_LS64_ACCDATA" , "Enable Armv8.7-A LD64B/ST64B Accelerator Extension" , "+ls64" , "-ls64" }, |
271 | {"lse" , {}, AArch64::AEK_LSE, "FEAT_LSE" , "Enable Armv8.1-A Large System Extension (LSE) atomic instructions" , "+lse" , "-lse" }, |
272 | {"lse128" , {}, AArch64::AEK_LSE128, "FEAT_LSE128" , "Enable Armv9.4-A 128-bit Atomic instructions" , "+lse128" , "-lse128" }, |
273 | {"" , {}, AArch64::AEK_LSE2, "FEAT_LSE2" , "Enable Armv8.4-A Large System Extension 2 (LSE2) atomicity rules" , "+lse2" , "-lse2" }, |
274 | {"lsfe" , {}, AArch64::AEK_LSFE, "FEAT_LSFE" , "Enable Armv9.6-A base Atomic floating-point in-memory instructions" , "+lsfe" , "-lsfe" }, |
275 | {"lsui" , {}, AArch64::AEK_LSUI, "FEAT_LSUI" , "Enable Armv9.6-A unprivileged load/store instructions" , "+lsui" , "-lsui" }, |
276 | {"lut" , {}, AArch64::AEK_LUT, "FEAT_LUT" , "Enable Lookup Table instructions" , "+lut" , "-lut" }, |
277 | {"" , {}, AArch64::AEK_MEC, "FEAT_MEC" , "Enable Memory Encryption Contexts Extension" , "+mec" , "-mec" }, |
278 | {"mops" , {}, AArch64::AEK_MOPS, "FEAT_MOPS" , "Enable Armv8.8-A memcpy and memset acceleration instructions" , "+mops" , "-mops" }, |
279 | {"" , {}, AArch64::AEK_MPAM, "FEAT_MPAM" , "Enable Armv8.4-A Memory system Partitioning and Monitoring extension" , "+mpam" , "-mpam" }, |
280 | {"memtag" , {}, AArch64::AEK_MTE, "FEAT_MTE, FEAT_MTE2" , "Enable Memory Tagging Extension" , "+mte" , "-mte" }, |
281 | {"simd" , {}, AArch64::AEK_SIMD, "FEAT_AdvSIMD" , "Enable Advanced SIMD instructions" , "+neon" , "-neon" }, |
282 | {"" , {}, AArch64::AEK_NMI, "FEAT_NMI, FEAT_GICv3_NMI" , "Enable Armv8.8-A Non-maskable Interrupts" , "+nmi" , "-nmi" }, |
283 | {"" , {}, AArch64::AEK_NV, "FEAT_NV, FEAT_NV2" , "Enable Armv8.4-A Nested Virtualization Enchancement" , "+nv" , "-nv" }, |
284 | {"occmo" , {}, AArch64::AEK_OCCMO, "FEAT_OCCMO" , "Enable Armv9.6-A Outer cacheable cache maintenance operations" , "+occmo" , "-occmo" }, |
285 | {"" , {}, AArch64::AEK_PAN, "FEAT_PAN" , "Enable Armv8.1-A Privileged Access-Never extension" , "+pan" , "-pan" }, |
286 | {"" , {}, AArch64::AEK_PAN_RWV, "FEAT_PAN2" , "Enable Armv8.2-A PAN s1e1R and s1e1W Variants" , "+pan-rwv" , "-pan-rwv" }, |
287 | {"pauth" , {}, AArch64::AEK_PAUTH, "FEAT_PAuth" , "Enable Armv8.3-A Pointer Authentication extension" , "+pauth" , "-pauth" }, |
288 | {"pauth-lr" , {}, AArch64::AEK_PAUTHLR, "FEAT_PAuth_LR" , "Enable Armv9.5-A PAC enhancements" , "+pauth-lr" , "-pauth-lr" }, |
289 | {"pcdphint" , {}, AArch64::AEK_PCDPHINT, "FEAT_PCDPHINT" , "Enable Armv9.6-A Producer Consumer Data Placement hints" , "+pcdphint" , "-pcdphint" }, |
290 | {"pmuv3" , {}, AArch64::AEK_PERFMON, "FEAT_PMUv3" , "Enable Armv8.0-A PMUv3 Performance Monitors extension" , "+perfmon" , "-perfmon" }, |
291 | {"pops" , {}, AArch64::AEK_POPS, "FEAT_PoPS" , "Enable Armv9.6-A Point Of Physical Storage (PoPS) DC instructions" , "+pops" , "-pops" }, |
292 | {"predres" , {}, AArch64::AEK_PREDRES, "FEAT_SPECRES" , "Enable Armv8.5-A execution and data prediction invalidation instructions" , "+predres" , "-predres" }, |
293 | {"" , {}, AArch64::AEK_PRFM_SLC, "FEAT_PRFMSLC" , "Enable SLC target for PRFM instruction" , "+prfm-slc-target" , "-prfm-slc-target" }, |
294 | {"rng" , {}, AArch64::AEK_RAND, "FEAT_RNG" , "Enable Random Number generation instructions" , "+rand" , "-rand" }, |
295 | {"ras" , {}, AArch64::AEK_RAS, "FEAT_RAS, FEAT_RASv1p1" , "Enable Armv8.0-A Reliability, Availability and Serviceability Extensions" , "+ras" , "-ras" }, |
296 | {"rasv2" , {}, AArch64::AEK_RASV2, "FEAT_RASv2" , "Enable Armv8.9-A Reliability, Availability and Serviceability Extensions" , "+rasv2" , "-rasv2" }, |
297 | {"rcpc" , {}, AArch64::AEK_RCPC, "FEAT_LRCPC" , "Enable support for RCPC extension" , "+rcpc" , "-rcpc" }, |
298 | {"" , {}, AArch64::AEK_RCPC_IMMO, "FEAT_LRCPC2" , "Enable Armv8.4-A RCPC instructions with Immediate Offsets" , "+rcpc-immo" , "-rcpc-immo" }, |
299 | {"rcpc3" , {}, AArch64::AEK_RCPC3, "FEAT_LRCPC3" , "Enable Armv8.9-A RCPC instructions for A64 and Advanced SIMD and floating-point instruction set" , "+rcpc3" , "-rcpc3" }, |
300 | {"rdm" , "rdma" , AArch64::AEK_RDM, "FEAT_RDM" , "Enable Armv8.1-A Rounding Double Multiply Add/Subtract instructions" , "+rdm" , "-rdm" }, |
301 | {"" , {}, AArch64::AEK_RME, "FEAT_RME" , "Enable Realm Management Extension" , "+rme" , "-rme" }, |
302 | {"sb" , {}, AArch64::AEK_SB, "FEAT_SB" , "Enable Armv8.5-A Speculation Barrier" , "+sb" , "-sb" }, |
303 | {"" , {}, AArch64::AEK_SEL2, "FEAT_SEL2" , "Enable Armv8.4-A Secure Exception Level 2 extension" , "+sel2" , "-sel2" }, |
304 | {"sha2" , {}, AArch64::AEK_SHA2, "FEAT_SHA1, FEAT_SHA256" , "Enable SHA1 and SHA256 support" , "+sha2" , "-sha2" }, |
305 | {"sha3" , {}, AArch64::AEK_SHA3, "FEAT_SHA3, FEAT_SHA512" , "Enable SHA512 and SHA3 support" , "+sha3" , "-sha3" }, |
306 | {"sm4" , {}, AArch64::AEK_SM4, "FEAT_SM4, FEAT_SM3" , "Enable SM3 and SM4 support" , "+sm4" , "-sm4" }, |
307 | {"sme" , {}, AArch64::AEK_SME, "FEAT_SME" , "Enable Scalable Matrix Extension (SME)" , "+sme" , "-sme" }, |
308 | {"sme-b16b16" , {}, AArch64::AEK_SMEB16B16, "FEAT_SME_B16B16" , "Enable SME2.1 ZA-targeting non-widening BFloat16 instructions" , "+sme-b16b16" , "-sme-b16b16" }, |
309 | {"sme-f16f16" , {}, AArch64::AEK_SMEF16F16, "FEAT_SME_F16F16" , "Enable SME non-widening Float16 instructions" , "+sme-f16f16" , "-sme-f16f16" }, |
310 | {"sme-f64f64" , {}, AArch64::AEK_SMEF64F64, "FEAT_SME_F64F64" , "Enable Scalable Matrix Extension (SME) F64F64 instructions" , "+sme-f64f64" , "-sme-f64f64" }, |
311 | {"sme-f8f16" , {}, AArch64::AEK_SMEF8F16, "FEAT_SME_F8F16" , "Enable Scalable Matrix Extension (SME) F8F16 instructions" , "+sme-f8f16" , "-sme-f8f16" }, |
312 | {"sme-f8f32" , {}, AArch64::AEK_SMEF8F32, "FEAT_SME_F8F32" , "Enable Scalable Matrix Extension (SME) F8F32 instructions" , "+sme-f8f32" , "-sme-f8f32" }, |
313 | {"sme-fa64" , {}, AArch64::AEK_SMEFA64, "FEAT_SME_FA64" , "Enable the full A64 instruction set in streaming SVE mode" , "+sme-fa64" , "-sme-fa64" }, |
314 | {"sme-i16i64" , {}, AArch64::AEK_SMEI16I64, "FEAT_SME_I16I64" , "Enable Scalable Matrix Extension (SME) I16I64 instructions" , "+sme-i16i64" , "-sme-i16i64" }, |
315 | {"sme-lutv2" , {}, AArch64::AEK_SME_LUTV2, "FEAT_SME_LUTv2" , "Enable Scalable Matrix Extension (SME) LUTv2 instructions" , "+sme-lutv2" , "-sme-lutv2" }, |
316 | {"sme-mop4" , {}, AArch64::AEK_SME_MOP4, "FEAT_SME_MOP4" , "Enable SME Quarter-tile outer product instructions" , "+sme-mop4" , "-sme-mop4" }, |
317 | {"sme-tmop" , {}, AArch64::AEK_SME_TMOP, "FEAT_SME_TMOP" , "Enable SME Structured sparsity outer product instructions." , "+sme-tmop" , "-sme-tmop" }, |
318 | {"sme2" , {}, AArch64::AEK_SME2, "FEAT_SME2" , "Enable Scalable Matrix Extension 2 (SME2) instructions" , "+sme2" , "-sme2" }, |
319 | {"sme2p1" , {}, AArch64::AEK_SME2P1, "FEAT_SME2p1" , "Enable Scalable Matrix Extension 2.1 instructions" , "+sme2p1" , "-sme2p1" }, |
320 | {"sme2p2" , {}, AArch64::AEK_SME2P2, "FEAT_SME2p2" , "Enable Armv9.6-A Scalable Matrix Extension 2.2 instructions" , "+sme2p2" , "-sme2p2" }, |
321 | {"profile" , {}, AArch64::AEK_PROFILE, "FEAT_SPE" , "Enable Statistical Profiling extension" , "+spe" , "-spe" }, |
322 | {"" , {}, AArch64::AEK_SPE_EEF, "FEAT_SPEv1p2" , "Enable extra register in the Statistical Profiling Extension" , "+spe-eef" , "-spe-eef" }, |
323 | {"predres2" , {}, AArch64::AEK_SPECRES2, "FEAT_SPECRES2" , "Enable Speculation Restriction Instruction" , "+specres2" , "-specres2" }, |
324 | {"" , {}, AArch64::AEK_SPECRESTRICT, "FEAT_CSV2_2" , "Enable architectural speculation restriction" , "+specrestrict" , "-specrestrict" }, |
325 | {"ssbs" , {}, AArch64::AEK_SSBS, "FEAT_SSBS, FEAT_SSBS2" , "Enable Speculative Store Bypass Safe bit" , "+ssbs" , "-ssbs" }, |
326 | {"ssve-aes" , {}, AArch64::AEK_SSVE_AES, "FEAT_SSVE_AES" , "Enable Armv9.6-A SVE AES support in streaming SVE mode" , "+ssve-aes" , "-ssve-aes" }, |
327 | {"ssve-bitperm" , {}, AArch64::AEK_SSVE_BITPERM, "FEAT_SSVE_BitPerm" , "Enable Armv9.6-A SVE BitPerm support in streaming SVE mode" , "+ssve-bitperm" , "-ssve-bitperm" }, |
328 | {"ssve-fexpa" , {}, AArch64::AEK_SSVE_FEXPA, "FEAT_SSVE_FEXPA" , "Enable SVE FEXPA instruction in Streaming SVE mode" , "+ssve-fexpa" , "-ssve-fexpa" }, |
329 | {"ssve-fp8dot2" , {}, AArch64::AEK_SSVE_FP8DOT2, "FEAT_SSVE_FP8DOT2" , "Enable SVE2 FP8 2-way dot product instructions" , "+ssve-fp8dot2" , "-ssve-fp8dot2" }, |
330 | {"ssve-fp8dot4" , {}, AArch64::AEK_SSVE_FP8DOT4, "FEAT_SSVE_FP8DOT4" , "Enable SVE2 FP8 4-way dot product instructions" , "+ssve-fp8dot4" , "-ssve-fp8dot4" }, |
331 | {"ssve-fp8fma" , {}, AArch64::AEK_SSVE_FP8FMA, "FEAT_SSVE_FP8FMA" , "Enable SVE2 FP8 multiply-add instructions" , "+ssve-fp8fma" , "-ssve-fp8fma" }, |
332 | {"sve" , {}, AArch64::AEK_SVE, "FEAT_SVE" , "Enable Scalable Vector Extension (SVE) instructions" , "+sve" , "-sve" }, |
333 | {"sve-aes" , {}, AArch64::AEK_SVEAES, "FEAT_SVE_AES, FEAT_SVE_PMULL128" , "Enable SVE AES and quadword SVE polynomial multiply instructions" , "+sve-aes" , "-sve-aes" }, |
334 | {"sve-aes2" , {}, AArch64::AEK_SVE_AES2, "FEAT_SVE_AES2" , "Enable Armv9.6-A SVE multi-vector AES and multi-vector quadword polynomial multiply instructions" , "+sve-aes2" , "-sve-aes2" }, |
335 | {"sve-b16b16" , {}, AArch64::AEK_SVEB16B16, "FEAT_SVE_B16B16" , "Enable SVE2 non-widening and SME2 Z-targeting non-widening BFloat16 instructions" , "+sve-b16b16" , "-sve-b16b16" }, |
336 | {"sve-bfscale" , {}, AArch64::AEK_SVE_BFSCALE, "FEAT_SVE_BFSCALE" , "Enable Armv9.6-A SVE BFloat16 scaling instructions" , "+sve-bfscale" , "-sve-bfscale" }, |
337 | {"sve-bitperm" , {}, AArch64::AEK_SVEBITPERM, "FEAT_SVE_BitPerm" , "Enable bit permutation SVE2 instructions" , "+sve-bitperm" , "-sve-bitperm" }, |
338 | {"sve-f16f32mm" , {}, AArch64::AEK_SVE_F16F32MM, "FEAT_SVE_F16F32MM" , "Enable Armv9.6-A FP16 to FP32 Matrix Multiply instructions" , "+sve-f16f32mm" , "-sve-f16f32mm" }, |
339 | {"sve-sha3" , {}, AArch64::AEK_SVESHA3, "FEAT_SVE_SHA3" , "Enable SVE SHA3 instructions" , "+sve-sha3" , "-sve-sha3" }, |
340 | {"sve2" , {}, AArch64::AEK_SVE2, "FEAT_SVE2" , "Enable Scalable Vector Extension 2 (SVE2) instructions" , "+sve2" , "-sve2" }, |
341 | {"sve2-aes" , {}, AArch64::AEK_SVE2AES, "" , "Shorthand for +sve2+sve-aes" , "+sve2-aes" , "-sve2-aes" }, |
342 | {"sve2-bitperm" , {}, AArch64::AEK_SVE2BITPERM, "" , "Shorthand for +sve2+sve-bitperm" , "+sve2-bitperm" , "-sve2-bitperm" }, |
343 | {"sve2-sha3" , {}, AArch64::AEK_SVE2SHA3, "" , "Shorthand for +sve2+sve-sha3" , "+sve2-sha3" , "-sve2-sha3" }, |
344 | {"sve2-sm4" , {}, AArch64::AEK_SVE2SM4, "FEAT_SVE_SM4" , "Enable SM4 SVE2 instructions" , "+sve2-sm4" , "-sve2-sm4" }, |
345 | {"sve2p1" , {}, AArch64::AEK_SVE2P1, "FEAT_SVE2p1" , "Enable Scalable Vector Extension 2.1 instructions" , "+sve2p1" , "-sve2p1" }, |
346 | {"sve2p2" , {}, AArch64::AEK_SVE2P2, "FEAT_SVE2p2" , "Enable Armv9.6-A Scalable Vector Extension 2.2 instructions" , "+sve2p2" , "-sve2p2" }, |
347 | {"the" , {}, AArch64::AEK_THE, "FEAT_THE" , "Enable Armv8.9-A Translation Hardening Extension" , "+the" , "-the" }, |
348 | {"" , {}, AArch64::AEK_TLB_RMI, "FEAT_TLBIOS, FEAT_TLBIRANGE" , "Enable Armv8.4-A TLB Range and Maintenance instructions" , "+tlb-rmi" , "-tlb-rmi" }, |
349 | {"tlbiw" , {}, AArch64::AEK_TLBIW, "FEAT_TLBIW" , "Enable Armv9.5-A TLBI VMALL for Dirty State" , "+tlbiw" , "-tlbiw" }, |
350 | {"tme" , {}, AArch64::AEK_TME, "FEAT_TME" , "Enable Transactional Memory Extension" , "+tme" , "-tme" }, |
351 | {"" , {}, AArch64::AEK_TRACEV8_4, "FEAT_TRF" , "Enable Armv8.4-A Trace extension" , "+tracev8.4" , "-tracev8.4" }, |
352 | {"" , {}, AArch64::AEK_TRBE, "FEAT_TRBE" , "Enable Trace Buffer Extension" , "+trbe" , "-trbe" }, |
353 | {"" , {}, AArch64::AEK_PSUAO, "FEAT_UAO" , "Enable Armv8.2-A UAO PState" , "+uaops" , "-uaops" }, |
354 | {"" , {}, AArch64::AEK_VH, "FEAT_VHE" , "Enable Armv8.1-A Virtual Host extension" , "+vh" , "-vh" }, |
355 | {"wfxt" , {}, AArch64::AEK_WFXT, "FEAT_WFxT" , "Enable Armv8.7-A WFET and WFIT instruction" , "+wfxt" , "-wfxt" }, |
356 | {"" , {}, AArch64::AEK_XS, "FEAT_XS" , "Enable Armv8.7-A limited-TLB-maintenance instruction" , "+xs" , "-xs" }, |
357 | }; |
358 | #undef EMIT_EXTENSIONS |
359 | #endif // EMIT_EXTENSIONS |
360 | |
361 | #ifdef EMIT_FMV_INFO |
362 | const std::vector<llvm::AArch64::FMVInfo>& llvm::AArch64::getFMVInfo() { |
363 | static std::vector<FMVInfo> I; |
364 | if(I.size()) return I; |
365 | I.reserve(45); |
366 | I.emplace_back("aes" , FEAT_PMULL, PRIOR_PMULL, AEK_AES); |
367 | I.emplace_back("bf16" , FEAT_BF16, PRIOR_BF16, AEK_BF16); |
368 | I.emplace_back("bti" , FEAT_BTI, PRIOR_BTI, AEK_BTI); |
369 | I.emplace_back("crc" , FEAT_CRC, PRIOR_CRC, AEK_CRC); |
370 | I.emplace_back("dit" , FEAT_DIT, PRIOR_DIT, AEK_DIT); |
371 | I.emplace_back("dotprod" , FEAT_DOTPROD, PRIOR_DOTPROD, AEK_DOTPROD); |
372 | I.emplace_back("dpb" , FEAT_DPB, PRIOR_DPB, AEK_CCPP); |
373 | I.emplace_back("dpb2" , FEAT_DPB2, PRIOR_DPB2, AEK_CCDP); |
374 | I.emplace_back("f32mm" , FEAT_SVE_F32MM, PRIOR_SVE_F32MM, AEK_F32MM); |
375 | I.emplace_back("f64mm" , FEAT_SVE_F64MM, PRIOR_SVE_F64MM, AEK_F64MM); |
376 | I.emplace_back("fcma" , FEAT_FCMA, PRIOR_FCMA, AEK_FCMA); |
377 | I.emplace_back("flagm" , FEAT_FLAGM, PRIOR_FLAGM, AEK_FLAGM); |
378 | I.emplace_back("flagm2" , FEAT_FLAGM2, PRIOR_FLAGM2, AEK_ALTERNATIVENZCV); |
379 | I.emplace_back("fp" , FEAT_FP, PRIOR_FP, AEK_FP); |
380 | I.emplace_back("fp16" , FEAT_FP16, PRIOR_FP16, AEK_FP16); |
381 | I.emplace_back("fp16fml" , FEAT_FP16FML, PRIOR_FP16FML, AEK_FP16FML); |
382 | I.emplace_back("frintts" , FEAT_FRINTTS, PRIOR_FRINTTS, AEK_FRINT3264); |
383 | I.emplace_back("i8mm" , FEAT_I8MM, PRIOR_I8MM, AEK_I8MM); |
384 | I.emplace_back("jscvt" , FEAT_JSCVT, PRIOR_JSCVT, AEK_JSCVT); |
385 | I.emplace_back("lse" , FEAT_LSE, PRIOR_LSE, AEK_LSE); |
386 | I.emplace_back("memtag" , FEAT_MEMTAG2, PRIOR_MEMTAG2, AEK_MTE); |
387 | I.emplace_back("mops" , FEAT_MOPS, PRIOR_MOPS, AEK_MOPS); |
388 | I.emplace_back("rcpc" , FEAT_RCPC, PRIOR_RCPC, AEK_RCPC); |
389 | I.emplace_back("rcpc2" , FEAT_RCPC2, PRIOR_RCPC2, AEK_RCPC_IMMO); |
390 | I.emplace_back("rcpc3" , FEAT_RCPC3, PRIOR_RCPC3, AEK_RCPC3); |
391 | I.emplace_back("rdm" , FEAT_RDM, PRIOR_RDM, AEK_RDM); |
392 | I.emplace_back("rng" , FEAT_RNG, PRIOR_RNG, AEK_RAND); |
393 | I.emplace_back("sb" , FEAT_SB, PRIOR_SB, AEK_SB); |
394 | I.emplace_back("sha2" , FEAT_SHA2, PRIOR_SHA2, AEK_SHA2); |
395 | I.emplace_back("sha3" , FEAT_SHA3, PRIOR_SHA3, AEK_SHA3); |
396 | I.emplace_back("simd" , FEAT_SIMD, PRIOR_SIMD, AEK_SIMD); |
397 | I.emplace_back("sm4" , FEAT_SM4, PRIOR_SM4, AEK_SM4); |
398 | I.emplace_back("sme" , FEAT_SME, PRIOR_SME, AEK_SME); |
399 | I.emplace_back("sme-f64f64" , FEAT_SME_F64, PRIOR_SME_F64, AEK_SMEF64F64); |
400 | I.emplace_back("sme-i16i64" , FEAT_SME_I64, PRIOR_SME_I64, AEK_SMEI16I64); |
401 | I.emplace_back("sme2" , FEAT_SME2, PRIOR_SME2, AEK_SME2); |
402 | I.emplace_back("ssbs" , FEAT_SSBS2, PRIOR_SSBS2, AEK_SSBS); |
403 | I.emplace_back("sve" , FEAT_SVE, PRIOR_SVE, AEK_SVE); |
404 | I.emplace_back("sve2" , FEAT_SVE2, PRIOR_SVE2, AEK_SVE2); |
405 | I.emplace_back("sve2-aes" , FEAT_SVE_PMULL128, PRIOR_SVE_PMULL128, AEK_SVE2AES); |
406 | I.emplace_back("sve2-bitperm" , FEAT_SVE_BITPERM, PRIOR_SVE_BITPERM, AEK_SVE2BITPERM); |
407 | I.emplace_back("sve2-sha3" , FEAT_SVE_SHA3, PRIOR_SVE_SHA3, AEK_SVE2SHA3); |
408 | I.emplace_back("sve2-sm4" , FEAT_SVE_SM4, PRIOR_SVE_SM4, AEK_SVE2SM4); |
409 | I.emplace_back("wfxt" , FEAT_WFXT, PRIOR_WFXT, AEK_WFXT); |
410 | I.emplace_back("cssc" , FEAT_CSSC, PRIOR_CSSC, AEK_CSSC); |
411 | return I; |
412 | } |
413 | #undef EMIT_FMV_INFO |
414 | #endif // EMIT_FMV_INFO |
415 | |
416 | #ifdef EMIT_EXTENSION_DEPENDENCIES |
417 | inline constexpr ExtensionDependency ExtensionDependencies[] = { |
418 | {AEK_SIMD, AEK_AES}, |
419 | {AEK_FLAGM, AEK_ALTERNATIVENZCV}, |
420 | {AEK_AM, AEK_AMVS}, |
421 | {AEK_SIMD, AEK_BF16}, |
422 | {AEK_CCPP, AEK_CCDP}, |
423 | {AEK_SIMD, AEK_FCMA}, |
424 | {AEK_SIMD, AEK_CRYPTO}, |
425 | {AEK_SHA2, AEK_CRYPTO}, |
426 | {AEK_AES, AEK_CRYPTO}, |
427 | {AEK_LSE128, AEK_D128}, |
428 | {AEK_SIMD, AEK_DOTPROD}, |
429 | {AEK_TRBE, AEK_ETE}, |
430 | {AEK_SVE, AEK_F32MM}, |
431 | {AEK_SVE, AEK_F64MM}, |
432 | {AEK_SIMD, AEK_F8F16MM}, |
433 | {AEK_FP8, AEK_F8F16MM}, |
434 | {AEK_SIMD, AEK_F8F32MM}, |
435 | {AEK_FP8, AEK_F8F32MM}, |
436 | {AEK_SIMD, AEK_FAMINMAX}, |
437 | {AEK_FP16, AEK_FP16FML}, |
438 | {AEK_SIMD, AEK_FP16FML}, |
439 | {AEK_SIMD, AEK_FP8}, |
440 | {AEK_FP8, AEK_FP8DOT2}, |
441 | {AEK_FP8, AEK_FP8DOT4}, |
442 | {AEK_FP8, AEK_FP8FMA}, |
443 | {AEK_FP, AEK_FPRCVT}, |
444 | {AEK_FP, AEK_FRINT3264}, |
445 | {AEK_FP, AEK_FP16}, |
446 | {AEK_CHK, AEK_GCS}, |
447 | {AEK_SIMD, AEK_I8MM}, |
448 | {AEK_ETE, AEK_ITE}, |
449 | {AEK_TRBE, AEK_ITE}, |
450 | {AEK_FP, AEK_JSCVT}, |
451 | {AEK_LSE, AEK_LSE128}, |
452 | {AEK_FP, AEK_LSFE}, |
453 | {AEK_SIMD, AEK_LUT}, |
454 | {AEK_RME, AEK_MEC}, |
455 | {AEK_FP, AEK_SIMD}, |
456 | {AEK_PAN, AEK_PAN_RWV}, |
457 | {AEK_RAS, AEK_RASV2}, |
458 | {AEK_RCPC, AEK_RCPC_IMMO}, |
459 | {AEK_RCPC_IMMO, AEK_RCPC3}, |
460 | {AEK_SIMD, AEK_RDM}, |
461 | {AEK_SIMD, AEK_SHA2}, |
462 | {AEK_SIMD, AEK_SHA3}, |
463 | {AEK_SHA2, AEK_SHA3}, |
464 | {AEK_SIMD, AEK_SM4}, |
465 | {AEK_BF16, AEK_SME}, |
466 | {AEK_FP16, AEK_SME}, |
467 | {AEK_SME2, AEK_SMEB16B16}, |
468 | {AEK_SVEB16B16, AEK_SMEB16B16}, |
469 | {AEK_SME2, AEK_SMEF16F16}, |
470 | {AEK_SME, AEK_SMEF64F64}, |
471 | {AEK_SME2, AEK_SMEF8F16}, |
472 | {AEK_FP8, AEK_SMEF8F16}, |
473 | {AEK_SME2, AEK_SMEF8F32}, |
474 | {AEK_FP8, AEK_SMEF8F32}, |
475 | {AEK_SME, AEK_SMEFA64}, |
476 | {AEK_SVE2, AEK_SMEFA64}, |
477 | {AEK_SME, AEK_SMEI16I64}, |
478 | {AEK_SME2, AEK_SME_LUTV2}, |
479 | {AEK_SME2, AEK_SME_MOP4}, |
480 | {AEK_SME2, AEK_SME_TMOP}, |
481 | {AEK_SME, AEK_SME2}, |
482 | {AEK_SME2, AEK_SME2P1}, |
483 | {AEK_SME2P1, AEK_SME2P2}, |
484 | {AEK_PREDRES, AEK_SPECRES2}, |
485 | {AEK_SME2, AEK_SSVE_AES}, |
486 | {AEK_SVEAES, AEK_SSVE_AES}, |
487 | {AEK_SME2, AEK_SSVE_BITPERM}, |
488 | {AEK_SVEBITPERM, AEK_SSVE_BITPERM}, |
489 | {AEK_SME2, AEK_SSVE_FEXPA}, |
490 | {AEK_SME2, AEK_SSVE_FP8DOT2}, |
491 | {AEK_FP8, AEK_SSVE_FP8DOT2}, |
492 | {AEK_SME2, AEK_SSVE_FP8DOT4}, |
493 | {AEK_FP8, AEK_SSVE_FP8DOT4}, |
494 | {AEK_SME2, AEK_SSVE_FP8FMA}, |
495 | {AEK_FP8, AEK_SSVE_FP8FMA}, |
496 | {AEK_FP16, AEK_SVE}, |
497 | {AEK_AES, AEK_SVEAES}, |
498 | {AEK_SVE, AEK_SVE_F16F32MM}, |
499 | {AEK_SHA3, AEK_SVESHA3}, |
500 | {AEK_SVE, AEK_SVE2}, |
501 | {AEK_SVE2, AEK_SVE2AES}, |
502 | {AEK_SVEAES, AEK_SVE2AES}, |
503 | {AEK_SVE2, AEK_SVE2BITPERM}, |
504 | {AEK_SVEBITPERM, AEK_SVE2BITPERM}, |
505 | {AEK_SVE2, AEK_SVE2SHA3}, |
506 | {AEK_SVESHA3, AEK_SVE2SHA3}, |
507 | {AEK_SVE2, AEK_SVE2SM4}, |
508 | {AEK_SM4, AEK_SVE2SM4}, |
509 | {AEK_SVE2, AEK_SVE2P1}, |
510 | {AEK_SVE2P1, AEK_SVE2P2}, |
511 | {AEK_RCPC, AEK_RCPC3}, |
512 | }; |
513 | #undef EMIT_EXTENSION_DEPENDENCIES |
514 | #endif // EMIT_EXTENSION_DEPENDENCIES |
515 | |
516 | #ifdef EMIT_ARCHITECTURES |
517 | inline constexpr ArchInfo ARMV8A = { |
518 | VersionTuple{8, 0}, |
519 | AProfile, |
520 | "armv8-a" , |
521 | "+v8a" , |
522 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, })) |
523 | }; |
524 | inline constexpr ArchInfo ARMV8R = { |
525 | VersionTuple{8, 0}, |
526 | RProfile, |
527 | "armv8-r" , |
528 | "+v8r" , |
529 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_SSBS, AArch64::AEK_SB, AArch64::AEK_SSBS, AArch64::AEK_FP16, AArch64::AEK_FP16FML, AArch64::AEK_SB, })) |
530 | }; |
531 | inline constexpr ArchInfo ARMV8_1A = { |
532 | VersionTuple{8, 1}, |
533 | AProfile, |
534 | "armv8.1-a" , |
535 | "+v8.1a" , |
536 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, })) |
537 | }; |
538 | inline constexpr ArchInfo ARMV8_2A = { |
539 | VersionTuple{8, 2}, |
540 | AProfile, |
541 | "armv8.2-a" , |
542 | "+v8.2a" , |
543 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, })) |
544 | }; |
545 | inline constexpr ArchInfo ARMV8_3A = { |
546 | VersionTuple{8, 3}, |
547 | AProfile, |
548 | "armv8.3-a" , |
549 | "+v8.3a" , |
550 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, })) |
551 | }; |
552 | inline constexpr ArchInfo ARMV8_4A = { |
553 | VersionTuple{8, 4}, |
554 | AProfile, |
555 | "armv8.4-a" , |
556 | "+v8.4a" , |
557 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, })) |
558 | }; |
559 | inline constexpr ArchInfo ARMV8_5A = { |
560 | VersionTuple{8, 5}, |
561 | AProfile, |
562 | "armv8.5-a" , |
563 | "+v8.5a" , |
564 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, })) |
565 | }; |
566 | inline constexpr ArchInfo ARMV8_6A = { |
567 | VersionTuple{8, 6}, |
568 | AProfile, |
569 | "armv8.6-a" , |
570 | "+v8.6a" , |
571 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, })) |
572 | }; |
573 | inline constexpr ArchInfo ARMV8_7A = { |
574 | VersionTuple{8, 7}, |
575 | AProfile, |
576 | "armv8.7-a" , |
577 | "+v8.7a" , |
578 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, })) |
579 | }; |
580 | inline constexpr ArchInfo ARMV8_8A = { |
581 | VersionTuple{8, 8}, |
582 | AProfile, |
583 | "armv8.8-a" , |
584 | "+v8.8a" , |
585 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MOPS, AArch64::AEK_HBC, })) |
586 | }; |
587 | inline constexpr ArchInfo ARMV8_9A = { |
588 | VersionTuple{8, 9}, |
589 | AProfile, |
590 | "armv8.9-a" , |
591 | "+v8.9a" , |
592 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MOPS, AArch64::AEK_HBC, AArch64::AEK_SPECRES2, AArch64::AEK_CSSC, AArch64::AEK_RASV2, })) |
593 | }; |
594 | inline constexpr ArchInfo ARMV9A = { |
595 | VersionTuple{9, 0}, |
596 | AProfile, |
597 | "armv9-a" , |
598 | "+v9a" , |
599 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_FP16, AArch64::AEK_SVE, AArch64::AEK_SVE2, })) |
600 | }; |
601 | inline constexpr ArchInfo ARMV9_1A = { |
602 | VersionTuple{9, 1}, |
603 | AProfile, |
604 | "armv9.1-a" , |
605 | "+v9.1a" , |
606 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_FP16, AArch64::AEK_SVE, AArch64::AEK_SVE2, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_RME, })) |
607 | }; |
608 | inline constexpr ArchInfo ARMV9_2A = { |
609 | VersionTuple{9, 2}, |
610 | AProfile, |
611 | "armv9.2-a" , |
612 | "+v9.2a" , |
613 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_FP16, AArch64::AEK_SVE, AArch64::AEK_SVE2, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_RME, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MEC, })) |
614 | }; |
615 | inline constexpr ArchInfo ARMV9_3A = { |
616 | VersionTuple{9, 3}, |
617 | AProfile, |
618 | "armv9.3-a" , |
619 | "+v9.3a" , |
620 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_FP16, AArch64::AEK_SVE, AArch64::AEK_SVE2, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_RME, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MEC, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MOPS, AArch64::AEK_HBC, })) |
621 | }; |
622 | inline constexpr ArchInfo ARMV9_4A = { |
623 | VersionTuple{9, 4}, |
624 | AProfile, |
625 | "armv9.4-a" , |
626 | "+v9.4a" , |
627 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_FP16, AArch64::AEK_SVE, AArch64::AEK_SVE2, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_RME, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MEC, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MOPS, AArch64::AEK_HBC, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MOPS, AArch64::AEK_HBC, AArch64::AEK_SPECRES2, AArch64::AEK_CSSC, AArch64::AEK_RASV2, AArch64::AEK_SVE2P1, })) |
628 | }; |
629 | inline constexpr ArchInfo ARMV9_5A = { |
630 | VersionTuple{9, 5}, |
631 | AProfile, |
632 | "armv9.5-a" , |
633 | "+v9.5a" , |
634 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_FP16, AArch64::AEK_SVE, AArch64::AEK_SVE2, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_RME, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MEC, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MOPS, AArch64::AEK_HBC, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MOPS, AArch64::AEK_HBC, AArch64::AEK_SPECRES2, AArch64::AEK_CSSC, AArch64::AEK_RASV2, AArch64::AEK_SVE2P1, AArch64::AEK_CPA, AArch64::AEK_LUT, AArch64::AEK_FAMINMAX, })) |
635 | }; |
636 | inline constexpr ArchInfo ARMV9_6A = { |
637 | VersionTuple{9, 6}, |
638 | AProfile, |
639 | "armv9.6-a" , |
640 | "+v9.6a" , |
641 | (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_FP16, AArch64::AEK_SVE, AArch64::AEK_SVE2, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_RME, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MEC, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MOPS, AArch64::AEK_HBC, AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, AArch64::AEK_FCMA, AArch64::AEK_JSCVT, AArch64::AEK_PAUTH, AArch64::AEK_RCPC, AArch64::AEK_CCIDX, AArch64::AEK_DOTPROD, AArch64::AEK_DIT, AArch64::AEK_FLAGM, AArch64::AEK_PREDRES, AArch64::AEK_SSBS, AArch64::AEK_BTI, AArch64::AEK_SB, AArch64::AEK_BF16, AArch64::AEK_I8MM, AArch64::AEK_WFXT, AArch64::AEK_SPE_EEF, AArch64::AEK_MOPS, AArch64::AEK_HBC, AArch64::AEK_SPECRES2, AArch64::AEK_CSSC, AArch64::AEK_RASV2, AArch64::AEK_SVE2P1, AArch64::AEK_CPA, AArch64::AEK_LUT, AArch64::AEK_FAMINMAX, AArch64::AEK_CMPBR, AArch64::AEK_FPRCVT, AArch64::AEK_SVE2P2, AArch64::AEK_LSUI, AArch64::AEK_OCCMO, })) |
642 | }; |
643 | |
644 | /// The set of all architectures |
645 | static constexpr std::array<const ArchInfo *, 18> ArchInfos = { |
646 | &ARMV8A, |
647 | &ARMV8R, |
648 | &ARMV8_1A, |
649 | &ARMV8_2A, |
650 | &ARMV8_3A, |
651 | &ARMV8_4A, |
652 | &ARMV8_5A, |
653 | &ARMV8_6A, |
654 | &ARMV8_7A, |
655 | &ARMV8_8A, |
656 | &ARMV8_9A, |
657 | &ARMV9A, |
658 | &ARMV9_1A, |
659 | &ARMV9_2A, |
660 | &ARMV9_3A, |
661 | &ARMV9_4A, |
662 | &ARMV9_5A, |
663 | &ARMV9_6A, |
664 | }; |
665 | #undef EMIT_ARCHITECTURES |
666 | #endif // EMIT_ARCHITECTURES |
667 | |
668 | #ifdef EMIT_CPU_ALIAS |
669 | inline constexpr Alias CpuAliases[] = { |
670 | { "cobalt-100" , "neoverse-n2" }, |
671 | { "cyclone" , "apple-a7" }, |
672 | { "apple-a8" , "apple-a7" }, |
673 | { "apple-a9" , "apple-a7" }, |
674 | { "apple-s4" , "apple-a12" }, |
675 | { "apple-s5" , "apple-a12" }, |
676 | { "apple-s6" , "apple-a13" }, |
677 | { "apple-s7" , "apple-a13" }, |
678 | { "apple-s8" , "apple-a13" }, |
679 | { "apple-m1" , "apple-a14" }, |
680 | { "apple-m2" , "apple-a15" }, |
681 | { "apple-m3" , "apple-a16" }, |
682 | { "apple-s9" , "apple-a16" }, |
683 | { "apple-s10" , "apple-a16" }, |
684 | { "apple-a18" , "apple-m4" }, |
685 | { "apple-latest" , "apple-m4" }, |
686 | }; |
687 | #undef EMIT_CPU_ALIAS |
688 | #endif // EMIT_CPU_ALIAS |
689 | |
690 | #ifdef EMIT_CPU_INFO |
691 | inline constexpr CpuInfo CpuInfos[] = { |
692 | { |
693 | "generic" , |
694 | ARMV8A, |
695 | AArch64::ExtensionBitset({ |
696 | AArch64::AEK_FP, |
697 | AArch64::AEK_SIMD, |
698 | AArch64::AEK_ETE, |
699 | }) |
700 | }, |
701 | { |
702 | "cortex-a34" , |
703 | ARMV8A, |
704 | AArch64::ExtensionBitset({ |
705 | AArch64::AEK_CRC, |
706 | AArch64::AEK_SHA2, |
707 | AArch64::AEK_AES, |
708 | AArch64::AEK_FP, |
709 | AArch64::AEK_SIMD, |
710 | AArch64::AEK_PERFMON, |
711 | }) |
712 | }, |
713 | { |
714 | "cortex-a35" , |
715 | ARMV8A, |
716 | AArch64::ExtensionBitset({ |
717 | AArch64::AEK_CRC, |
718 | AArch64::AEK_SHA2, |
719 | AArch64::AEK_AES, |
720 | AArch64::AEK_FP, |
721 | AArch64::AEK_SIMD, |
722 | AArch64::AEK_PERFMON, |
723 | }) |
724 | }, |
725 | { |
726 | "cortex-a320" , |
727 | ARMV9_2A, |
728 | AArch64::ExtensionBitset({ |
729 | AArch64::AEK_SIMD, |
730 | AArch64::AEK_MTE, |
731 | AArch64::AEK_SVEBITPERM, |
732 | AArch64::AEK_FP16FML, |
733 | AArch64::AEK_FP16, |
734 | AArch64::AEK_ETE, |
735 | AArch64::AEK_PERFMON, |
736 | AArch64::AEK_CCIDX, |
737 | AArch64::AEK_CCPP, |
738 | AArch64::AEK_FCMA, |
739 | AArch64::AEK_CRC, |
740 | AArch64::AEK_DOTPROD, |
741 | AArch64::AEK_JSCVT, |
742 | AArch64::AEK_LOR, |
743 | AArch64::AEK_LSE, |
744 | AArch64::AEK_PAN, |
745 | AArch64::AEK_PAN_RWV, |
746 | AArch64::AEK_PAUTH, |
747 | AArch64::AEK_PSUAO, |
748 | AArch64::AEK_RAS, |
749 | AArch64::AEK_RDM, |
750 | AArch64::AEK_TRBE, |
751 | AArch64::AEK_VH, |
752 | AArch64::AEK_FLAGM, |
753 | AArch64::AEK_PREDRES, |
754 | AArch64::AEK_SB, |
755 | AArch64::AEK_SSBS, |
756 | AArch64::AEK_SVE, |
757 | AArch64::AEK_SVE2, |
758 | }) |
759 | }, |
760 | { |
761 | "cortex-a53" , |
762 | ARMV8A, |
763 | AArch64::ExtensionBitset({ |
764 | AArch64::AEK_CRC, |
765 | AArch64::AEK_SHA2, |
766 | AArch64::AEK_AES, |
767 | AArch64::AEK_FP, |
768 | AArch64::AEK_SIMD, |
769 | AArch64::AEK_PERFMON, |
770 | }) |
771 | }, |
772 | { |
773 | "cortex-a55" , |
774 | ARMV8_2A, |
775 | AArch64::ExtensionBitset({ |
776 | AArch64::AEK_SHA2, |
777 | AArch64::AEK_AES, |
778 | AArch64::AEK_FP, |
779 | AArch64::AEK_SIMD, |
780 | AArch64::AEK_FP16, |
781 | AArch64::AEK_DOTPROD, |
782 | AArch64::AEK_RCPC, |
783 | AArch64::AEK_PERFMON, |
784 | AArch64::AEK_CRC, |
785 | AArch64::AEK_LSE, |
786 | AArch64::AEK_RAS, |
787 | AArch64::AEK_RDM, |
788 | }) |
789 | }, |
790 | { |
791 | "cortex-a510" , |
792 | ARMV9A, |
793 | AArch64::ExtensionBitset({ |
794 | AArch64::AEK_SIMD, |
795 | AArch64::AEK_PERFMON, |
796 | AArch64::AEK_I8MM, |
797 | AArch64::AEK_BF16, |
798 | AArch64::AEK_AM, |
799 | AArch64::AEK_MTE, |
800 | AArch64::AEK_ETE, |
801 | AArch64::AEK_SVEBITPERM, |
802 | AArch64::AEK_FP16FML, |
803 | AArch64::AEK_CCIDX, |
804 | AArch64::AEK_SB, |
805 | AArch64::AEK_PAUTH, |
806 | AArch64::AEK_SSBS, |
807 | AArch64::AEK_SVE, |
808 | AArch64::AEK_SVE2, |
809 | AArch64::AEK_FCMA, |
810 | AArch64::AEK_CRC, |
811 | AArch64::AEK_DOTPROD, |
812 | AArch64::AEK_FP, |
813 | AArch64::AEK_FP16, |
814 | AArch64::AEK_JSCVT, |
815 | AArch64::AEK_LSE, |
816 | AArch64::AEK_RAS, |
817 | AArch64::AEK_RCPC, |
818 | AArch64::AEK_RDM, |
819 | AArch64::AEK_FPAC, |
820 | }) |
821 | }, |
822 | { |
823 | "cortex-a520" , |
824 | ARMV9_2A, |
825 | AArch64::ExtensionBitset({ |
826 | AArch64::AEK_PERFMON, |
827 | AArch64::AEK_AM, |
828 | AArch64::AEK_MTE, |
829 | AArch64::AEK_ETE, |
830 | AArch64::AEK_SVEBITPERM, |
831 | AArch64::AEK_FP16FML, |
832 | AArch64::AEK_CCIDX, |
833 | AArch64::AEK_SB, |
834 | AArch64::AEK_SSBS, |
835 | AArch64::AEK_PAUTH, |
836 | AArch64::AEK_FLAGM, |
837 | AArch64::AEK_PREDRES, |
838 | AArch64::AEK_SVE, |
839 | AArch64::AEK_SVE2, |
840 | AArch64::AEK_BF16, |
841 | AArch64::AEK_FCMA, |
842 | AArch64::AEK_CRC, |
843 | AArch64::AEK_FP, |
844 | AArch64::AEK_FP16, |
845 | AArch64::AEK_I8MM, |
846 | AArch64::AEK_JSCVT, |
847 | AArch64::AEK_SIMD, |
848 | AArch64::AEK_LSE, |
849 | AArch64::AEK_RAS, |
850 | AArch64::AEK_RCPC, |
851 | AArch64::AEK_RDM, |
852 | AArch64::AEK_DOTPROD, |
853 | AArch64::AEK_FPAC, |
854 | }) |
855 | }, |
856 | { |
857 | "cortex-a520ae" , |
858 | ARMV9_2A, |
859 | AArch64::ExtensionBitset({ |
860 | AArch64::AEK_PERFMON, |
861 | AArch64::AEK_AM, |
862 | AArch64::AEK_MTE, |
863 | AArch64::AEK_ETE, |
864 | AArch64::AEK_SVEBITPERM, |
865 | AArch64::AEK_FP16FML, |
866 | AArch64::AEK_CCIDX, |
867 | AArch64::AEK_SB, |
868 | AArch64::AEK_SSBS, |
869 | AArch64::AEK_PAUTH, |
870 | AArch64::AEK_FLAGM, |
871 | AArch64::AEK_PREDRES, |
872 | AArch64::AEK_SVE, |
873 | AArch64::AEK_SVE2, |
874 | AArch64::AEK_BF16, |
875 | AArch64::AEK_FCMA, |
876 | AArch64::AEK_CRC, |
877 | AArch64::AEK_FP, |
878 | AArch64::AEK_FP16, |
879 | AArch64::AEK_I8MM, |
880 | AArch64::AEK_JSCVT, |
881 | AArch64::AEK_SIMD, |
882 | AArch64::AEK_LSE, |
883 | AArch64::AEK_RAS, |
884 | AArch64::AEK_RCPC, |
885 | AArch64::AEK_RDM, |
886 | AArch64::AEK_DOTPROD, |
887 | AArch64::AEK_FPAC, |
888 | }) |
889 | }, |
890 | { |
891 | "cortex-a57" , |
892 | ARMV8A, |
893 | AArch64::ExtensionBitset({ |
894 | AArch64::AEK_CRC, |
895 | AArch64::AEK_SHA2, |
896 | AArch64::AEK_AES, |
897 | AArch64::AEK_FP, |
898 | AArch64::AEK_SIMD, |
899 | AArch64::AEK_PERFMON, |
900 | }) |
901 | }, |
902 | { |
903 | "cortex-a65" , |
904 | ARMV8_2A, |
905 | AArch64::ExtensionBitset({ |
906 | AArch64::AEK_SHA2, |
907 | AArch64::AEK_AES, |
908 | AArch64::AEK_FP, |
909 | AArch64::AEK_SIMD, |
910 | AArch64::AEK_FP16, |
911 | AArch64::AEK_DOTPROD, |
912 | AArch64::AEK_RCPC, |
913 | AArch64::AEK_SSBS, |
914 | AArch64::AEK_RAS, |
915 | AArch64::AEK_PERFMON, |
916 | AArch64::AEK_CRC, |
917 | AArch64::AEK_LSE, |
918 | AArch64::AEK_RDM, |
919 | }) |
920 | }, |
921 | { |
922 | "cortex-a65ae" , |
923 | ARMV8_2A, |
924 | AArch64::ExtensionBitset({ |
925 | AArch64::AEK_SHA2, |
926 | AArch64::AEK_AES, |
927 | AArch64::AEK_FP, |
928 | AArch64::AEK_SIMD, |
929 | AArch64::AEK_FP16, |
930 | AArch64::AEK_DOTPROD, |
931 | AArch64::AEK_RCPC, |
932 | AArch64::AEK_SSBS, |
933 | AArch64::AEK_RAS, |
934 | AArch64::AEK_PERFMON, |
935 | AArch64::AEK_CRC, |
936 | AArch64::AEK_LSE, |
937 | AArch64::AEK_RDM, |
938 | }) |
939 | }, |
940 | { |
941 | "cortex-a72" , |
942 | ARMV8A, |
943 | AArch64::ExtensionBitset({ |
944 | AArch64::AEK_CRC, |
945 | AArch64::AEK_SHA2, |
946 | AArch64::AEK_AES, |
947 | AArch64::AEK_FP, |
948 | AArch64::AEK_SIMD, |
949 | AArch64::AEK_PERFMON, |
950 | }) |
951 | }, |
952 | { |
953 | "cortex-a73" , |
954 | ARMV8A, |
955 | AArch64::ExtensionBitset({ |
956 | AArch64::AEK_CRC, |
957 | AArch64::AEK_SHA2, |
958 | AArch64::AEK_AES, |
959 | AArch64::AEK_FP, |
960 | AArch64::AEK_SIMD, |
961 | AArch64::AEK_PERFMON, |
962 | }) |
963 | }, |
964 | { |
965 | "cortex-a75" , |
966 | ARMV8_2A, |
967 | AArch64::ExtensionBitset({ |
968 | AArch64::AEK_SHA2, |
969 | AArch64::AEK_AES, |
970 | AArch64::AEK_FP, |
971 | AArch64::AEK_SIMD, |
972 | AArch64::AEK_FP16, |
973 | AArch64::AEK_DOTPROD, |
974 | AArch64::AEK_RCPC, |
975 | AArch64::AEK_PERFMON, |
976 | AArch64::AEK_CRC, |
977 | AArch64::AEK_LSE, |
978 | AArch64::AEK_RAS, |
979 | AArch64::AEK_RDM, |
980 | }) |
981 | }, |
982 | { |
983 | "cortex-a76" , |
984 | ARMV8_2A, |
985 | AArch64::ExtensionBitset({ |
986 | AArch64::AEK_SHA2, |
987 | AArch64::AEK_AES, |
988 | AArch64::AEK_FP, |
989 | AArch64::AEK_SIMD, |
990 | AArch64::AEK_FP16, |
991 | AArch64::AEK_DOTPROD, |
992 | AArch64::AEK_RCPC, |
993 | AArch64::AEK_SSBS, |
994 | AArch64::AEK_PERFMON, |
995 | AArch64::AEK_CRC, |
996 | AArch64::AEK_LSE, |
997 | AArch64::AEK_RAS, |
998 | AArch64::AEK_RDM, |
999 | }) |
1000 | }, |
1001 | { |
1002 | "cortex-a76ae" , |
1003 | ARMV8_2A, |
1004 | AArch64::ExtensionBitset({ |
1005 | AArch64::AEK_SHA2, |
1006 | AArch64::AEK_AES, |
1007 | AArch64::AEK_FP, |
1008 | AArch64::AEK_SIMD, |
1009 | AArch64::AEK_FP16, |
1010 | AArch64::AEK_DOTPROD, |
1011 | AArch64::AEK_RCPC, |
1012 | AArch64::AEK_SSBS, |
1013 | AArch64::AEK_PERFMON, |
1014 | AArch64::AEK_CRC, |
1015 | AArch64::AEK_LSE, |
1016 | AArch64::AEK_RAS, |
1017 | AArch64::AEK_RDM, |
1018 | }) |
1019 | }, |
1020 | { |
1021 | "cortex-a77" , |
1022 | ARMV8_2A, |
1023 | AArch64::ExtensionBitset({ |
1024 | AArch64::AEK_SHA2, |
1025 | AArch64::AEK_AES, |
1026 | AArch64::AEK_FP, |
1027 | AArch64::AEK_SIMD, |
1028 | AArch64::AEK_FP16, |
1029 | AArch64::AEK_DOTPROD, |
1030 | AArch64::AEK_RCPC, |
1031 | AArch64::AEK_PERFMON, |
1032 | AArch64::AEK_SSBS, |
1033 | AArch64::AEK_CRC, |
1034 | AArch64::AEK_LSE, |
1035 | AArch64::AEK_RAS, |
1036 | AArch64::AEK_RDM, |
1037 | }) |
1038 | }, |
1039 | { |
1040 | "cortex-a78" , |
1041 | ARMV8_2A, |
1042 | AArch64::ExtensionBitset({ |
1043 | AArch64::AEK_SHA2, |
1044 | AArch64::AEK_AES, |
1045 | AArch64::AEK_FP, |
1046 | AArch64::AEK_SIMD, |
1047 | AArch64::AEK_FP16, |
1048 | AArch64::AEK_DOTPROD, |
1049 | AArch64::AEK_RCPC, |
1050 | AArch64::AEK_PERFMON, |
1051 | AArch64::AEK_PROFILE, |
1052 | AArch64::AEK_SSBS, |
1053 | AArch64::AEK_CRC, |
1054 | AArch64::AEK_LSE, |
1055 | AArch64::AEK_RAS, |
1056 | AArch64::AEK_RDM, |
1057 | }) |
1058 | }, |
1059 | { |
1060 | "cortex-a78ae" , |
1061 | ARMV8_2A, |
1062 | AArch64::ExtensionBitset({ |
1063 | AArch64::AEK_SHA2, |
1064 | AArch64::AEK_AES, |
1065 | AArch64::AEK_FP, |
1066 | AArch64::AEK_SIMD, |
1067 | AArch64::AEK_FP16, |
1068 | AArch64::AEK_DOTPROD, |
1069 | AArch64::AEK_RCPC, |
1070 | AArch64::AEK_PERFMON, |
1071 | AArch64::AEK_PROFILE, |
1072 | AArch64::AEK_SSBS, |
1073 | AArch64::AEK_CRC, |
1074 | AArch64::AEK_LSE, |
1075 | AArch64::AEK_RAS, |
1076 | AArch64::AEK_RDM, |
1077 | }) |
1078 | }, |
1079 | { |
1080 | "cortex-a78c" , |
1081 | ARMV8_2A, |
1082 | AArch64::ExtensionBitset({ |
1083 | AArch64::AEK_SHA2, |
1084 | AArch64::AEK_AES, |
1085 | AArch64::AEK_FP, |
1086 | AArch64::AEK_SIMD, |
1087 | AArch64::AEK_FP16, |
1088 | AArch64::AEK_DOTPROD, |
1089 | AArch64::AEK_FLAGM, |
1090 | AArch64::AEK_PAUTH, |
1091 | AArch64::AEK_PERFMON, |
1092 | AArch64::AEK_RCPC, |
1093 | AArch64::AEK_PROFILE, |
1094 | AArch64::AEK_SSBS, |
1095 | AArch64::AEK_CRC, |
1096 | AArch64::AEK_LSE, |
1097 | AArch64::AEK_RAS, |
1098 | AArch64::AEK_RDM, |
1099 | }) |
1100 | }, |
1101 | { |
1102 | "cortex-a710" , |
1103 | ARMV9A, |
1104 | AArch64::ExtensionBitset({ |
1105 | AArch64::AEK_SIMD, |
1106 | AArch64::AEK_PERFMON, |
1107 | AArch64::AEK_CCIDX, |
1108 | AArch64::AEK_SSBS, |
1109 | AArch64::AEK_ETE, |
1110 | AArch64::AEK_MTE, |
1111 | AArch64::AEK_FP16FML, |
1112 | AArch64::AEK_SVEBITPERM, |
1113 | AArch64::AEK_BF16, |
1114 | AArch64::AEK_I8MM, |
1115 | AArch64::AEK_PAUTH, |
1116 | AArch64::AEK_FLAGM, |
1117 | AArch64::AEK_SB, |
1118 | AArch64::AEK_SVE, |
1119 | AArch64::AEK_SVE2, |
1120 | AArch64::AEK_FPAC, |
1121 | AArch64::AEK_FCMA, |
1122 | AArch64::AEK_CRC, |
1123 | AArch64::AEK_DOTPROD, |
1124 | AArch64::AEK_FP, |
1125 | AArch64::AEK_FP16, |
1126 | AArch64::AEK_JSCVT, |
1127 | AArch64::AEK_LSE, |
1128 | AArch64::AEK_RAS, |
1129 | AArch64::AEK_RCPC, |
1130 | AArch64::AEK_RDM, |
1131 | }) |
1132 | }, |
1133 | { |
1134 | "cortex-a715" , |
1135 | ARMV9A, |
1136 | AArch64::ExtensionBitset({ |
1137 | AArch64::AEK_SIMD, |
1138 | AArch64::AEK_MTE, |
1139 | AArch64::AEK_CCIDX, |
1140 | AArch64::AEK_FP16FML, |
1141 | AArch64::AEK_SVE, |
1142 | AArch64::AEK_TRBE, |
1143 | AArch64::AEK_SVEBITPERM, |
1144 | AArch64::AEK_BF16, |
1145 | AArch64::AEK_ETE, |
1146 | AArch64::AEK_PERFMON, |
1147 | AArch64::AEK_I8MM, |
1148 | AArch64::AEK_PROFILE, |
1149 | AArch64::AEK_SB, |
1150 | AArch64::AEK_SSBS, |
1151 | AArch64::AEK_FP16, |
1152 | AArch64::AEK_PAUTH, |
1153 | AArch64::AEK_PREDRES, |
1154 | AArch64::AEK_FLAGM, |
1155 | AArch64::AEK_SVE2, |
1156 | AArch64::AEK_FCMA, |
1157 | AArch64::AEK_CRC, |
1158 | AArch64::AEK_DOTPROD, |
1159 | AArch64::AEK_FP, |
1160 | AArch64::AEK_JSCVT, |
1161 | AArch64::AEK_LSE, |
1162 | AArch64::AEK_RAS, |
1163 | AArch64::AEK_RCPC, |
1164 | AArch64::AEK_RDM, |
1165 | AArch64::AEK_FPAC, |
1166 | }) |
1167 | }, |
1168 | { |
1169 | "cortex-a720" , |
1170 | ARMV9_2A, |
1171 | AArch64::ExtensionBitset({ |
1172 | AArch64::AEK_MTE, |
1173 | AArch64::AEK_FP16FML, |
1174 | AArch64::AEK_CCIDX, |
1175 | AArch64::AEK_TRBE, |
1176 | AArch64::AEK_SVEBITPERM, |
1177 | AArch64::AEK_ETE, |
1178 | AArch64::AEK_PERFMON, |
1179 | AArch64::AEK_PROFILE, |
1180 | AArch64::AEK_SPE_EEF, |
1181 | AArch64::AEK_SB, |
1182 | AArch64::AEK_SSBS, |
1183 | AArch64::AEK_PAUTH, |
1184 | AArch64::AEK_FLAGM, |
1185 | AArch64::AEK_PREDRES, |
1186 | AArch64::AEK_SVE, |
1187 | AArch64::AEK_SVE2, |
1188 | AArch64::AEK_BF16, |
1189 | AArch64::AEK_FCMA, |
1190 | AArch64::AEK_CRC, |
1191 | AArch64::AEK_DOTPROD, |
1192 | AArch64::AEK_FP, |
1193 | AArch64::AEK_FP16, |
1194 | AArch64::AEK_I8MM, |
1195 | AArch64::AEK_JSCVT, |
1196 | AArch64::AEK_LSE, |
1197 | AArch64::AEK_SIMD, |
1198 | AArch64::AEK_RAS, |
1199 | AArch64::AEK_RCPC, |
1200 | AArch64::AEK_RDM, |
1201 | AArch64::AEK_FPAC, |
1202 | }) |
1203 | }, |
1204 | { |
1205 | "cortex-a720ae" , |
1206 | ARMV9_2A, |
1207 | AArch64::ExtensionBitset({ |
1208 | AArch64::AEK_MTE, |
1209 | AArch64::AEK_FP16FML, |
1210 | AArch64::AEK_CCIDX, |
1211 | AArch64::AEK_TRBE, |
1212 | AArch64::AEK_SVEBITPERM, |
1213 | AArch64::AEK_ETE, |
1214 | AArch64::AEK_PERFMON, |
1215 | AArch64::AEK_PROFILE, |
1216 | AArch64::AEK_SPE_EEF, |
1217 | AArch64::AEK_SB, |
1218 | AArch64::AEK_SSBS, |
1219 | AArch64::AEK_PAUTH, |
1220 | AArch64::AEK_FLAGM, |
1221 | AArch64::AEK_PREDRES, |
1222 | AArch64::AEK_SVE, |
1223 | AArch64::AEK_SVE2, |
1224 | AArch64::AEK_BF16, |
1225 | AArch64::AEK_FCMA, |
1226 | AArch64::AEK_CRC, |
1227 | AArch64::AEK_DOTPROD, |
1228 | AArch64::AEK_FP, |
1229 | AArch64::AEK_FP16, |
1230 | AArch64::AEK_I8MM, |
1231 | AArch64::AEK_JSCVT, |
1232 | AArch64::AEK_LSE, |
1233 | AArch64::AEK_SIMD, |
1234 | AArch64::AEK_RAS, |
1235 | AArch64::AEK_RCPC, |
1236 | AArch64::AEK_RDM, |
1237 | AArch64::AEK_FPAC, |
1238 | }) |
1239 | }, |
1240 | { |
1241 | "cortex-a725" , |
1242 | ARMV9_2A, |
1243 | AArch64::ExtensionBitset({ |
1244 | AArch64::AEK_MTE, |
1245 | AArch64::AEK_FP16FML, |
1246 | AArch64::AEK_CCIDX, |
1247 | AArch64::AEK_ETE, |
1248 | AArch64::AEK_PERFMON, |
1249 | AArch64::AEK_PROFILE, |
1250 | AArch64::AEK_SVEBITPERM, |
1251 | AArch64::AEK_SPE_EEF, |
1252 | AArch64::AEK_TRBE, |
1253 | AArch64::AEK_FLAGM, |
1254 | AArch64::AEK_PREDRES, |
1255 | AArch64::AEK_SB, |
1256 | AArch64::AEK_SSBS, |
1257 | AArch64::AEK_SVE, |
1258 | AArch64::AEK_SVE2, |
1259 | AArch64::AEK_BF16, |
1260 | AArch64::AEK_FCMA, |
1261 | AArch64::AEK_CRC, |
1262 | AArch64::AEK_DOTPROD, |
1263 | AArch64::AEK_FP, |
1264 | AArch64::AEK_FP16, |
1265 | AArch64::AEK_I8MM, |
1266 | AArch64::AEK_JSCVT, |
1267 | AArch64::AEK_LSE, |
1268 | AArch64::AEK_SIMD, |
1269 | AArch64::AEK_PAUTH, |
1270 | AArch64::AEK_RAS, |
1271 | AArch64::AEK_RCPC, |
1272 | AArch64::AEK_RDM, |
1273 | AArch64::AEK_FPAC, |
1274 | }) |
1275 | }, |
1276 | { |
1277 | "cortex-r82" , |
1278 | ARMV8R, |
1279 | AArch64::ExtensionBitset({ |
1280 | AArch64::AEK_PERFMON, |
1281 | AArch64::AEK_FP16, |
1282 | AArch64::AEK_FP16FML, |
1283 | AArch64::AEK_SSBS, |
1284 | AArch64::AEK_PREDRES, |
1285 | AArch64::AEK_SB, |
1286 | AArch64::AEK_RDM, |
1287 | AArch64::AEK_DOTPROD, |
1288 | AArch64::AEK_FCMA, |
1289 | AArch64::AEK_JSCVT, |
1290 | AArch64::AEK_CCDP, |
1291 | AArch64::AEK_FLAGM, |
1292 | AArch64::AEK_CRC, |
1293 | AArch64::AEK_LSE, |
1294 | AArch64::AEK_RAS, |
1295 | AArch64::AEK_FP, |
1296 | AArch64::AEK_SIMD, |
1297 | AArch64::AEK_PAUTH, |
1298 | AArch64::AEK_RCPC, |
1299 | AArch64::AEK_FPAC, |
1300 | }) |
1301 | }, |
1302 | { |
1303 | "cortex-r82ae" , |
1304 | ARMV8R, |
1305 | AArch64::ExtensionBitset({ |
1306 | AArch64::AEK_PERFMON, |
1307 | AArch64::AEK_FP16, |
1308 | AArch64::AEK_FP16FML, |
1309 | AArch64::AEK_SSBS, |
1310 | AArch64::AEK_PREDRES, |
1311 | AArch64::AEK_SB, |
1312 | AArch64::AEK_RDM, |
1313 | AArch64::AEK_DOTPROD, |
1314 | AArch64::AEK_FCMA, |
1315 | AArch64::AEK_JSCVT, |
1316 | AArch64::AEK_CCDP, |
1317 | AArch64::AEK_LSE, |
1318 | AArch64::AEK_FLAGM, |
1319 | AArch64::AEK_CRC, |
1320 | AArch64::AEK_FP, |
1321 | AArch64::AEK_SIMD, |
1322 | AArch64::AEK_PAUTH, |
1323 | AArch64::AEK_RAS, |
1324 | AArch64::AEK_RCPC, |
1325 | AArch64::AEK_FPAC, |
1326 | }) |
1327 | }, |
1328 | { |
1329 | "cortex-x1" , |
1330 | ARMV8_2A, |
1331 | AArch64::ExtensionBitset({ |
1332 | AArch64::AEK_SHA2, |
1333 | AArch64::AEK_AES, |
1334 | AArch64::AEK_FP, |
1335 | AArch64::AEK_SIMD, |
1336 | AArch64::AEK_RCPC, |
1337 | AArch64::AEK_PERFMON, |
1338 | AArch64::AEK_PROFILE, |
1339 | AArch64::AEK_FP16, |
1340 | AArch64::AEK_DOTPROD, |
1341 | AArch64::AEK_SSBS, |
1342 | AArch64::AEK_CRC, |
1343 | AArch64::AEK_LSE, |
1344 | AArch64::AEK_RAS, |
1345 | AArch64::AEK_RDM, |
1346 | }) |
1347 | }, |
1348 | { |
1349 | "cortex-x1c" , |
1350 | ARMV8_2A, |
1351 | AArch64::ExtensionBitset({ |
1352 | AArch64::AEK_SHA2, |
1353 | AArch64::AEK_AES, |
1354 | AArch64::AEK_FP, |
1355 | AArch64::AEK_SIMD, |
1356 | AArch64::AEK_RCPC_IMMO, |
1357 | AArch64::AEK_PERFMON, |
1358 | AArch64::AEK_PROFILE, |
1359 | AArch64::AEK_FP16, |
1360 | AArch64::AEK_DOTPROD, |
1361 | AArch64::AEK_PAUTH, |
1362 | AArch64::AEK_SSBS, |
1363 | AArch64::AEK_FLAGM, |
1364 | AArch64::AEK_LSE2, |
1365 | AArch64::AEK_RCPC, |
1366 | AArch64::AEK_CRC, |
1367 | AArch64::AEK_LSE, |
1368 | AArch64::AEK_RAS, |
1369 | AArch64::AEK_RDM, |
1370 | }) |
1371 | }, |
1372 | { |
1373 | "cortex-x2" , |
1374 | ARMV9A, |
1375 | AArch64::ExtensionBitset({ |
1376 | AArch64::AEK_SIMD, |
1377 | AArch64::AEK_PERFMON, |
1378 | AArch64::AEK_I8MM, |
1379 | AArch64::AEK_BF16, |
1380 | AArch64::AEK_AM, |
1381 | AArch64::AEK_MTE, |
1382 | AArch64::AEK_ETE, |
1383 | AArch64::AEK_SVEBITPERM, |
1384 | AArch64::AEK_FP16FML, |
1385 | AArch64::AEK_CCIDX, |
1386 | AArch64::AEK_PAUTH, |
1387 | AArch64::AEK_SSBS, |
1388 | AArch64::AEK_SB, |
1389 | AArch64::AEK_SVE, |
1390 | AArch64::AEK_SVE2, |
1391 | AArch64::AEK_FLAGM, |
1392 | AArch64::AEK_FCMA, |
1393 | AArch64::AEK_CRC, |
1394 | AArch64::AEK_DOTPROD, |
1395 | AArch64::AEK_FP, |
1396 | AArch64::AEK_FP16, |
1397 | AArch64::AEK_JSCVT, |
1398 | AArch64::AEK_LSE, |
1399 | AArch64::AEK_RAS, |
1400 | AArch64::AEK_RCPC, |
1401 | AArch64::AEK_RDM, |
1402 | AArch64::AEK_FPAC, |
1403 | }) |
1404 | }, |
1405 | { |
1406 | "cortex-x3" , |
1407 | ARMV9A, |
1408 | AArch64::ExtensionBitset({ |
1409 | AArch64::AEK_SVE, |
1410 | AArch64::AEK_SIMD, |
1411 | AArch64::AEK_PERFMON, |
1412 | AArch64::AEK_ETE, |
1413 | AArch64::AEK_TRBE, |
1414 | AArch64::AEK_PROFILE, |
1415 | AArch64::AEK_BF16, |
1416 | AArch64::AEK_I8MM, |
1417 | AArch64::AEK_MTE, |
1418 | AArch64::AEK_SVEBITPERM, |
1419 | AArch64::AEK_FP16, |
1420 | AArch64::AEK_FP16FML, |
1421 | AArch64::AEK_CCIDX, |
1422 | AArch64::AEK_SB, |
1423 | AArch64::AEK_PAUTH, |
1424 | AArch64::AEK_PREDRES, |
1425 | AArch64::AEK_FLAGM, |
1426 | AArch64::AEK_SSBS, |
1427 | AArch64::AEK_SVE2, |
1428 | AArch64::AEK_FCMA, |
1429 | AArch64::AEK_CRC, |
1430 | AArch64::AEK_FP, |
1431 | AArch64::AEK_JSCVT, |
1432 | AArch64::AEK_LSE, |
1433 | AArch64::AEK_RAS, |
1434 | AArch64::AEK_RCPC, |
1435 | AArch64::AEK_RDM, |
1436 | AArch64::AEK_DOTPROD, |
1437 | AArch64::AEK_FPAC, |
1438 | }) |
1439 | }, |
1440 | { |
1441 | "cortex-x4" , |
1442 | ARMV9_2A, |
1443 | AArch64::ExtensionBitset({ |
1444 | AArch64::AEK_PERFMON, |
1445 | AArch64::AEK_ETE, |
1446 | AArch64::AEK_TRBE, |
1447 | AArch64::AEK_PROFILE, |
1448 | AArch64::AEK_MTE, |
1449 | AArch64::AEK_SVEBITPERM, |
1450 | AArch64::AEK_FP16FML, |
1451 | AArch64::AEK_SPE_EEF, |
1452 | AArch64::AEK_CCIDX, |
1453 | AArch64::AEK_SB, |
1454 | AArch64::AEK_SSBS, |
1455 | AArch64::AEK_PAUTH, |
1456 | AArch64::AEK_FLAGM, |
1457 | AArch64::AEK_PREDRES, |
1458 | AArch64::AEK_SVE, |
1459 | AArch64::AEK_SVE2, |
1460 | AArch64::AEK_FCMA, |
1461 | AArch64::AEK_CRC, |
1462 | AArch64::AEK_DOTPROD, |
1463 | AArch64::AEK_FP, |
1464 | AArch64::AEK_FP16, |
1465 | AArch64::AEK_I8MM, |
1466 | AArch64::AEK_JSCVT, |
1467 | AArch64::AEK_LSE, |
1468 | AArch64::AEK_SIMD, |
1469 | AArch64::AEK_RAS, |
1470 | AArch64::AEK_RCPC, |
1471 | AArch64::AEK_RDM, |
1472 | AArch64::AEK_BF16, |
1473 | AArch64::AEK_FPAC, |
1474 | }) |
1475 | }, |
1476 | { |
1477 | "cortex-x925" , |
1478 | ARMV9_2A, |
1479 | AArch64::ExtensionBitset({ |
1480 | AArch64::AEK_MTE, |
1481 | AArch64::AEK_FP16FML, |
1482 | AArch64::AEK_CCIDX, |
1483 | AArch64::AEK_ETE, |
1484 | AArch64::AEK_PERFMON, |
1485 | AArch64::AEK_PROFILE, |
1486 | AArch64::AEK_SVEBITPERM, |
1487 | AArch64::AEK_SPE_EEF, |
1488 | AArch64::AEK_TRBE, |
1489 | AArch64::AEK_FLAGM, |
1490 | AArch64::AEK_PREDRES, |
1491 | AArch64::AEK_SB, |
1492 | AArch64::AEK_SSBS, |
1493 | AArch64::AEK_SVE, |
1494 | AArch64::AEK_SVE2, |
1495 | AArch64::AEK_BF16, |
1496 | AArch64::AEK_FCMA, |
1497 | AArch64::AEK_CRC, |
1498 | AArch64::AEK_DOTPROD, |
1499 | AArch64::AEK_FP, |
1500 | AArch64::AEK_FP16, |
1501 | AArch64::AEK_I8MM, |
1502 | AArch64::AEK_JSCVT, |
1503 | AArch64::AEK_LSE, |
1504 | AArch64::AEK_SIMD, |
1505 | AArch64::AEK_PAUTH, |
1506 | AArch64::AEK_RAS, |
1507 | AArch64::AEK_RCPC, |
1508 | AArch64::AEK_RDM, |
1509 | AArch64::AEK_FPAC, |
1510 | }) |
1511 | }, |
1512 | { |
1513 | "grace" , |
1514 | ARMV9A, |
1515 | AArch64::ExtensionBitset({ |
1516 | AArch64::AEK_BF16, |
1517 | AArch64::AEK_PROFILE, |
1518 | AArch64::AEK_PERFMON, |
1519 | AArch64::AEK_ETE, |
1520 | AArch64::AEK_I8MM, |
1521 | AArch64::AEK_SIMD, |
1522 | AArch64::AEK_SVEBITPERM, |
1523 | AArch64::AEK_FP16FML, |
1524 | AArch64::AEK_MTE, |
1525 | AArch64::AEK_RAND, |
1526 | AArch64::AEK_CCIDX, |
1527 | AArch64::AEK_SVE, |
1528 | AArch64::AEK_SVE2, |
1529 | AArch64::AEK_SSBS, |
1530 | AArch64::AEK_FP16, |
1531 | AArch64::AEK_DOTPROD, |
1532 | AArch64::AEK_FCMA, |
1533 | AArch64::AEK_CRC, |
1534 | AArch64::AEK_FP, |
1535 | AArch64::AEK_JSCVT, |
1536 | AArch64::AEK_LSE, |
1537 | AArch64::AEK_PAUTH, |
1538 | AArch64::AEK_RAS, |
1539 | AArch64::AEK_RCPC, |
1540 | AArch64::AEK_RDM, |
1541 | AArch64::AEK_FPAC, |
1542 | AArch64::AEK_SVE2SM4, |
1543 | AArch64::AEK_SVEAES, |
1544 | AArch64::AEK_SVESHA3, |
1545 | }) |
1546 | }, |
1547 | { |
1548 | "neoverse-e1" , |
1549 | ARMV8_2A, |
1550 | AArch64::ExtensionBitset({ |
1551 | AArch64::AEK_SHA2, |
1552 | AArch64::AEK_AES, |
1553 | AArch64::AEK_DOTPROD, |
1554 | AArch64::AEK_FP, |
1555 | AArch64::AEK_FP16, |
1556 | AArch64::AEK_SIMD, |
1557 | AArch64::AEK_RCPC, |
1558 | AArch64::AEK_SSBS, |
1559 | AArch64::AEK_PERFMON, |
1560 | AArch64::AEK_CRC, |
1561 | AArch64::AEK_LSE, |
1562 | AArch64::AEK_RAS, |
1563 | AArch64::AEK_RDM, |
1564 | }) |
1565 | }, |
1566 | { |
1567 | "neoverse-n1" , |
1568 | ARMV8_2A, |
1569 | AArch64::ExtensionBitset({ |
1570 | AArch64::AEK_SHA2, |
1571 | AArch64::AEK_AES, |
1572 | AArch64::AEK_DOTPROD, |
1573 | AArch64::AEK_FP, |
1574 | AArch64::AEK_FP16, |
1575 | AArch64::AEK_SIMD, |
1576 | AArch64::AEK_RCPC, |
1577 | AArch64::AEK_PROFILE, |
1578 | AArch64::AEK_SSBS, |
1579 | AArch64::AEK_PERFMON, |
1580 | AArch64::AEK_CRC, |
1581 | AArch64::AEK_LSE, |
1582 | AArch64::AEK_RAS, |
1583 | AArch64::AEK_RDM, |
1584 | }) |
1585 | }, |
1586 | { |
1587 | "neoverse-n2" , |
1588 | ARMV9A, |
1589 | AArch64::ExtensionBitset({ |
1590 | AArch64::AEK_BF16, |
1591 | AArch64::AEK_ETE, |
1592 | AArch64::AEK_FP16FML, |
1593 | AArch64::AEK_I8MM, |
1594 | AArch64::AEK_MTE, |
1595 | AArch64::AEK_SVE2, |
1596 | AArch64::AEK_SVEBITPERM, |
1597 | AArch64::AEK_TRBE, |
1598 | AArch64::AEK_PERFMON, |
1599 | AArch64::AEK_CCIDX, |
1600 | AArch64::AEK_DOTPROD, |
1601 | AArch64::AEK_FP16, |
1602 | AArch64::AEK_SB, |
1603 | AArch64::AEK_SSBS, |
1604 | AArch64::AEK_SVE, |
1605 | AArch64::AEK_FCMA, |
1606 | AArch64::AEK_CRC, |
1607 | AArch64::AEK_FP, |
1608 | AArch64::AEK_JSCVT, |
1609 | AArch64::AEK_LSE, |
1610 | AArch64::AEK_SIMD, |
1611 | AArch64::AEK_PAUTH, |
1612 | AArch64::AEK_RAS, |
1613 | AArch64::AEK_RCPC, |
1614 | AArch64::AEK_RDM, |
1615 | AArch64::AEK_FPAC, |
1616 | }) |
1617 | }, |
1618 | { |
1619 | "neoverse-n3" , |
1620 | ARMV9_2A, |
1621 | AArch64::ExtensionBitset({ |
1622 | AArch64::AEK_ETE, |
1623 | AArch64::AEK_FP16FML, |
1624 | AArch64::AEK_FP16, |
1625 | AArch64::AEK_MTE, |
1626 | AArch64::AEK_PERFMON, |
1627 | AArch64::AEK_RAND, |
1628 | AArch64::AEK_PROFILE, |
1629 | AArch64::AEK_SPE_EEF, |
1630 | AArch64::AEK_SVEBITPERM, |
1631 | AArch64::AEK_CCIDX, |
1632 | AArch64::AEK_SSBS, |
1633 | AArch64::AEK_SB, |
1634 | AArch64::AEK_PREDRES, |
1635 | AArch64::AEK_PAUTH, |
1636 | AArch64::AEK_FLAGM, |
1637 | AArch64::AEK_SVE, |
1638 | AArch64::AEK_SVE2, |
1639 | AArch64::AEK_BF16, |
1640 | AArch64::AEK_FCMA, |
1641 | AArch64::AEK_CRC, |
1642 | AArch64::AEK_DOTPROD, |
1643 | AArch64::AEK_FP, |
1644 | AArch64::AEK_I8MM, |
1645 | AArch64::AEK_JSCVT, |
1646 | AArch64::AEK_LSE, |
1647 | AArch64::AEK_RAS, |
1648 | AArch64::AEK_RCPC, |
1649 | AArch64::AEK_RDM, |
1650 | AArch64::AEK_SIMD, |
1651 | AArch64::AEK_FPAC, |
1652 | }) |
1653 | }, |
1654 | { |
1655 | "neoverse-512tvb" , |
1656 | ARMV8_4A, |
1657 | AArch64::ExtensionBitset({ |
1658 | AArch64::AEK_BF16, |
1659 | AArch64::AEK_CCDP, |
1660 | AArch64::AEK_SHA2, |
1661 | AArch64::AEK_AES, |
1662 | AArch64::AEK_FP, |
1663 | AArch64::AEK_FP16FML, |
1664 | AArch64::AEK_FP16, |
1665 | AArch64::AEK_I8MM, |
1666 | AArch64::AEK_SIMD, |
1667 | AArch64::AEK_PERFMON, |
1668 | AArch64::AEK_RAND, |
1669 | AArch64::AEK_PROFILE, |
1670 | AArch64::AEK_SSBS, |
1671 | AArch64::AEK_SVE, |
1672 | AArch64::AEK_CCIDX, |
1673 | AArch64::AEK_SHA3, |
1674 | AArch64::AEK_SM4, |
1675 | AArch64::AEK_DOTPROD, |
1676 | AArch64::AEK_FCMA, |
1677 | AArch64::AEK_CRC, |
1678 | AArch64::AEK_JSCVT, |
1679 | AArch64::AEK_LSE, |
1680 | AArch64::AEK_PAUTH, |
1681 | AArch64::AEK_RAS, |
1682 | AArch64::AEK_RCPC, |
1683 | AArch64::AEK_RDM, |
1684 | AArch64::AEK_FPAC, |
1685 | }) |
1686 | }, |
1687 | { |
1688 | "neoverse-v1" , |
1689 | ARMV8_4A, |
1690 | AArch64::ExtensionBitset({ |
1691 | AArch64::AEK_BF16, |
1692 | AArch64::AEK_CCDP, |
1693 | AArch64::AEK_SHA2, |
1694 | AArch64::AEK_AES, |
1695 | AArch64::AEK_FP, |
1696 | AArch64::AEK_FP16FML, |
1697 | AArch64::AEK_FP16, |
1698 | AArch64::AEK_I8MM, |
1699 | AArch64::AEK_SIMD, |
1700 | AArch64::AEK_PERFMON, |
1701 | AArch64::AEK_RAND, |
1702 | AArch64::AEK_PROFILE, |
1703 | AArch64::AEK_SSBS, |
1704 | AArch64::AEK_SVE, |
1705 | AArch64::AEK_CCIDX, |
1706 | AArch64::AEK_SHA3, |
1707 | AArch64::AEK_SM4, |
1708 | AArch64::AEK_DOTPROD, |
1709 | AArch64::AEK_FCMA, |
1710 | AArch64::AEK_CRC, |
1711 | AArch64::AEK_JSCVT, |
1712 | AArch64::AEK_LSE, |
1713 | AArch64::AEK_PAUTH, |
1714 | AArch64::AEK_RAS, |
1715 | AArch64::AEK_RCPC, |
1716 | AArch64::AEK_RDM, |
1717 | }) |
1718 | }, |
1719 | { |
1720 | "neoverse-v2" , |
1721 | ARMV9A, |
1722 | AArch64::ExtensionBitset({ |
1723 | AArch64::AEK_BF16, |
1724 | AArch64::AEK_PROFILE, |
1725 | AArch64::AEK_PERFMON, |
1726 | AArch64::AEK_ETE, |
1727 | AArch64::AEK_I8MM, |
1728 | AArch64::AEK_SIMD, |
1729 | AArch64::AEK_SVEBITPERM, |
1730 | AArch64::AEK_FP16FML, |
1731 | AArch64::AEK_MTE, |
1732 | AArch64::AEK_RAND, |
1733 | AArch64::AEK_CCIDX, |
1734 | AArch64::AEK_SVE, |
1735 | AArch64::AEK_SVE2, |
1736 | AArch64::AEK_SSBS, |
1737 | AArch64::AEK_FP16, |
1738 | AArch64::AEK_DOTPROD, |
1739 | AArch64::AEK_FCMA, |
1740 | AArch64::AEK_CRC, |
1741 | AArch64::AEK_FP, |
1742 | AArch64::AEK_JSCVT, |
1743 | AArch64::AEK_LSE, |
1744 | AArch64::AEK_PAUTH, |
1745 | AArch64::AEK_RAS, |
1746 | AArch64::AEK_RCPC, |
1747 | AArch64::AEK_RDM, |
1748 | AArch64::AEK_FPAC, |
1749 | }) |
1750 | }, |
1751 | { |
1752 | "neoverse-v3" , |
1753 | ARMV9_2A, |
1754 | AArch64::ExtensionBitset({ |
1755 | AArch64::AEK_ETE, |
1756 | AArch64::AEK_FP16FML, |
1757 | AArch64::AEK_FP16, |
1758 | AArch64::AEK_LS64, |
1759 | AArch64::AEK_MTE, |
1760 | AArch64::AEK_PERFMON, |
1761 | AArch64::AEK_RAND, |
1762 | AArch64::AEK_PROFILE, |
1763 | AArch64::AEK_CCIDX, |
1764 | AArch64::AEK_SPE_EEF, |
1765 | AArch64::AEK_SVEBITPERM, |
1766 | AArch64::AEK_BRBE, |
1767 | AArch64::AEK_SSBS, |
1768 | AArch64::AEK_SB, |
1769 | AArch64::AEK_PREDRES, |
1770 | AArch64::AEK_PAUTH, |
1771 | AArch64::AEK_FLAGM, |
1772 | AArch64::AEK_SVE, |
1773 | AArch64::AEK_SVE2, |
1774 | AArch64::AEK_BF16, |
1775 | AArch64::AEK_FCMA, |
1776 | AArch64::AEK_CRC, |
1777 | AArch64::AEK_DOTPROD, |
1778 | AArch64::AEK_FP, |
1779 | AArch64::AEK_I8MM, |
1780 | AArch64::AEK_JSCVT, |
1781 | AArch64::AEK_LSE, |
1782 | AArch64::AEK_SIMD, |
1783 | AArch64::AEK_RAS, |
1784 | AArch64::AEK_RCPC, |
1785 | AArch64::AEK_RDM, |
1786 | AArch64::AEK_RME, |
1787 | AArch64::AEK_FPAC, |
1788 | }) |
1789 | }, |
1790 | { |
1791 | "neoverse-v3ae" , |
1792 | ARMV9_2A, |
1793 | AArch64::ExtensionBitset({ |
1794 | AArch64::AEK_ETE, |
1795 | AArch64::AEK_FP16FML, |
1796 | AArch64::AEK_FP16, |
1797 | AArch64::AEK_LS64, |
1798 | AArch64::AEK_MTE, |
1799 | AArch64::AEK_PERFMON, |
1800 | AArch64::AEK_RAND, |
1801 | AArch64::AEK_PROFILE, |
1802 | AArch64::AEK_SPE_EEF, |
1803 | AArch64::AEK_SVEBITPERM, |
1804 | AArch64::AEK_BRBE, |
1805 | AArch64::AEK_SSBS, |
1806 | AArch64::AEK_SB, |
1807 | AArch64::AEK_PREDRES, |
1808 | AArch64::AEK_PAUTH, |
1809 | AArch64::AEK_FLAGM, |
1810 | AArch64::AEK_CCIDX, |
1811 | AArch64::AEK_SVE, |
1812 | AArch64::AEK_SVE2, |
1813 | AArch64::AEK_BF16, |
1814 | AArch64::AEK_FCMA, |
1815 | AArch64::AEK_CRC, |
1816 | AArch64::AEK_DOTPROD, |
1817 | AArch64::AEK_FP, |
1818 | AArch64::AEK_I8MM, |
1819 | AArch64::AEK_JSCVT, |
1820 | AArch64::AEK_LSE, |
1821 | AArch64::AEK_SIMD, |
1822 | AArch64::AEK_RAS, |
1823 | AArch64::AEK_RCPC, |
1824 | AArch64::AEK_RDM, |
1825 | AArch64::AEK_RME, |
1826 | AArch64::AEK_FPAC, |
1827 | }) |
1828 | }, |
1829 | { |
1830 | "exynos-m3" , |
1831 | ARMV8A, |
1832 | AArch64::ExtensionBitset({ |
1833 | AArch64::AEK_CRC, |
1834 | AArch64::AEK_SHA2, |
1835 | AArch64::AEK_AES, |
1836 | AArch64::AEK_PERFMON, |
1837 | AArch64::AEK_SIMD, |
1838 | AArch64::AEK_FP, |
1839 | }) |
1840 | }, |
1841 | { |
1842 | "exynos-m4" , |
1843 | ARMV8_2A, |
1844 | AArch64::ExtensionBitset({ |
1845 | AArch64::AEK_SHA2, |
1846 | AArch64::AEK_AES, |
1847 | AArch64::AEK_DOTPROD, |
1848 | AArch64::AEK_FP16, |
1849 | AArch64::AEK_PERFMON, |
1850 | AArch64::AEK_CRC, |
1851 | AArch64::AEK_FP, |
1852 | AArch64::AEK_LSE, |
1853 | AArch64::AEK_SIMD, |
1854 | AArch64::AEK_RAS, |
1855 | AArch64::AEK_RDM, |
1856 | }) |
1857 | }, |
1858 | { |
1859 | "exynos-m5" , |
1860 | ARMV8_2A, |
1861 | AArch64::ExtensionBitset({ |
1862 | AArch64::AEK_SHA2, |
1863 | AArch64::AEK_AES, |
1864 | AArch64::AEK_DOTPROD, |
1865 | AArch64::AEK_FP16, |
1866 | AArch64::AEK_PERFMON, |
1867 | AArch64::AEK_CRC, |
1868 | AArch64::AEK_FP, |
1869 | AArch64::AEK_LSE, |
1870 | AArch64::AEK_SIMD, |
1871 | AArch64::AEK_RAS, |
1872 | AArch64::AEK_RDM, |
1873 | }) |
1874 | }, |
1875 | { |
1876 | "falkor" , |
1877 | ARMV8A, |
1878 | AArch64::ExtensionBitset({ |
1879 | AArch64::AEK_CRC, |
1880 | AArch64::AEK_SHA2, |
1881 | AArch64::AEK_AES, |
1882 | AArch64::AEK_FP, |
1883 | AArch64::AEK_SIMD, |
1884 | AArch64::AEK_PERFMON, |
1885 | AArch64::AEK_RDM, |
1886 | }) |
1887 | }, |
1888 | { |
1889 | "saphira" , |
1890 | ARMV8_4A, |
1891 | AArch64::ExtensionBitset({ |
1892 | AArch64::AEK_SHA2, |
1893 | AArch64::AEK_AES, |
1894 | AArch64::AEK_FP, |
1895 | AArch64::AEK_SIMD, |
1896 | AArch64::AEK_PROFILE, |
1897 | AArch64::AEK_PERFMON, |
1898 | AArch64::AEK_CRC, |
1899 | AArch64::AEK_CCIDX, |
1900 | AArch64::AEK_LSE, |
1901 | AArch64::AEK_RDM, |
1902 | AArch64::AEK_RAS, |
1903 | AArch64::AEK_RCPC, |
1904 | }) |
1905 | }, |
1906 | { |
1907 | "kryo" , |
1908 | ARMV8A, |
1909 | AArch64::ExtensionBitset({ |
1910 | AArch64::AEK_CRC, |
1911 | AArch64::AEK_SHA2, |
1912 | AArch64::AEK_AES, |
1913 | AArch64::AEK_FP, |
1914 | AArch64::AEK_SIMD, |
1915 | AArch64::AEK_PERFMON, |
1916 | }) |
1917 | }, |
1918 | { |
1919 | "thunderx" , |
1920 | ARMV8A, |
1921 | AArch64::ExtensionBitset({ |
1922 | AArch64::AEK_CRC, |
1923 | AArch64::AEK_SHA2, |
1924 | AArch64::AEK_AES, |
1925 | AArch64::AEK_FP, |
1926 | AArch64::AEK_PERFMON, |
1927 | AArch64::AEK_SIMD, |
1928 | }) |
1929 | }, |
1930 | { |
1931 | "thunderxt88" , |
1932 | ARMV8A, |
1933 | AArch64::ExtensionBitset({ |
1934 | AArch64::AEK_CRC, |
1935 | AArch64::AEK_SHA2, |
1936 | AArch64::AEK_AES, |
1937 | AArch64::AEK_FP, |
1938 | AArch64::AEK_PERFMON, |
1939 | AArch64::AEK_SIMD, |
1940 | }) |
1941 | }, |
1942 | { |
1943 | "thunderxt81" , |
1944 | ARMV8A, |
1945 | AArch64::ExtensionBitset({ |
1946 | AArch64::AEK_CRC, |
1947 | AArch64::AEK_SHA2, |
1948 | AArch64::AEK_AES, |
1949 | AArch64::AEK_FP, |
1950 | AArch64::AEK_PERFMON, |
1951 | AArch64::AEK_SIMD, |
1952 | }) |
1953 | }, |
1954 | { |
1955 | "thunderxt83" , |
1956 | ARMV8A, |
1957 | AArch64::ExtensionBitset({ |
1958 | AArch64::AEK_CRC, |
1959 | AArch64::AEK_SHA2, |
1960 | AArch64::AEK_AES, |
1961 | AArch64::AEK_FP, |
1962 | AArch64::AEK_PERFMON, |
1963 | AArch64::AEK_SIMD, |
1964 | }) |
1965 | }, |
1966 | { |
1967 | "thunderx2t99" , |
1968 | ARMV8_1A, |
1969 | AArch64::ExtensionBitset({ |
1970 | AArch64::AEK_CRC, |
1971 | AArch64::AEK_SHA2, |
1972 | AArch64::AEK_AES, |
1973 | AArch64::AEK_FP, |
1974 | AArch64::AEK_SIMD, |
1975 | AArch64::AEK_LSE, |
1976 | AArch64::AEK_RDM, |
1977 | }) |
1978 | }, |
1979 | { |
1980 | "thunderx3t110" , |
1981 | ARMV8_3A, |
1982 | AArch64::ExtensionBitset({ |
1983 | AArch64::AEK_CRC, |
1984 | AArch64::AEK_SHA2, |
1985 | AArch64::AEK_AES, |
1986 | AArch64::AEK_FP, |
1987 | AArch64::AEK_SIMD, |
1988 | AArch64::AEK_LSE, |
1989 | AArch64::AEK_CCIDX, |
1990 | AArch64::AEK_PAUTH, |
1991 | AArch64::AEK_PERFMON, |
1992 | AArch64::AEK_FCMA, |
1993 | AArch64::AEK_JSCVT, |
1994 | AArch64::AEK_RAS, |
1995 | AArch64::AEK_RCPC, |
1996 | AArch64::AEK_RDM, |
1997 | }) |
1998 | }, |
1999 | { |
2000 | "tsv110" , |
2001 | ARMV8_2A, |
2002 | AArch64::ExtensionBitset({ |
2003 | AArch64::AEK_SHA2, |
2004 | AArch64::AEK_AES, |
2005 | AArch64::AEK_FP, |
2006 | AArch64::AEK_SIMD, |
2007 | AArch64::AEK_PERFMON, |
2008 | AArch64::AEK_PROFILE, |
2009 | AArch64::AEK_FP16, |
2010 | AArch64::AEK_FP16FML, |
2011 | AArch64::AEK_DOTPROD, |
2012 | AArch64::AEK_JSCVT, |
2013 | AArch64::AEK_FCMA, |
2014 | AArch64::AEK_CRC, |
2015 | AArch64::AEK_LSE, |
2016 | AArch64::AEK_RAS, |
2017 | AArch64::AEK_RDM, |
2018 | }) |
2019 | }, |
2020 | { |
2021 | "apple-a7" , |
2022 | ARMV8A, |
2023 | AArch64::ExtensionBitset({ |
2024 | AArch64::AEK_SHA2, |
2025 | AArch64::AEK_AES, |
2026 | AArch64::AEK_FP, |
2027 | AArch64::AEK_SIMD, |
2028 | AArch64::AEK_PERFMON, |
2029 | }) |
2030 | }, |
2031 | { |
2032 | "apple-a10" , |
2033 | ARMV8A, |
2034 | AArch64::ExtensionBitset({ |
2035 | AArch64::AEK_SHA2, |
2036 | AArch64::AEK_AES, |
2037 | AArch64::AEK_FP, |
2038 | AArch64::AEK_SIMD, |
2039 | AArch64::AEK_PERFMON, |
2040 | AArch64::AEK_CRC, |
2041 | AArch64::AEK_RDM, |
2042 | AArch64::AEK_PAN, |
2043 | AArch64::AEK_LOR, |
2044 | AArch64::AEK_VH, |
2045 | }) |
2046 | }, |
2047 | { |
2048 | "apple-a11" , |
2049 | ARMV8_2A, |
2050 | AArch64::ExtensionBitset({ |
2051 | AArch64::AEK_SHA2, |
2052 | AArch64::AEK_AES, |
2053 | AArch64::AEK_FP, |
2054 | AArch64::AEK_SIMD, |
2055 | AArch64::AEK_PERFMON, |
2056 | AArch64::AEK_FP16, |
2057 | AArch64::AEK_CRC, |
2058 | AArch64::AEK_LSE, |
2059 | AArch64::AEK_RAS, |
2060 | AArch64::AEK_RDM, |
2061 | }) |
2062 | }, |
2063 | { |
2064 | "apple-a12" , |
2065 | ARMV8_3A, |
2066 | AArch64::ExtensionBitset({ |
2067 | AArch64::AEK_SHA2, |
2068 | AArch64::AEK_AES, |
2069 | AArch64::AEK_FP, |
2070 | AArch64::AEK_SIMD, |
2071 | AArch64::AEK_PERFMON, |
2072 | AArch64::AEK_FP16, |
2073 | AArch64::AEK_FCMA, |
2074 | AArch64::AEK_CRC, |
2075 | AArch64::AEK_JSCVT, |
2076 | AArch64::AEK_LSE, |
2077 | AArch64::AEK_PAUTH, |
2078 | AArch64::AEK_RAS, |
2079 | AArch64::AEK_RCPC, |
2080 | AArch64::AEK_RDM, |
2081 | }) |
2082 | }, |
2083 | { |
2084 | "apple-a13" , |
2085 | ARMV8_4A, |
2086 | AArch64::ExtensionBitset({ |
2087 | AArch64::AEK_SHA2, |
2088 | AArch64::AEK_AES, |
2089 | AArch64::AEK_FP, |
2090 | AArch64::AEK_SIMD, |
2091 | AArch64::AEK_PERFMON, |
2092 | AArch64::AEK_FP16, |
2093 | AArch64::AEK_FP16FML, |
2094 | AArch64::AEK_SHA3, |
2095 | AArch64::AEK_FCMA, |
2096 | AArch64::AEK_CRC, |
2097 | AArch64::AEK_JSCVT, |
2098 | AArch64::AEK_LSE, |
2099 | AArch64::AEK_PAUTH, |
2100 | AArch64::AEK_RAS, |
2101 | AArch64::AEK_RCPC, |
2102 | AArch64::AEK_RDM, |
2103 | AArch64::AEK_DOTPROD, |
2104 | }) |
2105 | }, |
2106 | { |
2107 | "apple-a14" , |
2108 | ARMV8_4A, |
2109 | AArch64::ExtensionBitset({ |
2110 | AArch64::AEK_SHA2, |
2111 | AArch64::AEK_AES, |
2112 | AArch64::AEK_FP, |
2113 | AArch64::AEK_SIMD, |
2114 | AArch64::AEK_PERFMON, |
2115 | AArch64::AEK_FP16, |
2116 | AArch64::AEK_FP16FML, |
2117 | AArch64::AEK_SHA3, |
2118 | AArch64::AEK_ALTERNATIVENZCV, |
2119 | AArch64::AEK_FRINT3264, |
2120 | AArch64::AEK_SPECRESTRICT, |
2121 | AArch64::AEK_SSBS, |
2122 | AArch64::AEK_SB, |
2123 | AArch64::AEK_PREDRES, |
2124 | AArch64::AEK_CCDP, |
2125 | AArch64::AEK_FCMA, |
2126 | AArch64::AEK_CRC, |
2127 | AArch64::AEK_JSCVT, |
2128 | AArch64::AEK_LSE, |
2129 | AArch64::AEK_PAUTH, |
2130 | AArch64::AEK_RAS, |
2131 | AArch64::AEK_RCPC, |
2132 | AArch64::AEK_RDM, |
2133 | AArch64::AEK_DOTPROD, |
2134 | }) |
2135 | }, |
2136 | { |
2137 | "apple-a15" , |
2138 | ARMV8_6A, |
2139 | AArch64::ExtensionBitset({ |
2140 | AArch64::AEK_SHA2, |
2141 | AArch64::AEK_AES, |
2142 | AArch64::AEK_FP, |
2143 | AArch64::AEK_SIMD, |
2144 | AArch64::AEK_PERFMON, |
2145 | AArch64::AEK_SHA3, |
2146 | AArch64::AEK_FP16, |
2147 | AArch64::AEK_FP16FML, |
2148 | AArch64::AEK_FCMA, |
2149 | AArch64::AEK_CRC, |
2150 | AArch64::AEK_JSCVT, |
2151 | AArch64::AEK_LSE, |
2152 | AArch64::AEK_PAUTH, |
2153 | AArch64::AEK_FPAC, |
2154 | AArch64::AEK_RAS, |
2155 | AArch64::AEK_RCPC, |
2156 | AArch64::AEK_RDM, |
2157 | AArch64::AEK_BF16, |
2158 | AArch64::AEK_DOTPROD, |
2159 | AArch64::AEK_I8MM, |
2160 | AArch64::AEK_SSBS, |
2161 | }) |
2162 | }, |
2163 | { |
2164 | "apple-a16" , |
2165 | ARMV8_6A, |
2166 | AArch64::ExtensionBitset({ |
2167 | AArch64::AEK_SHA2, |
2168 | AArch64::AEK_AES, |
2169 | AArch64::AEK_FP, |
2170 | AArch64::AEK_SIMD, |
2171 | AArch64::AEK_PERFMON, |
2172 | AArch64::AEK_SHA3, |
2173 | AArch64::AEK_FP16, |
2174 | AArch64::AEK_FP16FML, |
2175 | AArch64::AEK_HCX, |
2176 | AArch64::AEK_FCMA, |
2177 | AArch64::AEK_CRC, |
2178 | AArch64::AEK_JSCVT, |
2179 | AArch64::AEK_LSE, |
2180 | AArch64::AEK_PAUTH, |
2181 | AArch64::AEK_FPAC, |
2182 | AArch64::AEK_RAS, |
2183 | AArch64::AEK_RCPC, |
2184 | AArch64::AEK_RDM, |
2185 | AArch64::AEK_BF16, |
2186 | AArch64::AEK_DOTPROD, |
2187 | AArch64::AEK_I8MM, |
2188 | AArch64::AEK_SSBS, |
2189 | }) |
2190 | }, |
2191 | { |
2192 | "apple-a17" , |
2193 | ARMV8_6A, |
2194 | AArch64::ExtensionBitset({ |
2195 | AArch64::AEK_SHA2, |
2196 | AArch64::AEK_AES, |
2197 | AArch64::AEK_FP, |
2198 | AArch64::AEK_SIMD, |
2199 | AArch64::AEK_PERFMON, |
2200 | AArch64::AEK_SHA3, |
2201 | AArch64::AEK_FP16, |
2202 | AArch64::AEK_FP16FML, |
2203 | AArch64::AEK_HCX, |
2204 | AArch64::AEK_FCMA, |
2205 | AArch64::AEK_CRC, |
2206 | AArch64::AEK_JSCVT, |
2207 | AArch64::AEK_LSE, |
2208 | AArch64::AEK_PAUTH, |
2209 | AArch64::AEK_FPAC, |
2210 | AArch64::AEK_RAS, |
2211 | AArch64::AEK_RCPC, |
2212 | AArch64::AEK_RDM, |
2213 | AArch64::AEK_BF16, |
2214 | AArch64::AEK_DOTPROD, |
2215 | AArch64::AEK_I8MM, |
2216 | AArch64::AEK_SSBS, |
2217 | }) |
2218 | }, |
2219 | { |
2220 | "apple-m4" , |
2221 | ARMV8_7A, |
2222 | AArch64::ExtensionBitset({ |
2223 | AArch64::AEK_SHA2, |
2224 | AArch64::AEK_FP, |
2225 | AArch64::AEK_SIMD, |
2226 | AArch64::AEK_PERFMON, |
2227 | AArch64::AEK_SHA3, |
2228 | AArch64::AEK_FP16, |
2229 | AArch64::AEK_FP16FML, |
2230 | AArch64::AEK_AES, |
2231 | AArch64::AEK_BF16, |
2232 | AArch64::AEK_SME, |
2233 | AArch64::AEK_SME2, |
2234 | AArch64::AEK_SMEF64F64, |
2235 | AArch64::AEK_SMEI16I64, |
2236 | AArch64::AEK_FCMA, |
2237 | AArch64::AEK_CRC, |
2238 | AArch64::AEK_JSCVT, |
2239 | AArch64::AEK_LSE, |
2240 | AArch64::AEK_PAUTH, |
2241 | AArch64::AEK_FPAC, |
2242 | AArch64::AEK_RAS, |
2243 | AArch64::AEK_RCPC, |
2244 | AArch64::AEK_RDM, |
2245 | AArch64::AEK_DOTPROD, |
2246 | AArch64::AEK_I8MM, |
2247 | }) |
2248 | }, |
2249 | { |
2250 | "a64fx" , |
2251 | ARMV8_2A, |
2252 | AArch64::ExtensionBitset({ |
2253 | AArch64::AEK_FP, |
2254 | AArch64::AEK_SIMD, |
2255 | AArch64::AEK_SHA2, |
2256 | AArch64::AEK_PERFMON, |
2257 | AArch64::AEK_FP16, |
2258 | AArch64::AEK_SVE, |
2259 | AArch64::AEK_FCMA, |
2260 | AArch64::AEK_AES, |
2261 | AArch64::AEK_CRC, |
2262 | AArch64::AEK_LSE, |
2263 | AArch64::AEK_RAS, |
2264 | AArch64::AEK_RDM, |
2265 | }) |
2266 | }, |
2267 | { |
2268 | "fujitsu-monaka" , |
2269 | ARMV9_3A, |
2270 | AArch64::ExtensionBitset({ |
2271 | AArch64::AEK_PERFMON, |
2272 | AArch64::AEK_CCIDX, |
2273 | AArch64::AEK_FPAC, |
2274 | AArch64::AEK_FP16FML, |
2275 | AArch64::AEK_RAND, |
2276 | AArch64::AEK_SSBS, |
2277 | AArch64::AEK_LS64, |
2278 | AArch64::AEK_CLRBHB, |
2279 | AArch64::AEK_SPECRES2, |
2280 | AArch64::AEK_SVEAES, |
2281 | AArch64::AEK_SVE2SM4, |
2282 | AArch64::AEK_SVESHA3, |
2283 | AArch64::AEK_SVE2, |
2284 | AArch64::AEK_SVEBITPERM, |
2285 | AArch64::AEK_ETE, |
2286 | AArch64::AEK_MEC, |
2287 | AArch64::AEK_FAMINMAX, |
2288 | AArch64::AEK_FP8DOT2, |
2289 | AArch64::AEK_FP8DOT4, |
2290 | AArch64::AEK_FP8FMA, |
2291 | AArch64::AEK_LUT, |
2292 | }) |
2293 | }, |
2294 | { |
2295 | "carmel" , |
2296 | ARMV8_2A, |
2297 | AArch64::ExtensionBitset({ |
2298 | AArch64::AEK_SIMD, |
2299 | AArch64::AEK_SHA2, |
2300 | AArch64::AEK_AES, |
2301 | AArch64::AEK_FP16, |
2302 | AArch64::AEK_CRC, |
2303 | AArch64::AEK_LSE, |
2304 | AArch64::AEK_RAS, |
2305 | AArch64::AEK_RDM, |
2306 | AArch64::AEK_FP, |
2307 | }) |
2308 | }, |
2309 | { |
2310 | "olympus" , |
2311 | ARMV9_2A, |
2312 | AArch64::ExtensionBitset({ |
2313 | AArch64::AEK_BRBE, |
2314 | AArch64::AEK_CCIDX, |
2315 | AArch64::AEK_CHK, |
2316 | AArch64::AEK_ETE, |
2317 | AArch64::AEK_FAMINMAX, |
2318 | AArch64::AEK_FP16FML, |
2319 | AArch64::AEK_FP8DOT2, |
2320 | AArch64::AEK_FP8DOT4, |
2321 | AArch64::AEK_FP8FMA, |
2322 | AArch64::AEK_FPAC, |
2323 | AArch64::AEK_LS64, |
2324 | AArch64::AEK_LUT, |
2325 | AArch64::AEK_MEC, |
2326 | AArch64::AEK_MTE, |
2327 | AArch64::AEK_PERFMON, |
2328 | AArch64::AEK_RAND, |
2329 | AArch64::AEK_PROFILE, |
2330 | AArch64::AEK_SPE_EEF, |
2331 | AArch64::AEK_SSBS, |
2332 | AArch64::AEK_SVEBITPERM, |
2333 | AArch64::AEK_SVESHA3, |
2334 | AArch64::AEK_SVE2SM4, |
2335 | AArch64::AEK_SVEAES, |
2336 | }) |
2337 | }, |
2338 | { |
2339 | "ampere1" , |
2340 | ARMV8_6A, |
2341 | AArch64::ExtensionBitset({ |
2342 | AArch64::AEK_SIMD, |
2343 | AArch64::AEK_PERFMON, |
2344 | AArch64::AEK_SSBS, |
2345 | AArch64::AEK_RAND, |
2346 | AArch64::AEK_SB, |
2347 | AArch64::AEK_SHA2, |
2348 | AArch64::AEK_SHA3, |
2349 | AArch64::AEK_AES, |
2350 | AArch64::AEK_FP16, |
2351 | AArch64::AEK_BF16, |
2352 | AArch64::AEK_FCMA, |
2353 | AArch64::AEK_CRC, |
2354 | AArch64::AEK_DOTPROD, |
2355 | AArch64::AEK_FP, |
2356 | AArch64::AEK_I8MM, |
2357 | AArch64::AEK_JSCVT, |
2358 | AArch64::AEK_CCIDX, |
2359 | AArch64::AEK_LSE, |
2360 | AArch64::AEK_PAUTH, |
2361 | AArch64::AEK_RAS, |
2362 | AArch64::AEK_RCPC, |
2363 | AArch64::AEK_RDM, |
2364 | }) |
2365 | }, |
2366 | { |
2367 | "ampere1a" , |
2368 | ARMV8_6A, |
2369 | AArch64::ExtensionBitset({ |
2370 | AArch64::AEK_SIMD, |
2371 | AArch64::AEK_PERFMON, |
2372 | AArch64::AEK_MTE, |
2373 | AArch64::AEK_SSBS, |
2374 | AArch64::AEK_RAND, |
2375 | AArch64::AEK_SB, |
2376 | AArch64::AEK_SM4, |
2377 | AArch64::AEK_SHA2, |
2378 | AArch64::AEK_SHA3, |
2379 | AArch64::AEK_AES, |
2380 | AArch64::AEK_FP16, |
2381 | AArch64::AEK_BF16, |
2382 | AArch64::AEK_FCMA, |
2383 | AArch64::AEK_CRC, |
2384 | AArch64::AEK_DOTPROD, |
2385 | AArch64::AEK_FP, |
2386 | AArch64::AEK_I8MM, |
2387 | AArch64::AEK_JSCVT, |
2388 | AArch64::AEK_LSE, |
2389 | AArch64::AEK_PAUTH, |
2390 | AArch64::AEK_RAS, |
2391 | AArch64::AEK_RCPC, |
2392 | AArch64::AEK_CCIDX, |
2393 | AArch64::AEK_RDM, |
2394 | }) |
2395 | }, |
2396 | { |
2397 | "ampere1b" , |
2398 | ARMV8_7A, |
2399 | AArch64::ExtensionBitset({ |
2400 | AArch64::AEK_SIMD, |
2401 | AArch64::AEK_PERFMON, |
2402 | AArch64::AEK_MTE, |
2403 | AArch64::AEK_SSBS, |
2404 | AArch64::AEK_RAND, |
2405 | AArch64::AEK_SB, |
2406 | AArch64::AEK_SM4, |
2407 | AArch64::AEK_SHA2, |
2408 | AArch64::AEK_SHA3, |
2409 | AArch64::AEK_AES, |
2410 | AArch64::AEK_CSSC, |
2411 | AArch64::AEK_WFXT, |
2412 | AArch64::AEK_FP16, |
2413 | AArch64::AEK_BF16, |
2414 | AArch64::AEK_FCMA, |
2415 | AArch64::AEK_CRC, |
2416 | AArch64::AEK_DOTPROD, |
2417 | AArch64::AEK_FP, |
2418 | AArch64::AEK_I8MM, |
2419 | AArch64::AEK_JSCVT, |
2420 | AArch64::AEK_LSE, |
2421 | AArch64::AEK_PAUTH, |
2422 | AArch64::AEK_RAS, |
2423 | AArch64::AEK_RCPC, |
2424 | AArch64::AEK_CCIDX, |
2425 | AArch64::AEK_RDM, |
2426 | }) |
2427 | }, |
2428 | { |
2429 | "oryon-1" , |
2430 | ARMV8_6A, |
2431 | AArch64::ExtensionBitset({ |
2432 | AArch64::AEK_SIMD, |
2433 | AArch64::AEK_PERFMON, |
2434 | AArch64::AEK_RAND, |
2435 | AArch64::AEK_PAUTH, |
2436 | AArch64::AEK_SM4, |
2437 | AArch64::AEK_SHA2, |
2438 | AArch64::AEK_SHA3, |
2439 | AArch64::AEK_AES, |
2440 | AArch64::AEK_PROFILE, |
2441 | AArch64::AEK_BF16, |
2442 | AArch64::AEK_FCMA, |
2443 | AArch64::AEK_CRC, |
2444 | AArch64::AEK_DOTPROD, |
2445 | AArch64::AEK_FP, |
2446 | AArch64::AEK_I8MM, |
2447 | AArch64::AEK_SSBS, |
2448 | AArch64::AEK_CCIDX, |
2449 | AArch64::AEK_JSCVT, |
2450 | AArch64::AEK_LSE, |
2451 | AArch64::AEK_RAS, |
2452 | AArch64::AEK_RCPC, |
2453 | AArch64::AEK_RDM, |
2454 | }) |
2455 | }, |
2456 | }; |
2457 | #undef EMIT_CPU_INFO |
2458 | #endif // EMIT_CPU_INFO |
2459 | |
2460 | |