authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-20 21:29:55+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-09-03 17:44:01-07:00
loge5ee9c1e43d74354f12fc6cf76f39f7a607558ca
treec21de9097d66e4a9137e5fa438a1d2eef115fe5a
parent290ccb160e2d884f70ac92d2eb16d56efd380533

std.elf: Bring the EM enum up to date.

Based on: * `include/elf/common.h` in binutils * `include/uapi/linux/elf-em.h` in Linux * https://www.sco.com/developers/gabi/latest/ch4.eheader.html I opted to use the tag naming of binutils because it seems to be by far the most complete and authoritative source at this point in time.

2 files changed, 168 insertions(+), 261 deletions(-)

lib/std/Target.zig+1-1
...@@ -846,7 +846,7 @@ pub fn toElfMachine(target: Target) std.elf.EM {...@@ -846,7 +846,7 @@ pub fn toElfMachine(target: Target) std.elf.EM {
846 .avr => .AVR,846 .avr => .AVR,
847 .bpfel, .bpfeb => .BPF,847 .bpfel, .bpfeb => .BPF,
848 .csky => .CSKY,848 .csky => .CSKY,
849 .hexagon => .HEXAGON,849 .hexagon => .QDSP6,
850 .kalimba => .CSR_KALIMBA,850 .kalimba => .CSR_KALIMBA,
851 .lanai => .LANAI,851 .lanai => .LANAI,
852 .loongarch32, .loongarch64 => .LOONGARCH,852 .loongarch32, .loongarch64 => .LOONGARCH,
lib/std/elf.zig+167-260
...@@ -1101,549 +1101,456 @@ pub const Half = u16;...@@ -1101,549 +1101,456 @@ pub const Half = u16;
1101pub const EM = enum(u16) {1101pub const EM = enum(u16) {
1102 /// No machine1102 /// No machine
1103 NONE = 0,1103 NONE = 0,
1104
1105 /// AT&T WE 321001104 /// AT&T WE 32100
1106 M32 = 1,1105 M32 = 1,
11071106 /// SUN SPARC
1108 /// SPARC
1109 SPARC = 2,1107 SPARC = 2,
11101108 /// Intel 80386
1111 /// Intel 386
1112 @"386" = 3,1109 @"386" = 3,
11131110 /// Motorola m68k family
1114 /// Motorola 68000
1115 @"68K" = 4,1111 @"68K" = 4,
11161112 /// Motorola m88k family
1117 /// Motorola 88000
1118 @"88K" = 5,1113 @"88K" = 5,
1119
1120 /// Intel MCU1114 /// Intel MCU
1121 IAMCU = 6,1115 IAMCU = 6,
1122
1123 /// Intel 808601116 /// Intel 80860
1124 @"860" = 7,1117 @"860" = 7,
11251118 /// MIPS R3000 (officially, big-endian only)
1126 /// MIPS R3000
1127 MIPS = 8,1119 MIPS = 8,
1128
1129 /// IBM System/3701120 /// IBM System/370
1130 S370 = 9,1121 S370 = 9,
11311122 /// MIPS R3000 (and R4000) little-endian, Oct 4 1993 Draft (deprecated)
1132 /// MIPS RS3000 Little-endian
1133 MIPS_RS3_LE = 10,1123 MIPS_RS3_LE = 10,
11341124 /// Old version of Sparc v9, from before the ABI (deprecated)
1125 OLD_SPARCV9 = 11,
1135 /// SPU Mark II1126 /// SPU Mark II
1136 SPU_2 = 13,1127 SPU_2 = 13,
11371128 /// HPPA
1138 /// Hewlett-Packard PA-RISC
1139 PARISC = 15,1129 PARISC = 15,
11401130 /// Fujitsu VPP500 (also old version of PowerPC; deprecated)
1141 /// Fujitsu VPP500
1142 VPP500 = 17,1131 VPP500 = 17,
11431132 /// Sun's "v8plus"
1144 /// Enhanced instruction set SPARC
1145 SPARC32PLUS = 18,1133 SPARC32PLUS = 18,
1146
1147 /// Intel 809601134 /// Intel 80960
1148 @"960" = 19,1135 @"960" = 19,
1149
1150 /// PowerPC1136 /// PowerPC
1151 PPC = 20,1137 PPC = 20,
11521138 /// 64-bit PowerPC
1153 /// PowerPC64
1154 PPC64 = 21,1139 PPC64 = 21,
11551140 /// IBM S/390
1156 /// IBM System/390
1157 S390 = 22,1141 S390 = 22,
11581142 /// Sony/Toshiba/IBM SPU
1159 /// IBM SPU/SPC
1160 SPU = 23,1143 SPU = 23,
11611144 /// NEC V800 series
1162 /// NEC V800
1163 V800 = 36,1145 V800 = 36,
1164
1165 /// Fujitsu FR201146 /// Fujitsu FR20
1166 FR20 = 37,1147 FR20 = 37,
11671148 /// TRW RH32
1168 /// TRW RH-32
1169 RH32 = 38,1149 RH32 = 38,
11701150 /// Motorola M*Core, aka RCE (also Fujitsu MMA)
1171 /// Motorola RCE1151 MCORE = 39,
1172 RCE = 39,
1173
1174 /// ARM1152 /// ARM
1175 ARM = 40,1153 ARM = 40,
11761154 /// Digital Alpha
1177 /// DEC Alpha1155 OLD_ALPHA = 41,
1178 ALPHA = 41,1156 /// Renesas (formerly Hitachi) / SuperH SH
1179
1180 /// Hitachi SH
1181 SH = 42,1157 SH = 42,
11821158 /// SPARC v9 64-bit
1183 /// SPARC V9
1184 SPARCV9 = 43,1159 SPARCV9 = 43,
11851160 /// Siemens Tricore embedded processor
1186 /// Siemens TriCore
1187 TRICORE = 44,1161 TRICORE = 44,
11881162 /// ARC Cores
1189 /// Argonaut RISC Core
1190 ARC = 45,1163 ARC = 45,
11911164 /// Renesas (formerly Hitachi) H8/300
1192 /// Hitachi H8/300
1193 H8_300 = 46,1165 H8_300 = 46,
11941166 /// Renesas (formerly Hitachi) H8/300H
1195 /// Hitachi H8/300H
1196 H8_300H = 47,1167 H8_300H = 47,
11971168 /// Renesas (formerly Hitachi) H8S
1198 /// Hitachi H8S
1199 H8S = 48,1169 H8S = 48,
12001170 /// Renesas (formerly Hitachi) H8/500
1201 /// Hitachi H8/500
1202 H8_500 = 49,1171 H8_500 = 49,
12031172 /// Intel IA-64 Processor
1204 /// Intel IA-64 processor architecture
1205 IA_64 = 50,1173 IA_64 = 50,
1206
1207 /// Stanford MIPS-X1174 /// Stanford MIPS-X
1208 MIPS_X = 51,1175 MIPS_X = 51,
12091176 /// Motorola Coldfire
1210 /// Motorola ColdFire
1211 COLDFIRE = 52,1177 COLDFIRE = 52,
1212
1213 /// Motorola M68HC121178 /// Motorola M68HC12
1214 @"68HC12" = 53,1179 @"68HC12" = 53,
12151180 /// Fujitsu Multimedia Accelerator
1216 /// Fujitsu MMA Multimedia Accelerator
1217 MMA = 54,1181 MMA = 54,
1218
1219 /// Siemens PCP1182 /// Siemens PCP
1220 PCP = 55,1183 PCP = 55,
1221
1222 /// Sony nCPU embedded RISC processor1184 /// Sony nCPU embedded RISC processor
1223 NCPU = 56,1185 NCPU = 56,
1224
1225 /// Denso NDR1 microprocessor1186 /// Denso NDR1 microprocessor
1226 NDR1 = 57,1187 NDR1 = 57,
1227
1228 /// Motorola Star*Core processor1188 /// Motorola Star*Core processor
1229 STARCORE = 58,1189 STARCORE = 58,
1230
1231 /// Toyota ME16 processor1190 /// Toyota ME16 processor
1232 ME16 = 59,1191 ME16 = 59,
1233
1234 /// STMicroelectronics ST100 processor1192 /// STMicroelectronics ST100 processor
1235 ST100 = 60,1193 ST100 = 60,
12361194 /// Advanced Logic Corp. TinyJ embedded processor
1237 /// Advanced Logic Corp. TinyJ embedded processor family
1238 TINYJ = 61,1195 TINYJ = 61,
12391196 /// Advanced Micro Devices X86-64 processor
1240 /// AMD x86-64 architecture
1241 X86_64 = 62,1197 X86_64 = 62,
1242
1243 /// Sony DSP Processor1198 /// Sony DSP Processor
1244 PDSP = 63,1199 PDSP = 63,
1245
1246 /// Digital Equipment Corp. PDP-101200 /// Digital Equipment Corp. PDP-10
1247 PDP10 = 64,1201 PDP10 = 64,
1248
1249 /// Digital Equipment Corp. PDP-111202 /// Digital Equipment Corp. PDP-11
1250 PDP11 = 65,1203 PDP11 = 65,
1251
1252 /// Siemens FX66 microcontroller1204 /// Siemens FX66 microcontroller
1253 FX66 = 66,1205 FX66 = 66,
1254
1255 /// STMicroelectronics ST9+ 8/16 bit microcontroller1206 /// STMicroelectronics ST9+ 8/16 bit microcontroller
1256 ST9PLUS = 67,1207 ST9PLUS = 67,
1257
1258 /// STMicroelectronics ST7 8-bit microcontroller1208 /// STMicroelectronics ST7 8-bit microcontroller
1259 ST7 = 68,1209 ST7 = 68,
1260
1261 /// Motorola MC68HC16 Microcontroller1210 /// Motorola MC68HC16 Microcontroller
1262 @"68HC16" = 69,1211 @"68HC16" = 69,
1263
1264 /// Motorola MC68HC11 Microcontroller1212 /// Motorola MC68HC11 Microcontroller
1265 @"68HC11" = 70,1213 @"68HC11" = 70,
1266
1267 /// Motorola MC68HC08 Microcontroller1214 /// Motorola MC68HC08 Microcontroller
1268 @"68HC08" = 71,1215 @"68HC08" = 71,
1269
1270 /// Motorola MC68HC05 Microcontroller1216 /// Motorola MC68HC05 Microcontroller
1271 @"68HC05" = 72,1217 @"68HC05" = 72,
1272
1273 /// Silicon Graphics SVx1218 /// Silicon Graphics SVx
1274 SVX = 73,1219 SVX = 73,
12751220 /// STMicroelectronics ST19 8-bit cpu
1276 /// STMicroelectronics ST19 8-bit microcontroller
1277 ST19 = 74,1221 ST19 = 74,
1278
1279 /// Digital VAX1222 /// Digital VAX
1280 VAX = 75,1223 VAX = 75,
1281
1282 /// Axis Communications 32-bit embedded processor1224 /// Axis Communications 32-bit embedded processor
1283 CRIS = 76,1225 CRIS = 76,
12841226 /// Infineon Technologies 32-bit embedded cpu
1285 /// Infineon Technologies 32-bit embedded processor
1286 JAVELIN = 77,1227 JAVELIN = 77,
12871228 /// Element 14 64-bit DSP processor
1288 /// Element 14 64-bit DSP Processor
1289 FIREPATH = 78,1229 FIREPATH = 78,
12901230 /// LSI Logic's 16-bit DSP processor
1291 /// LSI Logic 16-bit DSP Processor
1292 ZSP = 79,1231 ZSP = 79,
1293
1294 /// Donald Knuth's educational 64-bit processor1232 /// Donald Knuth's educational 64-bit processor
1295 MMIX = 80,1233 MMIX = 80,
12961234 /// Harvard's machine-independent format
1297 /// Harvard University machine-independent object files
1298 HUANY = 81,1235 HUANY = 81,
1299
1300 /// SiTera Prism1236 /// SiTera Prism
1301 PRISM = 82,1237 PRISM = 82,
1302
1303 /// Atmel AVR 8-bit microcontroller1238 /// Atmel AVR 8-bit microcontroller
1304 AVR = 83,1239 AVR = 83,
1305
1306 /// Fujitsu FR301240 /// Fujitsu FR30
1307 FR30 = 84,1241 FR30 = 84,
1308
1309 /// Mitsubishi D10V1242 /// Mitsubishi D10V
1310 D10V = 85,1243 D10V = 85,
1311
1312 /// Mitsubishi D30V1244 /// Mitsubishi D30V
1313 D30V = 86,1245 D30V = 86,
13141246 /// Renesas V850 (formerly NEC V850)
1315 /// NEC v850
1316 V850 = 87,1247 V850 = 87,
13171248 /// Renesas M32R (formerly Mitsubishi M32R)
1318 /// Mitsubishi M32R
1319 M32R = 88,1249 M32R = 88,
1320
1321 /// Matsushita MN103001250 /// Matsushita MN10300
1322 MN10300 = 89,1251 MN10300 = 89,
1323
1324 /// Matsushita MN102001252 /// Matsushita MN10200
1325 MN10200 = 90,1253 MN10200 = 90,
1326
1327 /// picoJava1254 /// picoJava
1328 PJ = 91,1255 PJ = 91,
13291256 /// OpenRISC 1000 32-bit embedded processor
1330 /// OpenRISC 32-bit embedded processor1257 OR1K = 92,
1331 OPENRISC = 92,1258 /// ARC International ARCompact processor
1332
1333 /// ARC International ARCompact processor (old spelling/synonym: EM_ARC_A5)
1334 ARC_COMPACT = 93,1259 ARC_COMPACT = 93,
1335
1336 /// Tensilica Xtensa Architecture1260 /// Tensilica Xtensa Architecture
1337 XTENSA = 94,1261 XTENSA = 94,
13381262 /// Alphamosaic VideoCore processor (also old Sunplus S+core7 backend magic number)
1339 /// Alphamosaic VideoCore processor
1340 VIDEOCORE = 95,1263 VIDEOCORE = 95,
1341
1342 /// Thompson Multimedia General Purpose Processor1264 /// Thompson Multimedia General Purpose Processor
1343 TMM_GPP = 96,1265 TMM_GPP = 96,
1344
1345 /// National Semiconductor 32000 series1266 /// National Semiconductor 32000 series
1346 NS32K = 97,1267 NS32K = 97,
1347
1348 /// Tenor Network TPC processor1268 /// Tenor Network TPC processor
1349 TPC = 98,1269 TPC = 98,
13501270 /// Trebia SNP 1000 processor (also old value for picoJava; deprecated)
1351 /// Trebia SNP 1000 processor
1352 SNP1K = 99,1271 SNP1K = 99,
13531272 /// STMicroelectronics ST200 microcontroller
1354 /// STMicroelectronics (www.st.com) ST200
1355 ST200 = 100,1273 ST200 = 100,
13561274 /// Ubicom IP2022 micro controller
1357 /// Ubicom IP2xxx microcontroller family
1358 IP2K = 101,1275 IP2K = 101,
1359
1360 /// MAX Processor1276 /// MAX Processor
1361 MAX = 102,1277 MAX = 102,
13621278 /// National Semiconductor CompactRISC
1363 /// National Semiconductor CompactRISC microprocessor
1364 CR = 103,1279 CR = 103,
1365
1366 /// Fujitsu F2MC161280 /// Fujitsu F2MC16
1367 F2MC16 = 104,1281 F2MC16 = 104,
13681282 /// TI msp430 micro controller
1369 /// Texas Instruments embedded microcontroller msp430
1370 MSP430 = 105,1283 MSP430 = 105,
13711284 /// ADI Blackfin
1372 /// Analog Devices Blackfin (DSP) processor
1373 BLACKFIN = 106,1285 BLACKFIN = 106,
1374
1375 /// S1C33 Family of Seiko Epson processors1286 /// S1C33 Family of Seiko Epson processors
1376 SE_C33 = 107,1287 SE_C33 = 107,
1377
1378 /// Sharp embedded microprocessor1288 /// Sharp embedded microprocessor
1379 SEP = 108,1289 SEP = 108,
1380
1381 /// Arca RISC Microprocessor1290 /// Arca RISC Microprocessor
1382 ARCA = 109,1291 ARCA = 109,
1383
1384 /// Microprocessor series from PKU-Unity Ltd. and MPRC of Peking University1292 /// Microprocessor series from PKU-Unity Ltd. and MPRC of Peking University
1385 UNICORE = 110,1293 UNICORE = 110,
1386
1387 /// eXcess: 16/32/64-bit configurable embedded CPU1294 /// eXcess: 16/32/64-bit configurable embedded CPU
1388 EXCESS = 111,1295 EXCESS = 111,
1389
1390 /// Icera Semiconductor Inc. Deep Execution Processor1296 /// Icera Semiconductor Inc. Deep Execution Processor
1391 DXP = 112,1297 DXP = 112,
1392
1393 /// Altera Nios II soft-core processor1298 /// Altera Nios II soft-core processor
1394 ALTERA_NIOS2 = 113,1299 ALTERA_NIOS2 = 113,
13951300 /// National Semiconductor CRX
1396 /// National Semiconductor CompactRISC CRX
1397 CRX = 114,1301 CRX = 114,
13981302 /// Motorola XGATE embedded processor (also old value for National Semiconductor CompactRISC; deprecated)
1399 /// Motorola XGATE embedded processor
1400 XGATE = 115,1303 XGATE = 115,
1401
1402 /// Infineon C16x/XC16x processor1304 /// Infineon C16x/XC16x processor
1403 C166 = 116,1305 C166 = 116,
1404
1405 /// Renesas M16C series microprocessors1306 /// Renesas M16C series microprocessors
1406 M16C = 117,1307 M16C = 117,
1407
1408 /// Microchip Technology dsPIC30F Digital Signal Controller1308 /// Microchip Technology dsPIC30F Digital Signal Controller
1409 DSPIC30F = 118,1309 DSPIC30F = 118,
1410
1411 /// Freescale Communication Engine RISC core1310 /// Freescale Communication Engine RISC core
1412 CE = 119,1311 CE = 119,
1413
1414 /// Renesas M32C series microprocessors1312 /// Renesas M32C series microprocessors
1415 M32C = 120,1313 M32C = 120,
1416
1417 /// Altium TSK3000 core1314 /// Altium TSK3000 core
1418 TSK3000 = 131,1315 TSK3000 = 131,
1419
1420 /// Freescale RS08 embedded processor1316 /// Freescale RS08 embedded processor
1421 RS08 = 132,1317 RS08 = 132,
1422
1423 /// Analog Devices SHARC family of 32-bit DSP processors1318 /// Analog Devices SHARC family of 32-bit DSP processors
1424 SHARC = 133,1319 SHARC = 133,
1425
1426 /// Cyan Technology eCOG2 microprocessor1320 /// Cyan Technology eCOG2 microprocessor
1427 ECOG2 = 134,1321 ECOG2 = 134,
14281322 /// Sunplus S+core (and S+core7) RISC processor
1429 /// Sunplus S+core7 RISC processor1323 SCORE = 135,
1430 SCORE7 = 135,
1431
1432 /// New Japan Radio (NJR) 24-bit DSP Processor1324 /// New Japan Radio (NJR) 24-bit DSP Processor
1433 DSP24 = 136,1325 DSP24 = 136,
1434
1435 /// Broadcom VideoCore III processor1326 /// Broadcom VideoCore III processor
1436 VIDEOCORE3 = 137,1327 VIDEOCORE3 = 137,
1437
1438 /// RISC processor for Lattice FPGA architecture1328 /// RISC processor for Lattice FPGA architecture
1439 LATTICEMICO32 = 138,1329 LATTICEMICO32 = 138,
1440
1441 /// Seiko Epson C17 family1330 /// Seiko Epson C17 family
1442 SE_C17 = 139,1331 SE_C17 = 139,
14431332 /// Texas Instruments TMS320C6000 DSP family
1444 /// The Texas Instruments TMS320C6000 DSP family
1445 TI_C6000 = 140,1333 TI_C6000 = 140,
14461334 /// Texas Instruments TMS320C2000 DSP family
1447 /// The Texas Instruments TMS320C2000 DSP family
1448 TI_C2000 = 141,1335 TI_C2000 = 141,
14491336 /// Texas Instruments TMS320C55x DSP family
1450 /// The Texas Instruments TMS320C55x DSP family
1451 TI_C5500 = 142,1337 TI_C5500 = 142,
14521338 /// Texas Instruments Programmable Realtime Unit
1339 TI_PRU = 144,
1453 /// STMicroelectronics 64bit VLIW Data Signal Processor1340 /// STMicroelectronics 64bit VLIW Data Signal Processor
1454 MMDSP_PLUS = 160,1341 MMDSP_PLUS = 160,
1455
1456 /// Cypress M8C microprocessor1342 /// Cypress M8C microprocessor
1457 CYPRESS_M8C = 161,1343 CYPRESS_M8C = 161,
1458
1459 /// Renesas R32C series microprocessors1344 /// Renesas R32C series microprocessors
1460 R32C = 162,1345 R32C = 162,
1461
1462 /// NXP Semiconductors TriMedia architecture family1346 /// NXP Semiconductors TriMedia architecture family
1463 TRIMEDIA = 163,1347 TRIMEDIA = 163,
14641348 /// QUALCOMM DSP6 Processor
1465 /// Qualcomm Hexagon processor1349 QDSP6 = 164,
1466 HEXAGON = 164,
1467
1468 /// Intel 8051 and variants1350 /// Intel 8051 and variants
1469 @"8051" = 165,1351 @"8051" = 165,
14701352 /// STMicroelectronics STxP7x family
1471 /// STMicroelectronics STxP7x family of configurable and extensible RISC processors
1472 STXP7X = 166,1353 STXP7X = 166,
1473
1474 /// Andes Technology compact code size embedded RISC processor family1354 /// Andes Technology compact code size embedded RISC processor family
1475 NDS32 = 167,1355 NDS32 = 167,
1476
1477 /// Cyan Technology eCOG1X family1356 /// Cyan Technology eCOG1X family
1478 ECOG1X = 168,1357 ECOG1X = 168,
1479
1480 /// Dallas Semiconductor MAXQ30 Core Micro-controllers1358 /// Dallas Semiconductor MAXQ30 Core Micro-controllers
1481 MAXQ30 = 169,1359 MAXQ30 = 169,
1482
1483 /// New Japan Radio (NJR) 16-bit DSP Processor1360 /// New Japan Radio (NJR) 16-bit DSP Processor
1484 XIMO16 = 170,1361 XIMO16 = 170,
1485
1486 /// M2000 Reconfigurable RISC Microprocessor1362 /// M2000 Reconfigurable RISC Microprocessor
1487 MANIK = 171,1363 MANIK = 171,
1488
1489 /// Cray Inc. NV2 vector architecture1364 /// Cray Inc. NV2 vector architecture
1490 CRAYNV2 = 172,1365 CRAYNV2 = 172,
1491
1492 /// Renesas RX family1366 /// Renesas RX family
1493 RX = 173,1367 RX = 173,
14941368 /// Imagination Technologies Meta processor architecture
1495 /// Imagination Technologies META processor architecture
1496 METAG = 174,1369 METAG = 174,
1497
1498 /// MCST Elbrus general purpose hardware architecture1370 /// MCST Elbrus general purpose hardware architecture
1499 MCST_ELBRUS = 175,1371 MCST_ELBRUS = 175,
1500
1501 /// Cyan Technology eCOG16 family1372 /// Cyan Technology eCOG16 family
1502 ECOG16 = 176,1373 ECOG16 = 176,
15031374 /// National Semiconductor CompactRISC 16-bit processor
1504 /// National Semiconductor CompactRISC CR16 16-bit microprocessor
1505 CR16 = 177,1375 CR16 = 177,
1506
1507 /// Freescale Extended Time Processing Unit1376 /// Freescale Extended Time Processing Unit
1508 ETPU = 178,1377 ETPU = 178,
1509
1510 /// Infineon Technologies SLE9X core1378 /// Infineon Technologies SLE9X core
1511 SLE9X = 179,1379 SLE9X = 179,
1512
1513 /// Intel L10M1380 /// Intel L10M
1514 L10M = 180,1381 L10M = 180,
1515
1516 /// Intel K10M1382 /// Intel K10M
1517 K10M = 181,1383 K10M = 181,
15181384 /// ARM 64-bit architecture
1519 /// ARM AArch64
1520 AARCH64 = 183,1385 AARCH64 = 183,
1521
1522 /// Atmel Corporation 32-bit microprocessor family1386 /// Atmel Corporation 32-bit microprocessor family
1523 AVR32 = 185,1387 AVR32 = 185,
1524
1525 /// STMicroeletronics STM8 8-bit microcontroller1388 /// STMicroeletronics STM8 8-bit microcontroller
1526 STM8 = 186,1389 STM8 = 186,
1527
1528 /// Tilera TILE64 multicore architecture family1390 /// Tilera TILE64 multicore architecture family
1529 TILE64 = 187,1391 TILE64 = 187,
1530
1531 /// Tilera TILEPro multicore architecture family1392 /// Tilera TILEPro multicore architecture family
1532 TILEPRO = 188,1393 TILEPRO = 188,
15331394 /// Xilinx MicroBlaze 32-bit RISC soft processor core
1534 /// Xilinx MicroBlaze
1535 MICROBLAZE = 189,1395 MICROBLAZE = 189,
1536
1537 /// NVIDIA CUDA architecture1396 /// NVIDIA CUDA architecture
1538 CUDA = 190,1397 CUDA = 190,
1539
1540 /// Tilera TILE-Gx multicore architecture family1398 /// Tilera TILE-Gx multicore architecture family
1541 TILEGX = 191,1399 TILEGX = 191,
1542
1543 /// CloudShield architecture family1400 /// CloudShield architecture family
1544 CLOUDSHIELD = 192,1401 CLOUDSHIELD = 192,
1545
1546 /// KIPO-KAIST Core-A 1st generation processor family1402 /// KIPO-KAIST Core-A 1st generation processor family
1547 COREA_1ST = 193,1403 COREA_1ST = 193,
1548
1549 /// KIPO-KAIST Core-A 2nd generation processor family1404 /// KIPO-KAIST Core-A 2nd generation processor family
1550 COREA_2ND = 194,1405 COREA_2ND = 194,
1551
1552 /// Synopsys ARCompact V21406 /// Synopsys ARCompact V2
1553 ARC_COMPACT2 = 195,1407 ARC_COMPACT2 = 195,
1554
1555 /// Open8 8-bit RISC soft processor core1408 /// Open8 8-bit RISC soft processor core
1556 OPEN8 = 196,1409 OPEN8 = 196,
1557
1558 /// Renesas RL78 family1410 /// Renesas RL78 family
1559 RL78 = 197,1411 RL78 = 197,
1560
1561 /// Broadcom VideoCore V processor1412 /// Broadcom VideoCore V processor
1562 VIDEOCORE5 = 198,1413 VIDEOCORE5 = 198,
15631414 /// Renesas 78K0R
1564 /// Renesas 78KOR family1415 @"78K0R" = 199,
1565 @"78KOR" = 199,
1566
1567 /// Freescale 56800EX Digital Signal Controller (DSC)1416 /// Freescale 56800EX Digital Signal Controller (DSC)
1568 @"56800EX" = 200,1417 @"56800EX" = 200,
1569
1570 /// Beyond BA1 CPU architecture1418 /// Beyond BA1 CPU architecture
1571 BA1 = 201,1419 BA1 = 201,
1572
1573 /// Beyond BA2 CPU architecture1420 /// Beyond BA2 CPU architecture
1574 BA2 = 202,1421 BA2 = 202,
1575
1576 /// XMOS xCORE processor family1422 /// XMOS xCORE processor family
1577 XCORE = 203,1423 XCORE = 203,
1578
1579 /// Microchip 8-bit PIC(r) family1424 /// Microchip 8-bit PIC(r) family
1580 MCHP_PIC = 204,1425 MCHP_PIC = 204,
15811426 /// Intel Graphics Technology
1582 /// Reserved by Intel1427 INTELGT = 205,
1583 INTEL205 = 205,
1584
1585 /// Reserved by Intel
1586 INTEL206 = 206,
1587
1588 /// Reserved by Intel
1589 INTEL207 = 207,
1590
1591 /// Reserved by Intel
1592 INTEL208 = 208,
1593
1594 /// Reserved by Intel
1595 INTEL209 = 209,
1596
1597 /// KM211 KM32 32-bit processor1428 /// KM211 KM32 32-bit processor
1598 KM32 = 210,1429 KM32 = 210,
1599
1600 /// KM211 KMX32 32-bit processor1430 /// KM211 KMX32 32-bit processor
1601 KMX32 = 211,1431 KMX32 = 211,
1602
1603 /// KM211 KMX16 16-bit processor1432 /// KM211 KMX16 16-bit processor
1604 KMX16 = 212,1433 KMX16 = 212,
1605
1606 /// KM211 KMX8 8-bit processor1434 /// KM211 KMX8 8-bit processor
1607 KMX8 = 213,1435 KMX8 = 213,
1608
1609 /// KM211 KVARC processor1436 /// KM211 KVARC processor
1610 KVARC = 214,1437 KVARC = 214,
1611
1612 /// Paneve CDP architecture family1438 /// Paneve CDP architecture family
1613 CDP = 215,1439 CDP = 215,
1614
1615 /// Cognitive Smart Memory Processor1440 /// Cognitive Smart Memory Processor
1616 COGE = 216,1441 COGE = 216,
16171442 /// Bluechip Systems CoolEngine
1618 /// iCelero CoolEngine
1619 COOL = 217,1443 COOL = 217,
1620
1621 /// Nanoradio Optimized RISC1444 /// Nanoradio Optimized RISC
1622 NORC = 218,1445 NORC = 218,
1623
1624 /// CSR Kalimba architecture family1446 /// CSR Kalimba architecture family
1625 CSR_KALIMBA = 219,1447 CSR_KALIMBA = 219,
16261448 /// Zilog Z80
1449 Z80 = 220,
1450 /// Controls and Data Services VISIUMcore processor
1451 VISIUM = 221,
1452 /// FTDI Chip FT32 high performance 32-bit RISC architecture
1453 FT32 = 222,
1454 /// Moxie processor family
1455 MOXIE = 223,
1627 /// AMD GPU architecture1456 /// AMD GPU architecture
1628 AMDGPU = 224,1457 AMDGPU = 224,
1629
1630 /// RISC-V1458 /// RISC-V
1631 RISCV = 243,1459 RISCV = 243,
1632
1633 /// Lanai 32-bit processor1460 /// Lanai 32-bit processor
1634 LANAI = 244,1461 LANAI = 244,
16351462 /// CEVA Processor Architecture Family
1636 /// Linux kernel bpf virtual machine1463 CEVA = 245,
1464 /// CEVA X2 Processor Family
1465 CEVA_X2 = 246,
1466 /// Linux BPF - in-kernel virtual machine
1637 BPF = 247,1467 BPF = 247,
16381468 /// Graphcore Intelligent Processing Unit
1639 /// C-SKY1469 GRAPHCORE_IPU = 248,
1470 /// Imagination Technologies
1471 IMG1 = 249,
1472 /// Netronome Flow Processor
1473 NFP = 250,
1474 /// NEC Vector Engine
1475 VE = 251,
1476 /// C-SKY processor family
1640 CSKY = 252,1477 CSKY = 252,
16411478 /// Synopsys ARCv2.3 64-bit
1479 ARC_COMPACT3_64 = 253,
1480 /// MOS Technology MCS 6502 processor
1481 MCS6502 = 254,
1482 /// Synopsys ARCv2.3 32-bit
1483 ARC_COMPACT3 = 255,
1484 /// Kalray VLIW core of the MPPA processor family
1485 KVX = 256,
1486 /// WDC 65816/65C816
1487 @"65816" = 257,
1642 /// LoongArch1488 /// LoongArch
1643 LOONGARCH = 258,1489 LOONGARCH = 258,
16441490 /// ChipON KungFu32
1645 /// Fujitsu FR-V1491 KF32 = 259,
1646 FRV = 0x5441,1492 /// LAPIS nX-U16/U8
1493 U16_U8CORE = 260,
1494 /// Tachyum
1495 TACHYUM = 261,
1496 /// NXP 56800EF Digital Signal Controller (DSC)
1497 @"56800EF" = 262,
1498 /// AVR
1499 AVR_OLD = 0x1057,
1500 /// MSP430
1501 MSP430_OLD = 0x1059,
1502 /// Morpho MT
1503 MT = 0x2530,
1504 /// FR30
1505 CYGNUS_FR30 = 0x3330,
1506 /// WebAssembly (as used by LLVM)
1507 WEBASSEMBLY = 0x4157,
1508 /// Infineon Technologies 16-bit microcontroller with C166-V2 core
1509 XC16X = 0x4688,
1510 /// Freescale S12Z
1511 S12Z = 0x4def,
1512 /// DLX
1513 DLX = 0x5aa5,
1514 /// FRV
1515 CYGNUS_FRV = 0x5441,
1516 /// D10V
1517 CYGNUS_D10V = 0x7650,
1518 /// D30V
1519 CYGNUS_D30V = 0x7676,
1520 /// Ubicom IP2xxx
1521 IP2K_OLD = 0x8217,
1522 /// Cygnus PowerPC ELF
1523 CYGNUS_POWERPC = 0x9025,
1524 /// Alpha
1525 ALPHA = 0x9026,
1526 /// Cygnus M32R ELF
1527 CYGNUS_M32R = 0x9041,
1528 /// V850
1529 CYGNUS_V850 = 0x9080,
1530 /// Old S/390
1531 S390_OLD = 0xa390,
1532 /// Old unofficial value for Xtensa
1533 XTENSA_OLD = 0xabc7,
1534 /// Xstormy16
1535 XSTORMY16 = 0xad45,
1536 /// MN10300
1537 CYGNUS_MN10300 = 0xbeef,
1538 /// MN10200
1539 CYGNUS_MN10200 = 0xdead,
1540 /// Renesas M32C and M16C
1541 M32C_OLD = 0xfeb0,
1542 /// Vitesse IQ2000
1543 IQ2000 = 0xfeba,
1544 /// NIOS
1545 NIOS32 = 0xfebb,
1546 /// Toshiba MeP
1547 CYGNUS_MEP = 0xf00d,
1548 /// Old unofficial value for Moxie
1549 MOXIE_OLD = 0xfeed,
1550 /// Old MicroBlaze
1551 MICROBLAZE_OLD = 0xbaab,
1552 /// Adapteva's Epiphany architecture
1553 ADAPTEVA_EPIPHANY = 0x1223,
16471554
1648 _,1555 _,
1649};1556};