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