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