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_FP16, AEK_F16MM},
477 {AEK_SVE, AEK_F32MM},
478 {AEK_SVE, AEK_F64MM},
479 {AEK_SIMD, AEK_F8F16MM},
480 {AEK_FP8, AEK_F8F16MM},
481 {AEK_SIMD, AEK_F8F32MM},
482 {AEK_FP8, AEK_F8F32MM},
483 {AEK_SIMD, AEK_FAMINMAX},
484 {AEK_FP16, AEK_FP16FML},
485 {AEK_SIMD, AEK_FP16FML},
486 {AEK_SIMD, AEK_FP8},
487 {AEK_FP8, AEK_FP8DOT2},
488 {AEK_FP8, AEK_FP8DOT4},
489 {AEK_FP8, AEK_FP8FMA},
490 {AEK_FP, AEK_FPRCVT},
491 {AEK_FP, AEK_FRINT3264},
492 {AEK_FP, AEK_FP16},
493 {AEK_CHK, AEK_GCS},
494 {AEK_SIMD, AEK_I8MM},
495 {AEK_ETE, AEK_ITE},
496 {AEK_TRBE, AEK_ITE},
497 {AEK_FP, AEK_JSCVT},
498 {AEK_LSE, AEK_LSE128},
499 {AEK_FP, AEK_LSFE},
500 {AEK_SIMD, AEK_LUT},
501 {AEK_RME, AEK_MEC},
502 {AEK_MOPS, AEK_MOPS_GO},
503 {AEK_MTE, AEK_MOPS_GO},
504 {AEK_MTE, AEK_MTETC},
505 {AEK_FP, AEK_SIMD},
506 {AEK_PAN, AEK_PAN_RWV},
507 {AEK_RAS, AEK_RASV2},
508 {AEK_RCPC, AEK_RCPC_IMMO},
509 {AEK_RCPC_IMMO, AEK_RCPC3},
510 {AEK_SIMD, AEK_RDM},
511 {AEK_SIMD, AEK_SHA2},
512 {AEK_SIMD, AEK_SHA3},
513 {AEK_SHA2, AEK_SHA3},
514 {AEK_SIMD, AEK_SM4},
515 {AEK_BF16, AEK_SME},
516 {AEK_FP16, AEK_SME},
517 {AEK_SME2, AEK_SMEB16B16},
518 {AEK_SVEB16B16, AEK_SMEB16B16},
519 {AEK_SME2, AEK_SMEF16F16},
520 {AEK_SME, AEK_SMEF64F64},
521 {AEK_SME2, AEK_SMEF8F16},
522 {AEK_FP8, AEK_SMEF8F16},
523 {AEK_SME2, AEK_SMEF8F32},
524 {AEK_FP8, AEK_SMEF8F32},
525 {AEK_SME, AEK_SMEFA64},
526 {AEK_SVE2, AEK_SMEFA64},
527 {AEK_SME, AEK_SMEI16I64},
528 {AEK_SME2, AEK_SME_LUTV2},
529 {AEK_SME2, AEK_SME_MOP4},
530 {AEK_SME2, AEK_SME_TMOP},
531 {AEK_SME, AEK_SME2},
532 {AEK_SME2, AEK_SME2P1},
533 {AEK_SME2P1, AEK_SME2P2},
534 {AEK_SME2P2, AEK_SME2P3},
535 {AEK_PREDRES, AEK_SPECRES2},
536 {AEK_SME2, AEK_SSVE_AES},
537 {AEK_SVEAES, AEK_SSVE_AES},
538 {AEK_SME2, AEK_SSVE_BITPERM},
539 {AEK_SVEBITPERM, AEK_SSVE_BITPERM},
540 {AEK_SME2, AEK_SSVE_FEXPA},
541 {AEK_SME2, AEK_SSVE_FP8DOT2},
542 {AEK_FP8, AEK_SSVE_FP8DOT2},
543 {AEK_SME2, AEK_SSVE_FP8DOT4},
544 {AEK_FP8, AEK_SSVE_FP8DOT4},
545 {AEK_SME2, AEK_SSVE_FP8FMA},
546 {AEK_FP8, AEK_SSVE_FP8FMA},
547 {AEK_FP16, AEK_SVE},
548 {AEK_AES, AEK_SVEAES},
549 {AEK_SVE, AEK_SVE_B16MM},
550 {AEK_SVE, AEK_SVE_F16F32MM},
551 {AEK_SHA3, AEK_SVESHA3},
552 {AEK_SM4, AEK_SVESM4},
553 {AEK_SVE, AEK_SVE2},
554 {AEK_SVE2, AEK_SVE2AES},
555 {AEK_SVEAES, AEK_SVE2AES},
556 {AEK_SVE2, AEK_SVE2BITPERM},
557 {AEK_SVEBITPERM, AEK_SVE2BITPERM},
558 {AEK_SVE2, AEK_SVE2SHA3},
559 {AEK_SVESHA3, AEK_SVE2SHA3},
560 {AEK_SVE2, AEK_SVE2SM4},
561 {AEK_SVESM4, AEK_SVE2SM4},
562 {AEK_SVE2, AEK_SVE2P1},
563 {AEK_SVE2P1, AEK_SVE2P2},
564 {AEK_SVE2P2, AEK_SVE2P3},
565 {AEK_RCPC, AEK_RCPC3},
566};
567#undef EMIT_EXTENSION_DEPENDENCIES
568#endif // EMIT_EXTENSION_DEPENDENCIES
569
570#ifdef EMIT_ARCHITECTURES
571inline constexpr ArchInfo ARMV8A = {
572 VersionTuple{8, 0},
573 AProfile,
574 "armv8-a",
575 "+v8a",
576 (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, }))
577};
578inline constexpr ArchInfo ARMV8R = {
579 VersionTuple{8, 0},
580 RProfile,
581 "armv8-r",
582 "+v8r",
583 (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, }))
584};
585inline constexpr ArchInfo ARMV8_1A = {
586 VersionTuple{8, 1},
587 AProfile,
588 "armv8.1-a",
589 "+v8.1a",
590 (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, }))
591};
592inline constexpr ArchInfo ARMV8_2A = {
593 VersionTuple{8, 2},
594 AProfile,
595 "armv8.2-a",
596 "+v8.2a",
597 (AArch64::ExtensionBitset({AArch64::AEK_FP, AArch64::AEK_SIMD, AArch64::AEK_CRC, AArch64::AEK_LSE, AArch64::AEK_RDM, AArch64::AEK_RAS, }))
598};
599inline constexpr ArchInfo ARMV8_3A = {
600 VersionTuple{8, 3},
601 AProfile,
602 "armv8.3-a",
603 "+v8.3a",
604 (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, }))
605};
606inline constexpr ArchInfo ARMV8_4A = {
607 VersionTuple{8, 4},
608 AProfile,
609 "armv8.4-a",
610 "+v8.4a",
611 (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, }))
612};
613inline constexpr ArchInfo ARMV8_5A = {
614 VersionTuple{8, 5},
615 AProfile,
616 "armv8.5-a",
617 "+v8.5a",
618 (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, }))
619};
620inline constexpr ArchInfo ARMV8_6A = {
621 VersionTuple{8, 6},
622 AProfile,
623 "armv8.6-a",
624 "+v8.6a",
625 (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, }))
626};
627inline constexpr ArchInfo ARMV8_7A = {
628 VersionTuple{8, 7},
629 AProfile,
630 "armv8.7-a",
631 "+v8.7a",
632 (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, }))
633};
634inline constexpr ArchInfo ARMV8_8A = {
635 VersionTuple{8, 8},
636 AProfile,
637 "armv8.8-a",
638 "+v8.8a",
639 (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, }))
640};
641inline constexpr ArchInfo ARMV8_9A = {
642 VersionTuple{8, 9},
643 AProfile,
644 "armv8.9-a",
645 "+v8.9a",
646 (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, }))
647};
648inline constexpr ArchInfo ARMV9A = {
649 VersionTuple{9, 0},
650 AProfile,
651 "armv9-a",
652 "+v9a",
653 (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, }))
654};
655inline constexpr ArchInfo ARMV9_1A = {
656 VersionTuple{9, 1},
657 AProfile,
658 "armv9.1-a",
659 "+v9.1a",
660 (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, }))
661};
662inline constexpr ArchInfo ARMV9_2A = {
663 VersionTuple{9, 2},
664 AProfile,
665 "armv9.2-a",
666 "+v9.2a",
667 (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, }))
668};
669inline constexpr ArchInfo ARMV9_3A = {
670 VersionTuple{9, 3},
671 AProfile,
672 "armv9.3-a",
673 "+v9.3a",
674 (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, }))
675};
676inline constexpr ArchInfo ARMV9_4A = {
677 VersionTuple{9, 4},
678 AProfile,
679 "armv9.4-a",
680 "+v9.4a",
681 (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, }))
682};
683inline constexpr ArchInfo ARMV9_5A = {
684 VersionTuple{9, 5},
685 AProfile,
686 "armv9.5-a",
687 "+v9.5a",
688 (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, }))
689};
690inline constexpr ArchInfo ARMV9_6A = {
691 VersionTuple{9, 6},
692 AProfile,
693 "armv9.6-a",
694 "+v9.6a",
695 (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, }))
696};
697inline constexpr ArchInfo ARMV9_7A = {
698 VersionTuple{9, 7},
699 AProfile,
700 "armv9.7-a",
701 "+v9.7a",
702 (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, }))
703};
704
705/// The set of all architectures
706static constexpr std::array<const ArchInfo *, 19> ArchInfos = {
707 &ARMV8A,
708 &ARMV8R,
709 &ARMV8_1A,
710 &ARMV8_2A,
711 &ARMV8_3A,
712 &ARMV8_4A,
713 &ARMV8_5A,
714 &ARMV8_6A,
715 &ARMV8_7A,
716 &ARMV8_8A,
717 &ARMV8_9A,
718 &ARMV9A,
719 &ARMV9_1A,
720 &ARMV9_2A,
721 &ARMV9_3A,
722 &ARMV9_4A,
723 &ARMV9_5A,
724 &ARMV9_6A,
725 &ARMV9_7A,
726};
727#undef EMIT_ARCHITECTURES
728#endif // EMIT_ARCHITECTURES
729
730#ifdef EMIT_CPU_ALIAS
731inline constexpr Alias CpuAliases[] = {
732 { "cobalt-100", "neoverse-n2" },
733 { "cyclone", "apple-a7" },
734 { "apple-a8", "apple-a7" },
735 { "apple-a9", "apple-a7" },
736 { "apple-s4", "apple-a12" },
737 { "apple-s5", "apple-a12" },
738 { "apple-s6", "apple-a13" },
739 { "apple-s7", "apple-a13" },
740 { "apple-s8", "apple-a13" },
741 { "apple-m1", "apple-a14" },
742 { "apple-m2", "apple-a15" },
743 { "apple-m3", "apple-a16" },
744 { "apple-s9", "apple-a16" },
745 { "apple-s10", "apple-a16" },
746 { "apple-a18", "apple-m4" },
747 { "apple-a19", "apple-m5" },
748 { "apple-latest", "apple-m5" },
749};
750#undef EMIT_CPU_ALIAS
751#endif // EMIT_CPU_ALIAS
752
753#ifdef EMIT_CPU_INFO
754inline constexpr CpuInfo CpuInfos[] = {
755 {
756 "generic",
757 ARMV8A,
758 AArch64::ExtensionBitset({
759 AArch64::AEK_FP,
760 AArch64::AEK_SIMD,
761 AArch64::AEK_ETE,
762 })
763 },
764 {
765 "cortex-a34",
766 ARMV8A,
767 AArch64::ExtensionBitset({
768 AArch64::AEK_CRC,
769 AArch64::AEK_SHA2,
770 AArch64::AEK_AES,
771 AArch64::AEK_FP,
772 AArch64::AEK_SIMD,
773 AArch64::AEK_PERFMON,
774 })
775 },
776 {
777 "cortex-a35",
778 ARMV8A,
779 AArch64::ExtensionBitset({
780 AArch64::AEK_CRC,
781 AArch64::AEK_SHA2,
782 AArch64::AEK_AES,
783 AArch64::AEK_FP,
784 AArch64::AEK_SIMD,
785 AArch64::AEK_PERFMON,
786 })
787 },
788 {
789 "cortex-a320",
790 ARMV9_2A,
791 AArch64::ExtensionBitset({
792 AArch64::AEK_SIMD,
793 AArch64::AEK_MTE,
794 AArch64::AEK_SVEBITPERM,
795 AArch64::AEK_FP16FML,
796 AArch64::AEK_FP16,
797 AArch64::AEK_ETE,
798 AArch64::AEK_PERFMON,
799 AArch64::AEK_CCIDX,
800 AArch64::AEK_CCPP,
801 AArch64::AEK_FCMA,
802 AArch64::AEK_CRC,
803 AArch64::AEK_DOTPROD,
804 AArch64::AEK_JSCVT,
805 AArch64::AEK_LOR,
806 AArch64::AEK_LSE,
807 AArch64::AEK_PAN,
808 AArch64::AEK_PAN_RWV,
809 AArch64::AEK_PAUTH,
810 AArch64::AEK_PSUAO,
811 AArch64::AEK_RAS,
812 AArch64::AEK_RDM,
813 AArch64::AEK_TRBE,
814 AArch64::AEK_VH,
815 AArch64::AEK_FLAGM,
816 AArch64::AEK_PREDRES,
817 AArch64::AEK_SB,
818 AArch64::AEK_SSBS,
819 AArch64::AEK_SVE,
820 AArch64::AEK_SVE2,
821 })
822 },
823 {
824 "cortex-a53",
825 ARMV8A,
826 AArch64::ExtensionBitset({
827 AArch64::AEK_CRC,
828 AArch64::AEK_SHA2,
829 AArch64::AEK_AES,
830 AArch64::AEK_FP,
831 AArch64::AEK_SIMD,
832 AArch64::AEK_PERFMON,
833 })
834 },
835 {
836 "cortex-a55",
837 ARMV8_2A,
838 AArch64::ExtensionBitset({
839 AArch64::AEK_SHA2,
840 AArch64::AEK_AES,
841 AArch64::AEK_FP,
842 AArch64::AEK_SIMD,
843 AArch64::AEK_FP16,
844 AArch64::AEK_DOTPROD,
845 AArch64::AEK_RCPC,
846 AArch64::AEK_PERFMON,
847 AArch64::AEK_CRC,
848 AArch64::AEK_LSE,
849 AArch64::AEK_RAS,
850 AArch64::AEK_RDM,
851 })
852 },
853 {
854 "cortex-a510",
855 ARMV9A,
856 AArch64::ExtensionBitset({
857 AArch64::AEK_SIMD,
858 AArch64::AEK_PERFMON,
859 AArch64::AEK_I8MM,
860 AArch64::AEK_BF16,
861 AArch64::AEK_AM,
862 AArch64::AEK_MTE,
863 AArch64::AEK_ETE,
864 AArch64::AEK_SVEBITPERM,
865 AArch64::AEK_FP16FML,
866 AArch64::AEK_CCIDX,
867 AArch64::AEK_SB,
868 AArch64::AEK_PAUTH,
869 AArch64::AEK_SSBS,
870 AArch64::AEK_SVE,
871 AArch64::AEK_SVE2,
872 AArch64::AEK_FCMA,
873 AArch64::AEK_CRC,
874 AArch64::AEK_DOTPROD,
875 AArch64::AEK_FP,
876 AArch64::AEK_FP16,
877 AArch64::AEK_JSCVT,
878 AArch64::AEK_LSE,
879 AArch64::AEK_RAS,
880 AArch64::AEK_RCPC,
881 AArch64::AEK_RDM,
882 AArch64::AEK_FPAC,
883 })
884 },
885 {
886 "cortex-a520",
887 ARMV9_2A,
888 AArch64::ExtensionBitset({
889 AArch64::AEK_PERFMON,
890 AArch64::AEK_AM,
891 AArch64::AEK_MTE,
892 AArch64::AEK_ETE,
893 AArch64::AEK_SVEBITPERM,
894 AArch64::AEK_FP16FML,
895 AArch64::AEK_CCIDX,
896 AArch64::AEK_SB,
897 AArch64::AEK_SSBS,
898 AArch64::AEK_PAUTH,
899 AArch64::AEK_FLAGM,
900 AArch64::AEK_PREDRES,
901 AArch64::AEK_SVE,
902 AArch64::AEK_SVE2,
903 AArch64::AEK_BF16,
904 AArch64::AEK_FCMA,
905 AArch64::AEK_CRC,
906 AArch64::AEK_FP,
907 AArch64::AEK_FP16,
908 AArch64::AEK_I8MM,
909 AArch64::AEK_JSCVT,
910 AArch64::AEK_SIMD,
911 AArch64::AEK_LSE,
912 AArch64::AEK_RAS,
913 AArch64::AEK_RCPC,
914 AArch64::AEK_RDM,
915 AArch64::AEK_DOTPROD,
916 AArch64::AEK_FPAC,
917 })
918 },
919 {
920 "cortex-a520ae",
921 ARMV9_2A,
922 AArch64::ExtensionBitset({
923 AArch64::AEK_PERFMON,
924 AArch64::AEK_AM,
925 AArch64::AEK_MTE,
926 AArch64::AEK_ETE,
927 AArch64::AEK_SVEBITPERM,
928 AArch64::AEK_FP16FML,
929 AArch64::AEK_CCIDX,
930 AArch64::AEK_SB,
931 AArch64::AEK_SSBS,
932 AArch64::AEK_PAUTH,
933 AArch64::AEK_FLAGM,
934 AArch64::AEK_PREDRES,
935 AArch64::AEK_SVE,
936 AArch64::AEK_SVE2,
937 AArch64::AEK_BF16,
938 AArch64::AEK_FCMA,
939 AArch64::AEK_CRC,
940 AArch64::AEK_FP,
941 AArch64::AEK_FP16,
942 AArch64::AEK_I8MM,
943 AArch64::AEK_JSCVT,
944 AArch64::AEK_SIMD,
945 AArch64::AEK_LSE,
946 AArch64::AEK_RAS,
947 AArch64::AEK_RCPC,
948 AArch64::AEK_RDM,
949 AArch64::AEK_DOTPROD,
950 AArch64::AEK_FPAC,
951 })
952 },
953 {
954 "c1-nano",
955 ARMV9_3A,
956 AArch64::ExtensionBitset({
957 AArch64::AEK_SIMD,
958 AArch64::AEK_CLRBHB,
959 AArch64::AEK_CHK,
960 AArch64::AEK_FP,
961 AArch64::AEK_PERFMON,
962 AArch64::AEK_SPECRES2,
963 AArch64::AEK_SSBS,
964 AArch64::AEK_RDM,
965 AArch64::AEK_VH,
966 AArch64::AEK_BF16,
967 AArch64::AEK_DOTPROD,
968 AArch64::AEK_FP16FML,
969 AArch64::AEK_FP16,
970 AArch64::AEK_MPAM,
971 AArch64::AEK_SVE,
972 AArch64::AEK_CCIDX,
973 AArch64::AEK_FCMA,
974 AArch64::AEK_FPAC,
975 AArch64::AEK_JSCVT,
976 AArch64::AEK_AM,
977 AArch64::AEK_RAS,
978 AArch64::AEK_SEL2,
979 AArch64::AEK_TRACEV8_4,
980 AArch64::AEK_ALTERNATIVENZCV,
981 AArch64::AEK_FRINT3264,
982 AArch64::AEK_MTE,
983 AArch64::AEK_FINEGRAINEDTRAPS,
984 AArch64::AEK_HCX,
985 AArch64::AEK_RCPC3,
986 AArch64::AEK_ETE,
987 AArch64::AEK_SVEBITPERM,
988 AArch64::AEK_SVE2,
989 AArch64::AEK_TRBE,
990 AArch64::AEK_SME,
991 AArch64::AEK_SME2,
992 })
993 },
994 {
995 "cortex-a57",
996 ARMV8A,
997 AArch64::ExtensionBitset({
998 AArch64::AEK_CRC,
999 AArch64::AEK_SHA2,
1000 AArch64::AEK_AES,
1001 AArch64::AEK_FP,
1002 AArch64::AEK_SIMD,
1003 AArch64::AEK_PERFMON,
1004 })
1005 },
1006 {
1007 "cortex-a65",
1008 ARMV8_2A,
1009 AArch64::ExtensionBitset({
1010 AArch64::AEK_SHA2,
1011 AArch64::AEK_AES,
1012 AArch64::AEK_FP,
1013 AArch64::AEK_SIMD,
1014 AArch64::AEK_FP16,
1015 AArch64::AEK_DOTPROD,
1016 AArch64::AEK_RCPC,
1017 AArch64::AEK_SSBS,
1018 AArch64::AEK_RAS,
1019 AArch64::AEK_PERFMON,
1020 AArch64::AEK_CRC,
1021 AArch64::AEK_LSE,
1022 AArch64::AEK_RDM,
1023 })
1024 },
1025 {
1026 "cortex-a65ae",
1027 ARMV8_2A,
1028 AArch64::ExtensionBitset({
1029 AArch64::AEK_SHA2,
1030 AArch64::AEK_AES,
1031 AArch64::AEK_FP,
1032 AArch64::AEK_SIMD,
1033 AArch64::AEK_FP16,
1034 AArch64::AEK_DOTPROD,
1035 AArch64::AEK_RCPC,
1036 AArch64::AEK_SSBS,
1037 AArch64::AEK_RAS,
1038 AArch64::AEK_PERFMON,
1039 AArch64::AEK_CRC,
1040 AArch64::AEK_LSE,
1041 AArch64::AEK_RDM,
1042 })
1043 },
1044 {
1045 "cortex-a72",
1046 ARMV8A,
1047 AArch64::ExtensionBitset({
1048 AArch64::AEK_CRC,
1049 AArch64::AEK_SHA2,
1050 AArch64::AEK_AES,
1051 AArch64::AEK_FP,
1052 AArch64::AEK_SIMD,
1053 AArch64::AEK_PERFMON,
1054 })
1055 },
1056 {
1057 "cortex-a73",
1058 ARMV8A,
1059 AArch64::ExtensionBitset({
1060 AArch64::AEK_CRC,
1061 AArch64::AEK_SHA2,
1062 AArch64::AEK_AES,
1063 AArch64::AEK_FP,
1064 AArch64::AEK_SIMD,
1065 AArch64::AEK_PERFMON,
1066 })
1067 },
1068 {
1069 "cortex-a75",
1070 ARMV8_2A,
1071 AArch64::ExtensionBitset({
1072 AArch64::AEK_SHA2,
1073 AArch64::AEK_AES,
1074 AArch64::AEK_FP,
1075 AArch64::AEK_SIMD,
1076 AArch64::AEK_FP16,
1077 AArch64::AEK_DOTPROD,
1078 AArch64::AEK_RCPC,
1079 AArch64::AEK_PERFMON,
1080 AArch64::AEK_CRC,
1081 AArch64::AEK_LSE,
1082 AArch64::AEK_RAS,
1083 AArch64::AEK_RDM,
1084 })
1085 },
1086 {
1087 "cortex-a76",
1088 ARMV8_2A,
1089 AArch64::ExtensionBitset({
1090 AArch64::AEK_SHA2,
1091 AArch64::AEK_AES,
1092 AArch64::AEK_FP,
1093 AArch64::AEK_SIMD,
1094 AArch64::AEK_FP16,
1095 AArch64::AEK_DOTPROD,
1096 AArch64::AEK_RCPC,
1097 AArch64::AEK_SSBS,
1098 AArch64::AEK_PERFMON,
1099 AArch64::AEK_CRC,
1100 AArch64::AEK_LSE,
1101 AArch64::AEK_RAS,
1102 AArch64::AEK_RDM,
1103 })
1104 },
1105 {
1106 "cortex-a76ae",
1107 ARMV8_2A,
1108 AArch64::ExtensionBitset({
1109 AArch64::AEK_SHA2,
1110 AArch64::AEK_AES,
1111 AArch64::AEK_FP,
1112 AArch64::AEK_SIMD,
1113 AArch64::AEK_FP16,
1114 AArch64::AEK_DOTPROD,
1115 AArch64::AEK_RCPC,
1116 AArch64::AEK_SSBS,
1117 AArch64::AEK_PERFMON,
1118 AArch64::AEK_CRC,
1119 AArch64::AEK_LSE,
1120 AArch64::AEK_RAS,
1121 AArch64::AEK_RDM,
1122 })
1123 },
1124 {
1125 "cortex-a77",
1126 ARMV8_2A,
1127 AArch64::ExtensionBitset({
1128 AArch64::AEK_SHA2,
1129 AArch64::AEK_AES,
1130 AArch64::AEK_FP,
1131 AArch64::AEK_SIMD,
1132 AArch64::AEK_FP16,
1133 AArch64::AEK_DOTPROD,
1134 AArch64::AEK_RCPC,
1135 AArch64::AEK_PERFMON,
1136 AArch64::AEK_SSBS,
1137 AArch64::AEK_CRC,
1138 AArch64::AEK_LSE,
1139 AArch64::AEK_RAS,
1140 AArch64::AEK_RDM,
1141 })
1142 },
1143 {
1144 "cortex-a78",
1145 ARMV8_2A,
1146 AArch64::ExtensionBitset({
1147 AArch64::AEK_SHA2,
1148 AArch64::AEK_AES,
1149 AArch64::AEK_FP,
1150 AArch64::AEK_SIMD,
1151 AArch64::AEK_FP16,
1152 AArch64::AEK_DOTPROD,
1153 AArch64::AEK_RCPC,
1154 AArch64::AEK_PERFMON,
1155 AArch64::AEK_PROFILE,
1156 AArch64::AEK_SSBS,
1157 AArch64::AEK_CRC,
1158 AArch64::AEK_LSE,
1159 AArch64::AEK_RAS,
1160 AArch64::AEK_RDM,
1161 })
1162 },
1163 {
1164 "cortex-a78ae",
1165 ARMV8_2A,
1166 AArch64::ExtensionBitset({
1167 AArch64::AEK_SHA2,
1168 AArch64::AEK_AES,
1169 AArch64::AEK_FP,
1170 AArch64::AEK_SIMD,
1171 AArch64::AEK_FP16,
1172 AArch64::AEK_DOTPROD,
1173 AArch64::AEK_RCPC,
1174 AArch64::AEK_PERFMON,
1175 AArch64::AEK_PROFILE,
1176 AArch64::AEK_SSBS,
1177 AArch64::AEK_CRC,
1178 AArch64::AEK_LSE,
1179 AArch64::AEK_RAS,
1180 AArch64::AEK_RDM,
1181 })
1182 },
1183 {
1184 "cortex-a78c",
1185 ARMV8_2A,
1186 AArch64::ExtensionBitset({
1187 AArch64::AEK_SHA2,
1188 AArch64::AEK_AES,
1189 AArch64::AEK_FP,
1190 AArch64::AEK_SIMD,
1191 AArch64::AEK_FP16,
1192 AArch64::AEK_DOTPROD,
1193 AArch64::AEK_FLAGM,
1194 AArch64::AEK_PAUTH,
1195 AArch64::AEK_PERFMON,
1196 AArch64::AEK_RCPC,
1197 AArch64::AEK_PROFILE,
1198 AArch64::AEK_SSBS,
1199 AArch64::AEK_CRC,
1200 AArch64::AEK_LSE,
1201 AArch64::AEK_RAS,
1202 AArch64::AEK_RDM,
1203 })
1204 },
1205 {
1206 "cortex-a710",
1207 ARMV9A,
1208 AArch64::ExtensionBitset({
1209 AArch64::AEK_SIMD,
1210 AArch64::AEK_PERFMON,
1211 AArch64::AEK_CCIDX,
1212 AArch64::AEK_SSBS,
1213 AArch64::AEK_ETE,
1214 AArch64::AEK_MTE,
1215 AArch64::AEK_FP16FML,
1216 AArch64::AEK_SVEBITPERM,
1217 AArch64::AEK_BF16,
1218 AArch64::AEK_I8MM,
1219 AArch64::AEK_PAUTH,
1220 AArch64::AEK_FLAGM,
1221 AArch64::AEK_SB,
1222 AArch64::AEK_SVE,
1223 AArch64::AEK_SVE2,
1224 AArch64::AEK_FPAC,
1225 AArch64::AEK_FCMA,
1226 AArch64::AEK_CRC,
1227 AArch64::AEK_DOTPROD,
1228 AArch64::AEK_FP,
1229 AArch64::AEK_FP16,
1230 AArch64::AEK_JSCVT,
1231 AArch64::AEK_LSE,
1232 AArch64::AEK_RAS,
1233 AArch64::AEK_RCPC,
1234 AArch64::AEK_RDM,
1235 })
1236 },
1237 {
1238 "cortex-a715",
1239 ARMV9A,
1240 AArch64::ExtensionBitset({
1241 AArch64::AEK_SIMD,
1242 AArch64::AEK_MTE,
1243 AArch64::AEK_CCIDX,
1244 AArch64::AEK_FP16FML,
1245 AArch64::AEK_SVE,
1246 AArch64::AEK_TRBE,
1247 AArch64::AEK_SVEBITPERM,
1248 AArch64::AEK_BF16,
1249 AArch64::AEK_ETE,
1250 AArch64::AEK_PERFMON,
1251 AArch64::AEK_I8MM,
1252 AArch64::AEK_PROFILE,
1253 AArch64::AEK_SB,
1254 AArch64::AEK_SSBS,
1255 AArch64::AEK_FP16,
1256 AArch64::AEK_PAUTH,
1257 AArch64::AEK_PREDRES,
1258 AArch64::AEK_FLAGM,
1259 AArch64::AEK_SVE2,
1260 AArch64::AEK_FCMA,
1261 AArch64::AEK_CRC,
1262 AArch64::AEK_DOTPROD,
1263 AArch64::AEK_FP,
1264 AArch64::AEK_JSCVT,
1265 AArch64::AEK_LSE,
1266 AArch64::AEK_RAS,
1267 AArch64::AEK_RCPC,
1268 AArch64::AEK_RDM,
1269 AArch64::AEK_FPAC,
1270 })
1271 },
1272 {
1273 "cortex-a720",
1274 ARMV9_2A,
1275 AArch64::ExtensionBitset({
1276 AArch64::AEK_MTE,
1277 AArch64::AEK_FP16FML,
1278 AArch64::AEK_CCIDX,
1279 AArch64::AEK_TRBE,
1280 AArch64::AEK_SVEBITPERM,
1281 AArch64::AEK_ETE,
1282 AArch64::AEK_PERFMON,
1283 AArch64::AEK_PROFILE,
1284 AArch64::AEK_SPE_EEF,
1285 AArch64::AEK_SB,
1286 AArch64::AEK_SSBS,
1287 AArch64::AEK_PAUTH,
1288 AArch64::AEK_FLAGM,
1289 AArch64::AEK_PREDRES,
1290 AArch64::AEK_SVE,
1291 AArch64::AEK_SVE2,
1292 AArch64::AEK_BF16,
1293 AArch64::AEK_FCMA,
1294 AArch64::AEK_CRC,
1295 AArch64::AEK_DOTPROD,
1296 AArch64::AEK_FP,
1297 AArch64::AEK_FP16,
1298 AArch64::AEK_I8MM,
1299 AArch64::AEK_JSCVT,
1300 AArch64::AEK_LSE,
1301 AArch64::AEK_SIMD,
1302 AArch64::AEK_RAS,
1303 AArch64::AEK_RCPC,
1304 AArch64::AEK_RDM,
1305 AArch64::AEK_FPAC,
1306 })
1307 },
1308 {
1309 "cortex-a720ae",
1310 ARMV9_2A,
1311 AArch64::ExtensionBitset({
1312 AArch64::AEK_MTE,
1313 AArch64::AEK_FP16FML,
1314 AArch64::AEK_CCIDX,
1315 AArch64::AEK_TRBE,
1316 AArch64::AEK_SVEBITPERM,
1317 AArch64::AEK_ETE,
1318 AArch64::AEK_PERFMON,
1319 AArch64::AEK_PROFILE,
1320 AArch64::AEK_SPE_EEF,
1321 AArch64::AEK_SB,
1322 AArch64::AEK_SSBS,
1323 AArch64::AEK_PAUTH,
1324 AArch64::AEK_FLAGM,
1325 AArch64::AEK_PREDRES,
1326 AArch64::AEK_SVE,
1327 AArch64::AEK_SVE2,
1328 AArch64::AEK_BF16,
1329 AArch64::AEK_FCMA,
1330 AArch64::AEK_CRC,
1331 AArch64::AEK_DOTPROD,
1332 AArch64::AEK_FP,
1333 AArch64::AEK_FP16,
1334 AArch64::AEK_I8MM,
1335 AArch64::AEK_JSCVT,
1336 AArch64::AEK_LSE,
1337 AArch64::AEK_SIMD,
1338 AArch64::AEK_RAS,
1339 AArch64::AEK_RCPC,
1340 AArch64::AEK_RDM,
1341 AArch64::AEK_FPAC,
1342 })
1343 },
1344 {
1345 "cortex-a725",
1346 ARMV9_2A,
1347 AArch64::ExtensionBitset({
1348 AArch64::AEK_MTE,
1349 AArch64::AEK_FP16FML,
1350 AArch64::AEK_CCIDX,
1351 AArch64::AEK_ETE,
1352 AArch64::AEK_PERFMON,
1353 AArch64::AEK_PROFILE,
1354 AArch64::AEK_SVEBITPERM,
1355 AArch64::AEK_SPE_EEF,
1356 AArch64::AEK_TRBE,
1357 AArch64::AEK_FLAGM,
1358 AArch64::AEK_PREDRES,
1359 AArch64::AEK_SB,
1360 AArch64::AEK_SSBS,
1361 AArch64::AEK_SVE,
1362 AArch64::AEK_SVE2,
1363 AArch64::AEK_BF16,
1364 AArch64::AEK_FCMA,
1365 AArch64::AEK_CRC,
1366 AArch64::AEK_DOTPROD,
1367 AArch64::AEK_FP,
1368 AArch64::AEK_FP16,
1369 AArch64::AEK_I8MM,
1370 AArch64::AEK_JSCVT,
1371 AArch64::AEK_LSE,
1372 AArch64::AEK_SIMD,
1373 AArch64::AEK_PAUTH,
1374 AArch64::AEK_RAS,
1375 AArch64::AEK_RCPC,
1376 AArch64::AEK_RDM,
1377 AArch64::AEK_FPAC,
1378 })
1379 },
1380 {
1381 "c1-pro",
1382 ARMV9_3A,
1383 AArch64::ExtensionBitset({
1384 AArch64::AEK_SIMD,
1385 AArch64::AEK_CLRBHB,
1386 AArch64::AEK_CHK,
1387 AArch64::AEK_FP,
1388 AArch64::AEK_PERFMON,
1389 AArch64::AEK_SPECRES2,
1390 AArch64::AEK_SSBS,
1391 AArch64::AEK_RDM,
1392 AArch64::AEK_VH,
1393 AArch64::AEK_BF16,
1394 AArch64::AEK_DOTPROD,
1395 AArch64::AEK_FP16FML,
1396 AArch64::AEK_FP16,
1397 AArch64::AEK_MPAM,
1398 AArch64::AEK_PROFILE,
1399 AArch64::AEK_SVE,
1400 AArch64::AEK_CCIDX,
1401 AArch64::AEK_FCMA,
1402 AArch64::AEK_FPAC,
1403 AArch64::AEK_JSCVT,
1404 AArch64::AEK_AM,
1405 AArch64::AEK_RAS,
1406 AArch64::AEK_SEL2,
1407 AArch64::AEK_TRACEV8_4,
1408 AArch64::AEK_ALTERNATIVENZCV,
1409 AArch64::AEK_FRINT3264,
1410 AArch64::AEK_MTE,
1411 AArch64::AEK_FINEGRAINEDTRAPS,
1412 AArch64::AEK_HCX,
1413 AArch64::AEK_SPE_EEF,
1414 AArch64::AEK_RCPC3,
1415 AArch64::AEK_ETE,
1416 AArch64::AEK_SVEBITPERM,
1417 AArch64::AEK_SVE2,
1418 AArch64::AEK_TRBE,
1419 AArch64::AEK_SME,
1420 AArch64::AEK_SME2,
1421 })
1422 },
1423 {
1424 "cortex-r82",
1425 ARMV8R,
1426 AArch64::ExtensionBitset({
1427 AArch64::AEK_PERFMON,
1428 AArch64::AEK_FP16,
1429 AArch64::AEK_FP16FML,
1430 AArch64::AEK_SSBS,
1431 AArch64::AEK_PREDRES,
1432 AArch64::AEK_SB,
1433 AArch64::AEK_RDM,
1434 AArch64::AEK_DOTPROD,
1435 AArch64::AEK_FCMA,
1436 AArch64::AEK_JSCVT,
1437 AArch64::AEK_CCDP,
1438 AArch64::AEK_FLAGM,
1439 AArch64::AEK_CRC,
1440 AArch64::AEK_LSE,
1441 AArch64::AEK_RAS,
1442 AArch64::AEK_FP,
1443 AArch64::AEK_SIMD,
1444 AArch64::AEK_PAUTH,
1445 AArch64::AEK_RCPC,
1446 AArch64::AEK_FPAC,
1447 })
1448 },
1449 {
1450 "cortex-r82ae",
1451 ARMV8R,
1452 AArch64::ExtensionBitset({
1453 AArch64::AEK_PERFMON,
1454 AArch64::AEK_FP16,
1455 AArch64::AEK_FP16FML,
1456 AArch64::AEK_SSBS,
1457 AArch64::AEK_PREDRES,
1458 AArch64::AEK_SB,
1459 AArch64::AEK_RDM,
1460 AArch64::AEK_DOTPROD,
1461 AArch64::AEK_FCMA,
1462 AArch64::AEK_JSCVT,
1463 AArch64::AEK_CCDP,
1464 AArch64::AEK_LSE,
1465 AArch64::AEK_FLAGM,
1466 AArch64::AEK_CRC,
1467 AArch64::AEK_FP,
1468 AArch64::AEK_SIMD,
1469 AArch64::AEK_PAUTH,
1470 AArch64::AEK_RAS,
1471 AArch64::AEK_RCPC,
1472 AArch64::AEK_FPAC,
1473 })
1474 },
1475 {
1476 "cortex-x1",
1477 ARMV8_2A,
1478 AArch64::ExtensionBitset({
1479 AArch64::AEK_SHA2,
1480 AArch64::AEK_AES,
1481 AArch64::AEK_FP,
1482 AArch64::AEK_SIMD,
1483 AArch64::AEK_RCPC,
1484 AArch64::AEK_PERFMON,
1485 AArch64::AEK_PROFILE,
1486 AArch64::AEK_FP16,
1487 AArch64::AEK_DOTPROD,
1488 AArch64::AEK_SSBS,
1489 AArch64::AEK_CRC,
1490 AArch64::AEK_LSE,
1491 AArch64::AEK_RAS,
1492 AArch64::AEK_RDM,
1493 })
1494 },
1495 {
1496 "cortex-x1c",
1497 ARMV8_2A,
1498 AArch64::ExtensionBitset({
1499 AArch64::AEK_SHA2,
1500 AArch64::AEK_AES,
1501 AArch64::AEK_FP,
1502 AArch64::AEK_SIMD,
1503 AArch64::AEK_RCPC_IMMO,
1504 AArch64::AEK_PERFMON,
1505 AArch64::AEK_PROFILE,
1506 AArch64::AEK_FP16,
1507 AArch64::AEK_DOTPROD,
1508 AArch64::AEK_PAUTH,
1509 AArch64::AEK_SSBS,
1510 AArch64::AEK_FLAGM,
1511 AArch64::AEK_LSE2,
1512 AArch64::AEK_RCPC,
1513 AArch64::AEK_CRC,
1514 AArch64::AEK_LSE,
1515 AArch64::AEK_RAS,
1516 AArch64::AEK_RDM,
1517 })
1518 },
1519 {
1520 "cortex-x2",
1521 ARMV9A,
1522 AArch64::ExtensionBitset({
1523 AArch64::AEK_SIMD,
1524 AArch64::AEK_PERFMON,
1525 AArch64::AEK_I8MM,
1526 AArch64::AEK_BF16,
1527 AArch64::AEK_AM,
1528 AArch64::AEK_MTE,
1529 AArch64::AEK_ETE,
1530 AArch64::AEK_SVEBITPERM,
1531 AArch64::AEK_FP16FML,
1532 AArch64::AEK_CCIDX,
1533 AArch64::AEK_PAUTH,
1534 AArch64::AEK_SSBS,
1535 AArch64::AEK_SB,
1536 AArch64::AEK_SVE,
1537 AArch64::AEK_SVE2,
1538 AArch64::AEK_FLAGM,
1539 AArch64::AEK_FCMA,
1540 AArch64::AEK_CRC,
1541 AArch64::AEK_DOTPROD,
1542 AArch64::AEK_FP,
1543 AArch64::AEK_FP16,
1544 AArch64::AEK_JSCVT,
1545 AArch64::AEK_LSE,
1546 AArch64::AEK_RAS,
1547 AArch64::AEK_RCPC,
1548 AArch64::AEK_RDM,
1549 AArch64::AEK_FPAC,
1550 })
1551 },
1552 {
1553 "cortex-x3",
1554 ARMV9A,
1555 AArch64::ExtensionBitset({
1556 AArch64::AEK_SVE,
1557 AArch64::AEK_SIMD,
1558 AArch64::AEK_PERFMON,
1559 AArch64::AEK_ETE,
1560 AArch64::AEK_TRBE,
1561 AArch64::AEK_PROFILE,
1562 AArch64::AEK_BF16,
1563 AArch64::AEK_I8MM,
1564 AArch64::AEK_MTE,
1565 AArch64::AEK_SVEBITPERM,
1566 AArch64::AEK_FP16,
1567 AArch64::AEK_FP16FML,
1568 AArch64::AEK_CCIDX,
1569 AArch64::AEK_SB,
1570 AArch64::AEK_PAUTH,
1571 AArch64::AEK_PREDRES,
1572 AArch64::AEK_FLAGM,
1573 AArch64::AEK_SSBS,
1574 AArch64::AEK_SVE2,
1575 AArch64::AEK_FCMA,
1576 AArch64::AEK_CRC,
1577 AArch64::AEK_FP,
1578 AArch64::AEK_JSCVT,
1579 AArch64::AEK_LSE,
1580 AArch64::AEK_RAS,
1581 AArch64::AEK_RCPC,
1582 AArch64::AEK_RDM,
1583 AArch64::AEK_DOTPROD,
1584 AArch64::AEK_FPAC,
1585 })
1586 },
1587 {
1588 "cortex-x4",
1589 ARMV9_2A,
1590 AArch64::ExtensionBitset({
1591 AArch64::AEK_PERFMON,
1592 AArch64::AEK_ETE,
1593 AArch64::AEK_TRBE,
1594 AArch64::AEK_PROFILE,
1595 AArch64::AEK_MTE,
1596 AArch64::AEK_SVEBITPERM,
1597 AArch64::AEK_FP16FML,
1598 AArch64::AEK_SPE_EEF,
1599 AArch64::AEK_CCIDX,
1600 AArch64::AEK_SB,
1601 AArch64::AEK_SSBS,
1602 AArch64::AEK_PAUTH,
1603 AArch64::AEK_FLAGM,
1604 AArch64::AEK_PREDRES,
1605 AArch64::AEK_SVE,
1606 AArch64::AEK_SVE2,
1607 AArch64::AEK_FCMA,
1608 AArch64::AEK_CRC,
1609 AArch64::AEK_DOTPROD,
1610 AArch64::AEK_FP,
1611 AArch64::AEK_FP16,
1612 AArch64::AEK_I8MM,
1613 AArch64::AEK_JSCVT,
1614 AArch64::AEK_LSE,
1615 AArch64::AEK_SIMD,
1616 AArch64::AEK_RAS,
1617 AArch64::AEK_RCPC,
1618 AArch64::AEK_RDM,
1619 AArch64::AEK_BF16,
1620 AArch64::AEK_FPAC,
1621 })
1622 },
1623 {
1624 "cortex-x925",
1625 ARMV9_2A,
1626 AArch64::ExtensionBitset({
1627 AArch64::AEK_MTE,
1628 AArch64::AEK_FP16FML,
1629 AArch64::AEK_CCIDX,
1630 AArch64::AEK_ETE,
1631 AArch64::AEK_PERFMON,
1632 AArch64::AEK_PROFILE,
1633 AArch64::AEK_SVEBITPERM,
1634 AArch64::AEK_SPE_EEF,
1635 AArch64::AEK_TRBE,
1636 AArch64::AEK_FLAGM,
1637 AArch64::AEK_PREDRES,
1638 AArch64::AEK_SB,
1639 AArch64::AEK_SSBS,
1640 AArch64::AEK_SVE,
1641 AArch64::AEK_SVE2,
1642 AArch64::AEK_BF16,
1643 AArch64::AEK_FCMA,
1644 AArch64::AEK_CRC,
1645 AArch64::AEK_DOTPROD,
1646 AArch64::AEK_FP,
1647 AArch64::AEK_FP16,
1648 AArch64::AEK_I8MM,
1649 AArch64::AEK_JSCVT,
1650 AArch64::AEK_LSE,
1651 AArch64::AEK_SIMD,
1652 AArch64::AEK_PAUTH,
1653 AArch64::AEK_RAS,
1654 AArch64::AEK_RCPC,
1655 AArch64::AEK_RDM,
1656 AArch64::AEK_FPAC,
1657 })
1658 },
1659 {
1660 "c1-premium",
1661 ARMV9_3A,
1662 AArch64::ExtensionBitset({
1663 AArch64::AEK_SIMD,
1664 AArch64::AEK_CLRBHB,
1665 AArch64::AEK_CHK,
1666 AArch64::AEK_FP,
1667 AArch64::AEK_PERFMON,
1668 AArch64::AEK_SPECRES2,
1669 AArch64::AEK_SSBS,
1670 AArch64::AEK_RDM,
1671 AArch64::AEK_VH,
1672 AArch64::AEK_BF16,
1673 AArch64::AEK_DOTPROD,
1674 AArch64::AEK_FP16FML,
1675 AArch64::AEK_FP16,
1676 AArch64::AEK_MPAM,
1677 AArch64::AEK_PROFILE,
1678 AArch64::AEK_SVE,
1679 AArch64::AEK_CCIDX,
1680 AArch64::AEK_FCMA,
1681 AArch64::AEK_FPAC,
1682 AArch64::AEK_JSCVT,
1683 AArch64::AEK_AM,
1684 AArch64::AEK_RAS,
1685 AArch64::AEK_SEL2,
1686 AArch64::AEK_TRACEV8_4,
1687 AArch64::AEK_ALTERNATIVENZCV,
1688 AArch64::AEK_FRINT3264,
1689 AArch64::AEK_MTE,
1690 AArch64::AEK_FINEGRAINEDTRAPS,
1691 AArch64::AEK_HCX,
1692 AArch64::AEK_SPE_EEF,
1693 AArch64::AEK_RCPC3,
1694 AArch64::AEK_ETE,
1695 AArch64::AEK_SVEBITPERM,
1696 AArch64::AEK_SVE2,
1697 AArch64::AEK_TRBE,
1698 AArch64::AEK_SME,
1699 AArch64::AEK_SME2,
1700 })
1701 },
1702 {
1703 "c1-ultra",
1704 ARMV9_3A,
1705 AArch64::ExtensionBitset({
1706 AArch64::AEK_SIMD,
1707 AArch64::AEK_CLRBHB,
1708 AArch64::AEK_CHK,
1709 AArch64::AEK_FP,
1710 AArch64::AEK_PERFMON,
1711 AArch64::AEK_SPECRES2,
1712 AArch64::AEK_SSBS,
1713 AArch64::AEK_RDM,
1714 AArch64::AEK_VH,
1715 AArch64::AEK_BF16,
1716 AArch64::AEK_DOTPROD,
1717 AArch64::AEK_FP16FML,
1718 AArch64::AEK_FP16,
1719 AArch64::AEK_MPAM,
1720 AArch64::AEK_PROFILE,
1721 AArch64::AEK_SVE,
1722 AArch64::AEK_CCIDX,
1723 AArch64::AEK_FCMA,
1724 AArch64::AEK_FPAC,
1725 AArch64::AEK_JSCVT,
1726 AArch64::AEK_AM,
1727 AArch64::AEK_RAS,
1728 AArch64::AEK_SEL2,
1729 AArch64::AEK_TRACEV8_4,
1730 AArch64::AEK_ALTERNATIVENZCV,
1731 AArch64::AEK_FRINT3264,
1732 AArch64::AEK_MTE,
1733 AArch64::AEK_FINEGRAINEDTRAPS,
1734 AArch64::AEK_HCX,
1735 AArch64::AEK_SPE_EEF,
1736 AArch64::AEK_RCPC3,
1737 AArch64::AEK_ETE,
1738 AArch64::AEK_SVEBITPERM,
1739 AArch64::AEK_SVE2,
1740 AArch64::AEK_TRBE,
1741 AArch64::AEK_SME,
1742 AArch64::AEK_SME2,
1743 })
1744 },
1745 {
1746 "gb10",
1747 ARMV9_2A,
1748 AArch64::ExtensionBitset({
1749 AArch64::AEK_MTE,
1750 AArch64::AEK_FP16FML,
1751 AArch64::AEK_CCIDX,
1752 AArch64::AEK_ETE,
1753 AArch64::AEK_PERFMON,
1754 AArch64::AEK_PROFILE,
1755 AArch64::AEK_SVEBITPERM,
1756 AArch64::AEK_SPE_EEF,
1757 AArch64::AEK_TRBE,
1758 AArch64::AEK_FLAGM,
1759 AArch64::AEK_PREDRES,
1760 AArch64::AEK_SB,
1761 AArch64::AEK_SSBS,
1762 AArch64::AEK_SVE,
1763 AArch64::AEK_SVE2,
1764 AArch64::AEK_BF16,
1765 AArch64::AEK_FCMA,
1766 AArch64::AEK_CRC,
1767 AArch64::AEK_DOTPROD,
1768 AArch64::AEK_FP,
1769 AArch64::AEK_FP16,
1770 AArch64::AEK_I8MM,
1771 AArch64::AEK_JSCVT,
1772 AArch64::AEK_LSE,
1773 AArch64::AEK_SIMD,
1774 AArch64::AEK_PAUTH,
1775 AArch64::AEK_RAS,
1776 AArch64::AEK_RCPC,
1777 AArch64::AEK_RDM,
1778 AArch64::AEK_FPAC,
1779 AArch64::AEK_SVEAES,
1780 AArch64::AEK_SVESHA3,
1781 AArch64::AEK_SVESM4,
1782 })
1783 },
1784 {
1785 "grace",
1786 ARMV9A,
1787 AArch64::ExtensionBitset({
1788 AArch64::AEK_BF16,
1789 AArch64::AEK_PROFILE,
1790 AArch64::AEK_PERFMON,
1791 AArch64::AEK_ETE,
1792 AArch64::AEK_I8MM,
1793 AArch64::AEK_SIMD,
1794 AArch64::AEK_SVEBITPERM,
1795 AArch64::AEK_FP16FML,
1796 AArch64::AEK_MTE,
1797 AArch64::AEK_CCIDX,
1798 AArch64::AEK_SVE,
1799 AArch64::AEK_SVE2,
1800 AArch64::AEK_SSBS,
1801 AArch64::AEK_FP16,
1802 AArch64::AEK_DOTPROD,
1803 AArch64::AEK_FCMA,
1804 AArch64::AEK_CRC,
1805 AArch64::AEK_FP,
1806 AArch64::AEK_JSCVT,
1807 AArch64::AEK_LSE,
1808 AArch64::AEK_PAUTH,
1809 AArch64::AEK_RAS,
1810 AArch64::AEK_RCPC,
1811 AArch64::AEK_RDM,
1812 AArch64::AEK_FPAC,
1813 AArch64::AEK_SVESM4,
1814 AArch64::AEK_SVEAES,
1815 AArch64::AEK_SVESHA3,
1816 })
1817 },
1818 {
1819 "neoverse-e1",
1820 ARMV8_2A,
1821 AArch64::ExtensionBitset({
1822 AArch64::AEK_SHA2,
1823 AArch64::AEK_AES,
1824 AArch64::AEK_DOTPROD,
1825 AArch64::AEK_FP,
1826 AArch64::AEK_FP16,
1827 AArch64::AEK_SIMD,
1828 AArch64::AEK_RCPC,
1829 AArch64::AEK_SSBS,
1830 AArch64::AEK_PERFMON,
1831 AArch64::AEK_CRC,
1832 AArch64::AEK_LSE,
1833 AArch64::AEK_RAS,
1834 AArch64::AEK_RDM,
1835 })
1836 },
1837 {
1838 "neoverse-n1",
1839 ARMV8_2A,
1840 AArch64::ExtensionBitset({
1841 AArch64::AEK_SHA2,
1842 AArch64::AEK_AES,
1843 AArch64::AEK_DOTPROD,
1844 AArch64::AEK_FP,
1845 AArch64::AEK_FP16,
1846 AArch64::AEK_SIMD,
1847 AArch64::AEK_RCPC,
1848 AArch64::AEK_PROFILE,
1849 AArch64::AEK_SSBS,
1850 AArch64::AEK_PERFMON,
1851 AArch64::AEK_CRC,
1852 AArch64::AEK_LSE,
1853 AArch64::AEK_RAS,
1854 AArch64::AEK_RDM,
1855 })
1856 },
1857 {
1858 "neoverse-n2",
1859 ARMV9A,
1860 AArch64::ExtensionBitset({
1861 AArch64::AEK_BF16,
1862 AArch64::AEK_ETE,
1863 AArch64::AEK_FP16FML,
1864 AArch64::AEK_I8MM,
1865 AArch64::AEK_MTE,
1866 AArch64::AEK_SVE2,
1867 AArch64::AEK_SVEBITPERM,
1868 AArch64::AEK_TRBE,
1869 AArch64::AEK_PERFMON,
1870 AArch64::AEK_CCIDX,
1871 AArch64::AEK_DOTPROD,
1872 AArch64::AEK_FP16,
1873 AArch64::AEK_SB,
1874 AArch64::AEK_SSBS,
1875 AArch64::AEK_SVE,
1876 AArch64::AEK_FCMA,
1877 AArch64::AEK_CRC,
1878 AArch64::AEK_FP,
1879 AArch64::AEK_JSCVT,
1880 AArch64::AEK_LSE,
1881 AArch64::AEK_SIMD,
1882 AArch64::AEK_PAUTH,
1883 AArch64::AEK_RAS,
1884 AArch64::AEK_RCPC,
1885 AArch64::AEK_RDM,
1886 AArch64::AEK_FPAC,
1887 })
1888 },
1889 {
1890 "neoverse-n3",
1891 ARMV9_2A,
1892 AArch64::ExtensionBitset({
1893 AArch64::AEK_ETE,
1894 AArch64::AEK_FP16FML,
1895 AArch64::AEK_FP16,
1896 AArch64::AEK_MTE,
1897 AArch64::AEK_PERFMON,
1898 AArch64::AEK_RAND,
1899 AArch64::AEK_PROFILE,
1900 AArch64::AEK_SPE_EEF,
1901 AArch64::AEK_SVEBITPERM,
1902 AArch64::AEK_CCIDX,
1903 AArch64::AEK_SSBS,
1904 AArch64::AEK_SB,
1905 AArch64::AEK_PREDRES,
1906 AArch64::AEK_PAUTH,
1907 AArch64::AEK_FLAGM,
1908 AArch64::AEK_SVE,
1909 AArch64::AEK_SVE2,
1910 AArch64::AEK_BF16,
1911 AArch64::AEK_FCMA,
1912 AArch64::AEK_CRC,
1913 AArch64::AEK_DOTPROD,
1914 AArch64::AEK_FP,
1915 AArch64::AEK_I8MM,
1916 AArch64::AEK_JSCVT,
1917 AArch64::AEK_LSE,
1918 AArch64::AEK_RAS,
1919 AArch64::AEK_RCPC,
1920 AArch64::AEK_RDM,
1921 AArch64::AEK_SIMD,
1922 AArch64::AEK_FPAC,
1923 })
1924 },
1925 {
1926 "neoverse-512tvb",
1927 ARMV8_4A,
1928 AArch64::ExtensionBitset({
1929 AArch64::AEK_BF16,
1930 AArch64::AEK_CCDP,
1931 AArch64::AEK_SHA2,
1932 AArch64::AEK_AES,
1933 AArch64::AEK_FP,
1934 AArch64::AEK_FP16FML,
1935 AArch64::AEK_FP16,
1936 AArch64::AEK_I8MM,
1937 AArch64::AEK_SIMD,
1938 AArch64::AEK_PERFMON,
1939 AArch64::AEK_RAND,
1940 AArch64::AEK_PROFILE,
1941 AArch64::AEK_SSBS,
1942 AArch64::AEK_SVE,
1943 AArch64::AEK_CCIDX,
1944 AArch64::AEK_SHA3,
1945 AArch64::AEK_SM4,
1946 AArch64::AEK_DOTPROD,
1947 AArch64::AEK_FCMA,
1948 AArch64::AEK_CRC,
1949 AArch64::AEK_JSCVT,
1950 AArch64::AEK_LSE,
1951 AArch64::AEK_PAUTH,
1952 AArch64::AEK_RAS,
1953 AArch64::AEK_RCPC,
1954 AArch64::AEK_RDM,
1955 AArch64::AEK_FPAC,
1956 })
1957 },
1958 {
1959 "neoverse-v1",
1960 ARMV8_4A,
1961 AArch64::ExtensionBitset({
1962 AArch64::AEK_BF16,
1963 AArch64::AEK_CCDP,
1964 AArch64::AEK_SHA2,
1965 AArch64::AEK_AES,
1966 AArch64::AEK_FP,
1967 AArch64::AEK_FP16FML,
1968 AArch64::AEK_FP16,
1969 AArch64::AEK_I8MM,
1970 AArch64::AEK_SIMD,
1971 AArch64::AEK_PERFMON,
1972 AArch64::AEK_RAND,
1973 AArch64::AEK_PROFILE,
1974 AArch64::AEK_SSBS,
1975 AArch64::AEK_SVE,
1976 AArch64::AEK_CCIDX,
1977 AArch64::AEK_SHA3,
1978 AArch64::AEK_SM4,
1979 AArch64::AEK_DOTPROD,
1980 AArch64::AEK_FCMA,
1981 AArch64::AEK_CRC,
1982 AArch64::AEK_JSCVT,
1983 AArch64::AEK_LSE,
1984 AArch64::AEK_PAUTH,
1985 AArch64::AEK_RAS,
1986 AArch64::AEK_RCPC,
1987 AArch64::AEK_RDM,
1988 })
1989 },
1990 {
1991 "neoverse-v2",
1992 ARMV9A,
1993 AArch64::ExtensionBitset({
1994 AArch64::AEK_BF16,
1995 AArch64::AEK_PROFILE,
1996 AArch64::AEK_PERFMON,
1997 AArch64::AEK_ETE,
1998 AArch64::AEK_I8MM,
1999 AArch64::AEK_SIMD,
2000 AArch64::AEK_SVEBITPERM,
2001 AArch64::AEK_FP16FML,
2002 AArch64::AEK_MTE,
2003 AArch64::AEK_RAND,
2004 AArch64::AEK_CCIDX,
2005 AArch64::AEK_SVE,
2006 AArch64::AEK_SVE2,
2007 AArch64::AEK_SSBS,
2008 AArch64::AEK_FP16,
2009 AArch64::AEK_DOTPROD,
2010 AArch64::AEK_FCMA,
2011 AArch64::AEK_CRC,
2012 AArch64::AEK_FP,
2013 AArch64::AEK_JSCVT,
2014 AArch64::AEK_LSE,
2015 AArch64::AEK_PAUTH,
2016 AArch64::AEK_RAS,
2017 AArch64::AEK_RCPC,
2018 AArch64::AEK_RDM,
2019 AArch64::AEK_FPAC,
2020 })
2021 },
2022 {
2023 "neoverse-v3",
2024 ARMV9_2A,
2025 AArch64::ExtensionBitset({
2026 AArch64::AEK_ETE,
2027 AArch64::AEK_FP16FML,
2028 AArch64::AEK_FP16,
2029 AArch64::AEK_LS64,
2030 AArch64::AEK_MTE,
2031 AArch64::AEK_PERFMON,
2032 AArch64::AEK_RAND,
2033 AArch64::AEK_PROFILE,
2034 AArch64::AEK_CCIDX,
2035 AArch64::AEK_SPE_EEF,
2036 AArch64::AEK_SVEBITPERM,
2037 AArch64::AEK_BRBE,
2038 AArch64::AEK_SSBS,
2039 AArch64::AEK_SB,
2040 AArch64::AEK_PREDRES,
2041 AArch64::AEK_PAUTH,
2042 AArch64::AEK_FLAGM,
2043 AArch64::AEK_SVE,
2044 AArch64::AEK_SVE2,
2045 AArch64::AEK_BF16,
2046 AArch64::AEK_FCMA,
2047 AArch64::AEK_CRC,
2048 AArch64::AEK_DOTPROD,
2049 AArch64::AEK_FP,
2050 AArch64::AEK_I8MM,
2051 AArch64::AEK_JSCVT,
2052 AArch64::AEK_LSE,
2053 AArch64::AEK_SIMD,
2054 AArch64::AEK_RAS,
2055 AArch64::AEK_RCPC,
2056 AArch64::AEK_RDM,
2057 AArch64::AEK_RME,
2058 AArch64::AEK_FPAC,
2059 })
2060 },
2061 {
2062 "neoverse-v3ae",
2063 ARMV9_2A,
2064 AArch64::ExtensionBitset({
2065 AArch64::AEK_ETE,
2066 AArch64::AEK_FP16FML,
2067 AArch64::AEK_FP16,
2068 AArch64::AEK_LS64,
2069 AArch64::AEK_MTE,
2070 AArch64::AEK_PERFMON,
2071 AArch64::AEK_RAND,
2072 AArch64::AEK_PROFILE,
2073 AArch64::AEK_SPE_EEF,
2074 AArch64::AEK_SVEBITPERM,
2075 AArch64::AEK_BRBE,
2076 AArch64::AEK_SSBS,
2077 AArch64::AEK_SB,
2078 AArch64::AEK_PREDRES,
2079 AArch64::AEK_PAUTH,
2080 AArch64::AEK_FLAGM,
2081 AArch64::AEK_CCIDX,
2082 AArch64::AEK_SVE,
2083 AArch64::AEK_SVE2,
2084 AArch64::AEK_BF16,
2085 AArch64::AEK_FCMA,
2086 AArch64::AEK_CRC,
2087 AArch64::AEK_DOTPROD,
2088 AArch64::AEK_FP,
2089 AArch64::AEK_I8MM,
2090 AArch64::AEK_JSCVT,
2091 AArch64::AEK_LSE,
2092 AArch64::AEK_SIMD,
2093 AArch64::AEK_RAS,
2094 AArch64::AEK_RCPC,
2095 AArch64::AEK_RDM,
2096 AArch64::AEK_RME,
2097 AArch64::AEK_FPAC,
2098 })
2099 },
2100 {
2101 "exynos-m3",
2102 ARMV8A,
2103 AArch64::ExtensionBitset({
2104 AArch64::AEK_CRC,
2105 AArch64::AEK_SHA2,
2106 AArch64::AEK_AES,
2107 AArch64::AEK_PERFMON,
2108 AArch64::AEK_SIMD,
2109 AArch64::AEK_FP,
2110 })
2111 },
2112 {
2113 "exynos-m4",
2114 ARMV8_2A,
2115 AArch64::ExtensionBitset({
2116 AArch64::AEK_SHA2,
2117 AArch64::AEK_AES,
2118 AArch64::AEK_DOTPROD,
2119 AArch64::AEK_FP16,
2120 AArch64::AEK_PERFMON,
2121 AArch64::AEK_CRC,
2122 AArch64::AEK_FP,
2123 AArch64::AEK_LSE,
2124 AArch64::AEK_SIMD,
2125 AArch64::AEK_RAS,
2126 AArch64::AEK_RDM,
2127 })
2128 },
2129 {
2130 "exynos-m5",
2131 ARMV8_2A,
2132 AArch64::ExtensionBitset({
2133 AArch64::AEK_SHA2,
2134 AArch64::AEK_AES,
2135 AArch64::AEK_DOTPROD,
2136 AArch64::AEK_FP16,
2137 AArch64::AEK_PERFMON,
2138 AArch64::AEK_CRC,
2139 AArch64::AEK_FP,
2140 AArch64::AEK_LSE,
2141 AArch64::AEK_SIMD,
2142 AArch64::AEK_RAS,
2143 AArch64::AEK_RDM,
2144 })
2145 },
2146 {
2147 "falkor",
2148 ARMV8A,
2149 AArch64::ExtensionBitset({
2150 AArch64::AEK_CRC,
2151 AArch64::AEK_SHA2,
2152 AArch64::AEK_AES,
2153 AArch64::AEK_FP,
2154 AArch64::AEK_SIMD,
2155 AArch64::AEK_PERFMON,
2156 AArch64::AEK_RDM,
2157 })
2158 },
2159 {
2160 "saphira",
2161 ARMV8_4A,
2162 AArch64::ExtensionBitset({
2163 AArch64::AEK_SHA2,
2164 AArch64::AEK_AES,
2165 AArch64::AEK_FP,
2166 AArch64::AEK_SIMD,
2167 AArch64::AEK_PROFILE,
2168 AArch64::AEK_PERFMON,
2169 AArch64::AEK_CRC,
2170 AArch64::AEK_CCIDX,
2171 AArch64::AEK_LSE,
2172 AArch64::AEK_RDM,
2173 AArch64::AEK_RAS,
2174 AArch64::AEK_RCPC,
2175 })
2176 },
2177 {
2178 "kryo",
2179 ARMV8A,
2180 AArch64::ExtensionBitset({
2181 AArch64::AEK_CRC,
2182 AArch64::AEK_SHA2,
2183 AArch64::AEK_AES,
2184 AArch64::AEK_FP,
2185 AArch64::AEK_SIMD,
2186 AArch64::AEK_PERFMON,
2187 })
2188 },
2189 {
2190 "thunderx",
2191 ARMV8A,
2192 AArch64::ExtensionBitset({
2193 AArch64::AEK_CRC,
2194 AArch64::AEK_SHA2,
2195 AArch64::AEK_AES,
2196 AArch64::AEK_FP,
2197 AArch64::AEK_PERFMON,
2198 AArch64::AEK_SIMD,
2199 })
2200 },
2201 {
2202 "thunderxt88",
2203 ARMV8A,
2204 AArch64::ExtensionBitset({
2205 AArch64::AEK_CRC,
2206 AArch64::AEK_SHA2,
2207 AArch64::AEK_AES,
2208 AArch64::AEK_FP,
2209 AArch64::AEK_PERFMON,
2210 AArch64::AEK_SIMD,
2211 })
2212 },
2213 {
2214 "thunderxt81",
2215 ARMV8A,
2216 AArch64::ExtensionBitset({
2217 AArch64::AEK_CRC,
2218 AArch64::AEK_SHA2,
2219 AArch64::AEK_AES,
2220 AArch64::AEK_FP,
2221 AArch64::AEK_PERFMON,
2222 AArch64::AEK_SIMD,
2223 })
2224 },
2225 {
2226 "thunderxt83",
2227 ARMV8A,
2228 AArch64::ExtensionBitset({
2229 AArch64::AEK_CRC,
2230 AArch64::AEK_SHA2,
2231 AArch64::AEK_AES,
2232 AArch64::AEK_FP,
2233 AArch64::AEK_PERFMON,
2234 AArch64::AEK_SIMD,
2235 })
2236 },
2237 {
2238 "thunderx2t99",
2239 ARMV8_1A,
2240 AArch64::ExtensionBitset({
2241 AArch64::AEK_CRC,
2242 AArch64::AEK_SHA2,
2243 AArch64::AEK_AES,
2244 AArch64::AEK_FP,
2245 AArch64::AEK_SIMD,
2246 AArch64::AEK_LSE,
2247 AArch64::AEK_RDM,
2248 })
2249 },
2250 {
2251 "thunderx3t110",
2252 ARMV8_3A,
2253 AArch64::ExtensionBitset({
2254 AArch64::AEK_CRC,
2255 AArch64::AEK_SHA2,
2256 AArch64::AEK_AES,
2257 AArch64::AEK_FP,
2258 AArch64::AEK_SIMD,
2259 AArch64::AEK_LSE,
2260 AArch64::AEK_CCIDX,
2261 AArch64::AEK_PAUTH,
2262 AArch64::AEK_PERFMON,
2263 AArch64::AEK_FCMA,
2264 AArch64::AEK_JSCVT,
2265 AArch64::AEK_RAS,
2266 AArch64::AEK_RCPC,
2267 AArch64::AEK_RDM,
2268 })
2269 },
2270 {
2271 "tsv110",
2272 ARMV8_2A,
2273 AArch64::ExtensionBitset({
2274 AArch64::AEK_SHA2,
2275 AArch64::AEK_AES,
2276 AArch64::AEK_FP,
2277 AArch64::AEK_SIMD,
2278 AArch64::AEK_PERFMON,
2279 AArch64::AEK_PROFILE,
2280 AArch64::AEK_FP16,
2281 AArch64::AEK_FP16FML,
2282 AArch64::AEK_DOTPROD,
2283 AArch64::AEK_JSCVT,
2284 AArch64::AEK_FCMA,
2285 AArch64::AEK_CRC,
2286 AArch64::AEK_LSE,
2287 AArch64::AEK_RAS,
2288 AArch64::AEK_RDM,
2289 })
2290 },
2291 {
2292 "apple-a7",
2293 ARMV8A,
2294 AArch64::ExtensionBitset({
2295 AArch64::AEK_SHA2,
2296 AArch64::AEK_AES,
2297 AArch64::AEK_FP,
2298 AArch64::AEK_SIMD,
2299 AArch64::AEK_PERFMON,
2300 })
2301 },
2302 {
2303 "apple-a10",
2304 ARMV8A,
2305 AArch64::ExtensionBitset({
2306 AArch64::AEK_SHA2,
2307 AArch64::AEK_AES,
2308 AArch64::AEK_FP,
2309 AArch64::AEK_SIMD,
2310 AArch64::AEK_PERFMON,
2311 AArch64::AEK_CRC,
2312 AArch64::AEK_RDM,
2313 AArch64::AEK_PAN,
2314 AArch64::AEK_LOR,
2315 AArch64::AEK_VH,
2316 })
2317 },
2318 {
2319 "apple-a11",
2320 ARMV8_2A,
2321 AArch64::ExtensionBitset({
2322 AArch64::AEK_SHA2,
2323 AArch64::AEK_AES,
2324 AArch64::AEK_FP,
2325 AArch64::AEK_SIMD,
2326 AArch64::AEK_PERFMON,
2327 AArch64::AEK_FP16,
2328 AArch64::AEK_CRC,
2329 AArch64::AEK_LSE,
2330 AArch64::AEK_RAS,
2331 AArch64::AEK_RDM,
2332 })
2333 },
2334 {
2335 "apple-a12",
2336 ARMV8_3A,
2337 AArch64::ExtensionBitset({
2338 AArch64::AEK_SHA2,
2339 AArch64::AEK_AES,
2340 AArch64::AEK_FP,
2341 AArch64::AEK_SIMD,
2342 AArch64::AEK_PERFMON,
2343 AArch64::AEK_FP16,
2344 AArch64::AEK_FCMA,
2345 AArch64::AEK_CRC,
2346 AArch64::AEK_JSCVT,
2347 AArch64::AEK_LSE,
2348 AArch64::AEK_PAUTH,
2349 AArch64::AEK_RAS,
2350 AArch64::AEK_RCPC,
2351 AArch64::AEK_RDM,
2352 })
2353 },
2354 {
2355 "apple-a13",
2356 ARMV8_4A,
2357 AArch64::ExtensionBitset({
2358 AArch64::AEK_SHA2,
2359 AArch64::AEK_AES,
2360 AArch64::AEK_FP,
2361 AArch64::AEK_SIMD,
2362 AArch64::AEK_PERFMON,
2363 AArch64::AEK_FP16,
2364 AArch64::AEK_FP16FML,
2365 AArch64::AEK_SHA3,
2366 AArch64::AEK_FCMA,
2367 AArch64::AEK_CRC,
2368 AArch64::AEK_JSCVT,
2369 AArch64::AEK_LSE,
2370 AArch64::AEK_PAUTH,
2371 AArch64::AEK_RAS,
2372 AArch64::AEK_RCPC,
2373 AArch64::AEK_RDM,
2374 AArch64::AEK_DOTPROD,
2375 })
2376 },
2377 {
2378 "apple-a14",
2379 ARMV8_4A,
2380 AArch64::ExtensionBitset({
2381 AArch64::AEK_SHA2,
2382 AArch64::AEK_AES,
2383 AArch64::AEK_FP,
2384 AArch64::AEK_SIMD,
2385 AArch64::AEK_PERFMON,
2386 AArch64::AEK_FP16,
2387 AArch64::AEK_FP16FML,
2388 AArch64::AEK_SHA3,
2389 AArch64::AEK_ALTERNATIVENZCV,
2390 AArch64::AEK_FRINT3264,
2391 AArch64::AEK_SPECRESTRICT,
2392 AArch64::AEK_SSBS,
2393 AArch64::AEK_SB,
2394 AArch64::AEK_PREDRES,
2395 AArch64::AEK_CCDP,
2396 AArch64::AEK_FCMA,
2397 AArch64::AEK_CRC,
2398 AArch64::AEK_JSCVT,
2399 AArch64::AEK_LSE,
2400 AArch64::AEK_PAUTH,
2401 AArch64::AEK_RAS,
2402 AArch64::AEK_RCPC,
2403 AArch64::AEK_RDM,
2404 AArch64::AEK_DOTPROD,
2405 })
2406 },
2407 {
2408 "apple-a15",
2409 ARMV8_6A,
2410 AArch64::ExtensionBitset({
2411 AArch64::AEK_SHA2,
2412 AArch64::AEK_AES,
2413 AArch64::AEK_FP,
2414 AArch64::AEK_SIMD,
2415 AArch64::AEK_PERFMON,
2416 AArch64::AEK_SHA3,
2417 AArch64::AEK_FP16,
2418 AArch64::AEK_FP16FML,
2419 AArch64::AEK_FCMA,
2420 AArch64::AEK_CRC,
2421 AArch64::AEK_JSCVT,
2422 AArch64::AEK_LSE,
2423 AArch64::AEK_PAUTH,
2424 AArch64::AEK_FPAC,
2425 AArch64::AEK_RAS,
2426 AArch64::AEK_RCPC,
2427 AArch64::AEK_RDM,
2428 AArch64::AEK_BF16,
2429 AArch64::AEK_DOTPROD,
2430 AArch64::AEK_I8MM,
2431 AArch64::AEK_SSBS,
2432 })
2433 },
2434 {
2435 "apple-a16",
2436 ARMV8_6A,
2437 AArch64::ExtensionBitset({
2438 AArch64::AEK_SHA2,
2439 AArch64::AEK_AES,
2440 AArch64::AEK_FP,
2441 AArch64::AEK_SIMD,
2442 AArch64::AEK_PERFMON,
2443 AArch64::AEK_SHA3,
2444 AArch64::AEK_FP16,
2445 AArch64::AEK_FP16FML,
2446 AArch64::AEK_HCX,
2447 AArch64::AEK_FCMA,
2448 AArch64::AEK_CRC,
2449 AArch64::AEK_JSCVT,
2450 AArch64::AEK_LSE,
2451 AArch64::AEK_PAUTH,
2452 AArch64::AEK_FPAC,
2453 AArch64::AEK_RAS,
2454 AArch64::AEK_RCPC,
2455 AArch64::AEK_RDM,
2456 AArch64::AEK_BF16,
2457 AArch64::AEK_DOTPROD,
2458 AArch64::AEK_I8MM,
2459 AArch64::AEK_SSBS,
2460 })
2461 },
2462 {
2463 "apple-a17",
2464 ARMV8_6A,
2465 AArch64::ExtensionBitset({
2466 AArch64::AEK_SHA2,
2467 AArch64::AEK_AES,
2468 AArch64::AEK_FP,
2469 AArch64::AEK_SIMD,
2470 AArch64::AEK_PERFMON,
2471 AArch64::AEK_SHA3,
2472 AArch64::AEK_FP16,
2473 AArch64::AEK_FP16FML,
2474 AArch64::AEK_HCX,
2475 AArch64::AEK_FCMA,
2476 AArch64::AEK_CRC,
2477 AArch64::AEK_JSCVT,
2478 AArch64::AEK_LSE,
2479 AArch64::AEK_PAUTH,
2480 AArch64::AEK_FPAC,
2481 AArch64::AEK_RAS,
2482 AArch64::AEK_RCPC,
2483 AArch64::AEK_RDM,
2484 AArch64::AEK_BF16,
2485 AArch64::AEK_DOTPROD,
2486 AArch64::AEK_I8MM,
2487 AArch64::AEK_SSBS,
2488 })
2489 },
2490 {
2491 "apple-m4",
2492 ARMV8_7A,
2493 AArch64::ExtensionBitset({
2494 AArch64::AEK_SHA2,
2495 AArch64::AEK_FP,
2496 AArch64::AEK_SIMD,
2497 AArch64::AEK_PERFMON,
2498 AArch64::AEK_SHA3,
2499 AArch64::AEK_FP16,
2500 AArch64::AEK_FP16FML,
2501 AArch64::AEK_AES,
2502 AArch64::AEK_BF16,
2503 AArch64::AEK_SME,
2504 AArch64::AEK_SME2,
2505 AArch64::AEK_SMEF64F64,
2506 AArch64::AEK_SMEI16I64,
2507 AArch64::AEK_FCMA,
2508 AArch64::AEK_CRC,
2509 AArch64::AEK_JSCVT,
2510 AArch64::AEK_LSE,
2511 AArch64::AEK_PAUTH,
2512 AArch64::AEK_FPAC,
2513 AArch64::AEK_RAS,
2514 AArch64::AEK_RCPC,
2515 AArch64::AEK_RDM,
2516 AArch64::AEK_DOTPROD,
2517 AArch64::AEK_I8MM,
2518 })
2519 },
2520 {
2521 "apple-m5",
2522 ARMV8_7A,
2523 AArch64::ExtensionBitset({
2524 AArch64::AEK_SHA2,
2525 AArch64::AEK_FP,
2526 AArch64::AEK_SIMD,
2527 AArch64::AEK_PERFMON,
2528 AArch64::AEK_SHA3,
2529 AArch64::AEK_FP16,
2530 AArch64::AEK_FP16FML,
2531 AArch64::AEK_AES,
2532 AArch64::AEK_BF16,
2533 AArch64::AEK_WFXT,
2534 AArch64::AEK_SME,
2535 AArch64::AEK_SME2,
2536 AArch64::AEK_SMEF64F64,
2537 AArch64::AEK_SMEI16I64,
2538 AArch64::AEK_FCMA,
2539 AArch64::AEK_CRC,
2540 AArch64::AEK_JSCVT,
2541 AArch64::AEK_LSE,
2542 AArch64::AEK_PAUTH,
2543 AArch64::AEK_FPAC,
2544 AArch64::AEK_RAS,
2545 AArch64::AEK_RCPC,
2546 AArch64::AEK_RDM,
2547 AArch64::AEK_DOTPROD,
2548 AArch64::AEK_I8MM,
2549 AArch64::AEK_MTE,
2550 AArch64::AEK_CSSC,
2551 AArch64::AEK_HBC,
2552 AArch64::AEK_SME2P1,
2553 AArch64::AEK_SMEB16B16,
2554 AArch64::AEK_SMEF16F16,
2555 AArch64::AEK_SPECRES2,
2556 })
2557 },
2558 {
2559 "a64fx",
2560 ARMV8_2A,
2561 AArch64::ExtensionBitset({
2562 AArch64::AEK_FP,
2563 AArch64::AEK_SIMD,
2564 AArch64::AEK_SHA2,
2565 AArch64::AEK_PERFMON,
2566 AArch64::AEK_FP16,
2567 AArch64::AEK_SVE,
2568 AArch64::AEK_FCMA,
2569 AArch64::AEK_AES,
2570 AArch64::AEK_CRC,
2571 AArch64::AEK_LSE,
2572 AArch64::AEK_RAS,
2573 AArch64::AEK_RDM,
2574 })
2575 },
2576 {
2577 "fujitsu-monaka",
2578 ARMV9_3A,
2579 AArch64::ExtensionBitset({
2580 AArch64::AEK_PERFMON,
2581 AArch64::AEK_CCIDX,
2582 AArch64::AEK_FPAC,
2583 AArch64::AEK_FP16FML,
2584 AArch64::AEK_RAND,
2585 AArch64::AEK_SSBS,
2586 AArch64::AEK_LS64,
2587 AArch64::AEK_CLRBHB,
2588 AArch64::AEK_SPECRES2,
2589 AArch64::AEK_SVEAES,
2590 AArch64::AEK_SVESM4,
2591 AArch64::AEK_SVESHA3,
2592 AArch64::AEK_SVE2,
2593 AArch64::AEK_SVEBITPERM,
2594 AArch64::AEK_ETE,
2595 AArch64::AEK_MEC,
2596 AArch64::AEK_FAMINMAX,
2597 AArch64::AEK_FP8DOT2,
2598 AArch64::AEK_FP8DOT4,
2599 AArch64::AEK_FP8FMA,
2600 AArch64::AEK_LUT,
2601 })
2602 },
2603 {
2604 "carmel",
2605 ARMV8_2A,
2606 AArch64::ExtensionBitset({
2607 AArch64::AEK_SIMD,
2608 AArch64::AEK_SHA2,
2609 AArch64::AEK_AES,
2610 AArch64::AEK_FP16,
2611 AArch64::AEK_CRC,
2612 AArch64::AEK_LSE,
2613 AArch64::AEK_RAS,
2614 AArch64::AEK_RDM,
2615 AArch64::AEK_FP,
2616 })
2617 },
2618 {
2619 "olympus",
2620 ARMV9_2A,
2621 AArch64::ExtensionBitset({
2622 AArch64::AEK_BRBE,
2623 AArch64::AEK_CCIDX,
2624 AArch64::AEK_CHK,
2625 AArch64::AEK_ETE,
2626 AArch64::AEK_FAMINMAX,
2627 AArch64::AEK_FP16FML,
2628 AArch64::AEK_FP8DOT2,
2629 AArch64::AEK_FP8DOT4,
2630 AArch64::AEK_FP8FMA,
2631 AArch64::AEK_FPAC,
2632 AArch64::AEK_LS64,
2633 AArch64::AEK_LUT,
2634 AArch64::AEK_MEC,
2635 AArch64::AEK_MTE,
2636 AArch64::AEK_PERFMON,
2637 AArch64::AEK_RAND,
2638 AArch64::AEK_PROFILE,
2639 AArch64::AEK_SPE_EEF,
2640 AArch64::AEK_SSBS,
2641 AArch64::AEK_SVEBITPERM,
2642 AArch64::AEK_SVESHA3,
2643 AArch64::AEK_SVESM4,
2644 AArch64::AEK_SVEAES,
2645 AArch64::AEK_SVE2,
2646 })
2647 },
2648 {
2649 "ampere1",
2650 ARMV8_6A,
2651 AArch64::ExtensionBitset({
2652 AArch64::AEK_SIMD,
2653 AArch64::AEK_PERFMON,
2654 AArch64::AEK_SSBS,
2655 AArch64::AEK_RAND,
2656 AArch64::AEK_SB,
2657 AArch64::AEK_SHA2,
2658 AArch64::AEK_SHA3,
2659 AArch64::AEK_AES,
2660 AArch64::AEK_FP16,
2661 AArch64::AEK_BF16,
2662 AArch64::AEK_FCMA,
2663 AArch64::AEK_CRC,
2664 AArch64::AEK_DOTPROD,
2665 AArch64::AEK_FP,
2666 AArch64::AEK_I8MM,
2667 AArch64::AEK_JSCVT,
2668 AArch64::AEK_CCIDX,
2669 AArch64::AEK_LSE,
2670 AArch64::AEK_PAUTH,
2671 AArch64::AEK_RAS,
2672 AArch64::AEK_RCPC,
2673 AArch64::AEK_RDM,
2674 })
2675 },
2676 {
2677 "ampere1a",
2678 ARMV8_6A,
2679 AArch64::ExtensionBitset({
2680 AArch64::AEK_SIMD,
2681 AArch64::AEK_PERFMON,
2682 AArch64::AEK_MTE,
2683 AArch64::AEK_SSBS,
2684 AArch64::AEK_RAND,
2685 AArch64::AEK_SB,
2686 AArch64::AEK_SM4,
2687 AArch64::AEK_SHA2,
2688 AArch64::AEK_SHA3,
2689 AArch64::AEK_AES,
2690 AArch64::AEK_FP16,
2691 AArch64::AEK_BF16,
2692 AArch64::AEK_FCMA,
2693 AArch64::AEK_CRC,
2694 AArch64::AEK_DOTPROD,
2695 AArch64::AEK_FP,
2696 AArch64::AEK_I8MM,
2697 AArch64::AEK_JSCVT,
2698 AArch64::AEK_LSE,
2699 AArch64::AEK_PAUTH,
2700 AArch64::AEK_RAS,
2701 AArch64::AEK_RCPC,
2702 AArch64::AEK_CCIDX,
2703 AArch64::AEK_RDM,
2704 })
2705 },
2706 {
2707 "ampere1b",
2708 ARMV8_7A,
2709 AArch64::ExtensionBitset({
2710 AArch64::AEK_SIMD,
2711 AArch64::AEK_PERFMON,
2712 AArch64::AEK_MTE,
2713 AArch64::AEK_SSBS,
2714 AArch64::AEK_RAND,
2715 AArch64::AEK_SB,
2716 AArch64::AEK_SM4,
2717 AArch64::AEK_SHA2,
2718 AArch64::AEK_SHA3,
2719 AArch64::AEK_AES,
2720 AArch64::AEK_CSSC,
2721 AArch64::AEK_WFXT,
2722 AArch64::AEK_FP16,
2723 AArch64::AEK_BF16,
2724 AArch64::AEK_FCMA,
2725 AArch64::AEK_CRC,
2726 AArch64::AEK_DOTPROD,
2727 AArch64::AEK_FP,
2728 AArch64::AEK_I8MM,
2729 AArch64::AEK_JSCVT,
2730 AArch64::AEK_LSE,
2731 AArch64::AEK_PAUTH,
2732 AArch64::AEK_RAS,
2733 AArch64::AEK_RCPC,
2734 AArch64::AEK_CCIDX,
2735 AArch64::AEK_RDM,
2736 })
2737 },
2738 {
2739 "ampere1c",
2740 ARMV9_2A,
2741 AArch64::ExtensionBitset({
2742 AArch64::AEK_SIMD,
2743 AArch64::AEK_CSSC,
2744 AArch64::AEK_CCIDX,
2745 AArch64::AEK_FP8FMA,
2746 AArch64::AEK_FAMINMAX,
2747 AArch64::AEK_LUT,
2748 AArch64::AEK_SVEAES,
2749 AArch64::AEK_SVESM4,
2750 AArch64::AEK_SVESHA3,
2751 AArch64::AEK_SVE2,
2752 AArch64::AEK_SVEB16B16,
2753 AArch64::AEK_MTE,
2754 AArch64::AEK_FP16FML,
2755 AArch64::AEK_SSBS,
2756 AArch64::AEK_RAND,
2757 AArch64::AEK_PERFMON,
2758 })
2759 },
2760 {
2761 "oryon-1",
2762 ARMV8_6A,
2763 AArch64::ExtensionBitset({
2764 AArch64::AEK_SIMD,
2765 AArch64::AEK_PERFMON,
2766 AArch64::AEK_RAND,
2767 AArch64::AEK_PAUTH,
2768 AArch64::AEK_SM4,
2769 AArch64::AEK_SHA2,
2770 AArch64::AEK_SHA3,
2771 AArch64::AEK_AES,
2772 AArch64::AEK_PROFILE,
2773 AArch64::AEK_BF16,
2774 AArch64::AEK_FCMA,
2775 AArch64::AEK_CRC,
2776 AArch64::AEK_DOTPROD,
2777 AArch64::AEK_FP,
2778 AArch64::AEK_I8MM,
2779 AArch64::AEK_SSBS,
2780 AArch64::AEK_CCIDX,
2781 AArch64::AEK_JSCVT,
2782 AArch64::AEK_LSE,
2783 AArch64::AEK_RAS,
2784 AArch64::AEK_RCPC,
2785 AArch64::AEK_RDM,
2786 })
2787 },
2788};
2789#undef EMIT_CPU_INFO
2790#endif // EMIT_CPU_INFO
2791
2792