authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-02-21 12:29:27-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-02-21 12:29:27-05:00
log7da7fbb9122e6e2a5f936ce9c1eaf8b5776fa8ac
treec9639d56d4e0013f48422519e55ae8f4a0a432ab
parent61c67a9833c312678289272e5e0547a78cbd299c
signaturelock-open Commit is signed but in an unrecognized format.

update ARM cpu models to correctly include the sub-arch


1 files changed, 54 insertions(+), 54 deletions(-)

lib/std/target/arm.zig+54-54
......@@ -1300,49 +1300,49 @@ pub const cpu = struct {
13001300 .name = "arm1020e",
13011301 .llvm_name = "arm1020e",
13021302 .features = featureSet(&[_]Feature{
1303 .has_v5te,
1303 .v5te,
13041304 }),
13051305 };
13061306 pub const arm1020t = CpuModel{
13071307 .name = "arm1020t",
13081308 .llvm_name = "arm1020t",
13091309 .features = featureSet(&[_]Feature{
1310 .has_v5t,
1310 .v5t,
13111311 }),
13121312 };
13131313 pub const arm1022e = CpuModel{
13141314 .name = "arm1022e",
13151315 .llvm_name = "arm1022e",
13161316 .features = featureSet(&[_]Feature{
1317 .has_v5te,
1317 .v5te,
13181318 }),
13191319 };
13201320 pub const arm10e = CpuModel{
13211321 .name = "arm10e",
13221322 .llvm_name = "arm10e",
13231323 .features = featureSet(&[_]Feature{
1324 .has_v5te,
1324 .v5te,
13251325 }),
13261326 };
13271327 pub const arm10tdmi = CpuModel{
13281328 .name = "arm10tdmi",
13291329 .llvm_name = "arm10tdmi",
13301330 .features = featureSet(&[_]Feature{
1331 .has_v5t,
1331 .v5t,
13321332 }),
13331333 };
13341334 pub const arm1136j_s = CpuModel{
13351335 .name = "arm1136j_s",
13361336 .llvm_name = "arm1136j-s",
13371337 .features = featureSet(&[_]Feature{
1338 .has_v6,
1338 .v6,
13391339 }),
13401340 };
13411341 pub const arm1136jf_s = CpuModel{
13421342 .name = "arm1136jf_s",
13431343 .llvm_name = "arm1136jf-s",
13441344 .features = featureSet(&[_]Feature{
1345 .has_v6,
1345 .v6,
13461346 .slowfpvmlx,
13471347 .vfp2,
13481348 }),
......@@ -1351,14 +1351,14 @@ pub const cpu = struct {
13511351 .name = "arm1156t2_s",
13521352 .llvm_name = "arm1156t2-s",
13531353 .features = featureSet(&[_]Feature{
1354 .has_v6t2,
1354 .v6t2,
13551355 }),
13561356 };
13571357 pub const arm1156t2f_s = CpuModel{
13581358 .name = "arm1156t2f_s",
13591359 .llvm_name = "arm1156t2f-s",
13601360 .features = featureSet(&[_]Feature{
1361 .has_v6t2,
1361 .v6t2,
13621362 .slowfpvmlx,
13631363 .vfp2,
13641364 }),
......@@ -1390,28 +1390,28 @@ pub const cpu = struct {
13901390 .name = "arm710t",
13911391 .llvm_name = "arm710t",
13921392 .features = featureSet(&[_]Feature{
1393 .has_v4t,
1393 .v4t,
13941394 }),
13951395 };
13961396 pub const arm720t = CpuModel{
13971397 .name = "arm720t",
13981398 .llvm_name = "arm720t",
13991399 .features = featureSet(&[_]Feature{
1400 .has_v4t,
1400 .v4t,
14011401 }),
14021402 };
14031403 pub const arm7tdmi = CpuModel{
14041404 .name = "arm7tdmi",
14051405 .llvm_name = "arm7tdmi",
14061406 .features = featureSet(&[_]Feature{
1407 .has_v4t,
1407 .v4t,
14081408 }),
14091409 };
14101410 pub const arm7tdmi_s = CpuModel{
14111411 .name = "arm7tdmi_s",
14121412 .llvm_name = "arm7tdmi-s",
14131413 .features = featureSet(&[_]Feature{
1414 .has_v4t,
1414 .v4t,
14151415 }),
14161416 };
14171417 pub const arm8 = CpuModel{
......@@ -1432,84 +1432,84 @@ pub const cpu = struct {
14321432 .name = "arm9",
14331433 .llvm_name = "arm9",
14341434 .features = featureSet(&[_]Feature{
1435 .has_v4t,
1435 .v4t,
14361436 }),
14371437 };
14381438 pub const arm920 = CpuModel{
14391439 .name = "arm920",
14401440 .llvm_name = "arm920",
14411441 .features = featureSet(&[_]Feature{
1442 .has_v4t,
1442 .v4t,
14431443 }),
14441444 };
14451445 pub const arm920t = CpuModel{
14461446 .name = "arm920t",
14471447 .llvm_name = "arm920t",
14481448 .features = featureSet(&[_]Feature{
1449 .has_v4t,
1449 .v4t,
14501450 }),
14511451 };
14521452 pub const arm922t = CpuModel{
14531453 .name = "arm922t",
14541454 .llvm_name = "arm922t",
14551455 .features = featureSet(&[_]Feature{
1456 .has_v4t,
1456 .v4t,
14571457 }),
14581458 };
14591459 pub const arm926ej_s = CpuModel{
14601460 .name = "arm926ej_s",
14611461 .llvm_name = "arm926ej-s",
14621462 .features = featureSet(&[_]Feature{
1463 .has_v5te,
1463 .v5te,
14641464 }),
14651465 };
14661466 pub const arm940t = CpuModel{
14671467 .name = "arm940t",
14681468 .llvm_name = "arm940t",
14691469 .features = featureSet(&[_]Feature{
1470 .has_v4t,
1470 .v4t,
14711471 }),
14721472 };
14731473 pub const arm946e_s = CpuModel{
14741474 .name = "arm946e_s",
14751475 .llvm_name = "arm946e-s",
14761476 .features = featureSet(&[_]Feature{
1477 .has_v5te,
1477 .v5te,
14781478 }),
14791479 };
14801480 pub const arm966e_s = CpuModel{
14811481 .name = "arm966e_s",
14821482 .llvm_name = "arm966e-s",
14831483 .features = featureSet(&[_]Feature{
1484 .has_v5te,
1484 .v5te,
14851485 }),
14861486 };
14871487 pub const arm968e_s = CpuModel{
14881488 .name = "arm968e_s",
14891489 .llvm_name = "arm968e-s",
14901490 .features = featureSet(&[_]Feature{
1491 .has_v5te,
1491 .v5te,
14921492 }),
14931493 };
14941494 pub const arm9e = CpuModel{
14951495 .name = "arm9e",
14961496 .llvm_name = "arm9e",
14971497 .features = featureSet(&[_]Feature{
1498 .has_v5te,
1498 .v5te,
14991499 }),
15001500 };
15011501 pub const arm9tdmi = CpuModel{
15021502 .name = "arm9tdmi",
15031503 .llvm_name = "arm9tdmi",
15041504 .features = featureSet(&[_]Feature{
1505 .has_v4t,
1505 .v4t,
15061506 }),
15071507 };
15081508 pub const baseline = CpuModel{
15091509 .name = "baseline",
15101510 .llvm_name = "generic",
15111511 .features = featureSet(&[_]Feature{
1512 .has_v6m,
1512 .v6m,
15131513 }),
15141514 };
15151515 pub const cortex_a12 = CpuModel{
......@@ -1561,22 +1561,22 @@ pub const cpu = struct {
15611561 .name = "cortex_a32",
15621562 .llvm_name = "cortex-a32",
15631563 .features = featureSet(&[_]Feature{
1564 .has_v8,
15651564 .crc,
15661565 .crypto,
15671566 .hwdiv,
15681567 .hwdiv_arm,
1568 .v8a,
15691569 }),
15701570 };
15711571 pub const cortex_a35 = CpuModel{
15721572 .name = "cortex_a35",
15731573 .llvm_name = "cortex-a35",
15741574 .features = featureSet(&[_]Feature{
1575 .has_v8,
15761575 .crc,
15771576 .crypto,
15781577 .hwdiv,
15791578 .hwdiv_arm,
1579 .v8a,
15801580 }),
15811581 };
15821582 pub const cortex_a5 = CpuModel{
......@@ -1597,7 +1597,7 @@ pub const cpu = struct {
15971597 .name = "cortex_a53",
15981598 .llvm_name = "cortex-a53",
15991599 .features = featureSet(&[_]Feature{
1600 .has_v8,
1600 .v8a,
16011601 .crc,
16021602 .crypto,
16031603 .fpao,
......@@ -1609,7 +1609,7 @@ pub const cpu = struct {
16091609 .name = "cortex_a55",
16101610 .llvm_name = "cortex-a55",
16111611 .features = featureSet(&[_]Feature{
1612 .has_v8_2a,
1612 .v8_2a,
16131613 .dotprod,
16141614 .hwdiv,
16151615 .hwdiv_arm,
......@@ -1619,7 +1619,7 @@ pub const cpu = struct {
16191619 .name = "cortex_a57",
16201620 .llvm_name = "cortex-a57",
16211621 .features = featureSet(&[_]Feature{
1622 .has_v8,
1622 .v8a,
16231623 .avoid_partial_cpsr,
16241624 .cheap_predicable_cpsr,
16251625 .crc,
......@@ -1649,7 +1649,7 @@ pub const cpu = struct {
16491649 .name = "cortex_a72",
16501650 .llvm_name = "cortex-a72",
16511651 .features = featureSet(&[_]Feature{
1652 .has_v8,
1652 .v8a,
16531653 .crc,
16541654 .crypto,
16551655 .hwdiv,
......@@ -1660,7 +1660,7 @@ pub const cpu = struct {
16601660 .name = "cortex_a73",
16611661 .llvm_name = "cortex-a73",
16621662 .features = featureSet(&[_]Feature{
1663 .has_v8,
1663 .v8a,
16641664 .crc,
16651665 .crypto,
16661666 .hwdiv,
......@@ -1671,7 +1671,7 @@ pub const cpu = struct {
16711671 .name = "cortex_a75",
16721672 .llvm_name = "cortex-a75",
16731673 .features = featureSet(&[_]Feature{
1674 .has_v8_2a,
1674 .v8_2a,
16751675 .dotprod,
16761676 .hwdiv,
16771677 .hwdiv_arm,
......@@ -1682,7 +1682,7 @@ pub const cpu = struct {
16821682 .llvm_name = "cortex-a76",
16831683 .features = featureSet(&[_]Feature{
16841684 .a76,
1685 .has_v8_2a,
1685 .v8_2a,
16861686 .crc,
16871687 .crypto,
16881688 .dotprod,
......@@ -1696,7 +1696,7 @@ pub const cpu = struct {
16961696 .llvm_name = "cortex-a76ae",
16971697 .features = featureSet(&[_]Feature{
16981698 .a76,
1699 .has_v8_2a,
1699 .v8_2a,
17001700 .crc,
17011701 .crypto,
17021702 .dotprod,
......@@ -1742,28 +1742,28 @@ pub const cpu = struct {
17421742 .name = "cortex_m0",
17431743 .llvm_name = "cortex-m0",
17441744 .features = featureSet(&[_]Feature{
1745 .has_v6m,
1745 .v6m,
17461746 }),
17471747 };
17481748 pub const cortex_m0plus = CpuModel{
17491749 .name = "cortex_m0plus",
17501750 .llvm_name = "cortex-m0plus",
17511751 .features = featureSet(&[_]Feature{
1752 .has_v6m,
1752 .v6m,
17531753 }),
17541754 };
17551755 pub const cortex_m1 = CpuModel{
17561756 .name = "cortex_m1",
17571757 .llvm_name = "cortex-m1",
17581758 .features = featureSet(&[_]Feature{
1759 .has_v6m,
1759 .v6m,
17601760 }),
17611761 };
17621762 pub const cortex_m23 = CpuModel{
17631763 .name = "cortex_m23",
17641764 .llvm_name = "cortex-m23",
17651765 .features = featureSet(&[_]Feature{
1766 .has_v8m,
1766 .v8m,
17671767 .no_movt,
17681768 }),
17691769 };
......@@ -1783,7 +1783,7 @@ pub const cpu = struct {
17831783 .name = "cortex_m33",
17841784 .llvm_name = "cortex-m33",
17851785 .features = featureSet(&[_]Feature{
1786 .has_v8m_main,
1786 .v8m_main,
17871787 .dsp,
17881788 .fp_armv8d16sp,
17891789 .loop_align,
......@@ -1797,7 +1797,7 @@ pub const cpu = struct {
17971797 .name = "cortex_m35p",
17981798 .llvm_name = "cortex-m35p",
17991799 .features = featureSet(&[_]Feature{
1800 .has_v8m_main,
1800 .v8m_main,
18011801 .dsp,
18021802 .fp_armv8d16sp,
18031803 .loop_align,
......@@ -1908,7 +1908,7 @@ pub const cpu = struct {
19081908 .name = "cyclone",
19091909 .llvm_name = "cyclone",
19101910 .features = featureSet(&[_]Feature{
1911 .has_v8,
1911 .v8a,
19121912 .avoid_movs_shop,
19131913 .avoid_partial_cpsr,
19141914 .crypto,
......@@ -1929,14 +1929,14 @@ pub const cpu = struct {
19291929 .name = "ep9312",
19301930 .llvm_name = "ep9312",
19311931 .features = featureSet(&[_]Feature{
1932 .has_v4t,
1932 .v4t,
19331933 }),
19341934 };
19351935 pub const exynos_m1 = CpuModel{
19361936 .name = "exynos_m1",
19371937 .llvm_name = "exynos-m1",
19381938 .features = featureSet(&[_]Feature{
1939 .has_v8,
1939 .v8a,
19401940 .exynos,
19411941 }),
19421942 };
......@@ -1944,7 +1944,7 @@ pub const cpu = struct {
19441944 .name = "exynos_m2",
19451945 .llvm_name = "exynos-m2",
19461946 .features = featureSet(&[_]Feature{
1947 .has_v8,
1947 .v8a,
19481948 .exynos,
19491949 }),
19501950 };
......@@ -1952,7 +1952,7 @@ pub const cpu = struct {
19521952 .name = "exynos_m3",
19531953 .llvm_name = "exynos-m3",
19541954 .features = featureSet(&[_]Feature{
1955 .has_v8,
1955 .v8_2a,
19561956 .exynos,
19571957 }),
19581958 };
......@@ -1960,7 +1960,7 @@ pub const cpu = struct {
19601960 .name = "exynos_m4",
19611961 .llvm_name = "exynos-m4",
19621962 .features = featureSet(&[_]Feature{
1963 .has_v8_2a,
1963 .v8_2a,
19641964 .dotprod,
19651965 .exynos,
19661966 .fullfp16,
......@@ -1973,7 +1973,7 @@ pub const cpu = struct {
19731973 .dotprod,
19741974 .exynos,
19751975 .fullfp16,
1976 .has_v8_2a,
1976 .v8_2a,
19771977 }),
19781978 };
19791979 pub const generic = CpuModel{
......@@ -1985,7 +1985,7 @@ pub const cpu = struct {
19851985 .name = "iwmmxt",
19861986 .llvm_name = "iwmmxt",
19871987 .features = featureSet(&[_]Feature{
1988 .has_v5te,
1988 .v5te,
19891989 }),
19901990 };
19911991 pub const krait = CpuModel{
......@@ -2012,14 +2012,14 @@ pub const cpu = struct {
20122012 .crypto,
20132013 .hwdiv,
20142014 .hwdiv_arm,
2015 .has_v8,
2015 .v8a,
20162016 }),
20172017 };
20182018 pub const mpcore = CpuModel{
20192019 .name = "mpcore",
20202020 .llvm_name = "mpcore",
20212021 .features = featureSet(&[_]Feature{
2022 .has_v6k,
2022 .v6k,
20232023 .slowfpvmlx,
20242024 .vfp2,
20252025 }),
......@@ -2028,14 +2028,14 @@ pub const cpu = struct {
20282028 .name = "mpcorenovfp",
20292029 .llvm_name = "mpcorenovfp",
20302030 .features = featureSet(&[_]Feature{
2031 .has_v6k,
2031 .v6k,
20322032 }),
20332033 };
20342034 pub const sc000 = CpuModel{
20352035 .name = "sc000",
20362036 .llvm_name = "sc000",
20372037 .features = featureSet(&[_]Feature{
2038 .has_v6m,
2038 .v6m,
20392039 }),
20402040 };
20412041 pub const sc300 = CpuModel{
......@@ -2108,7 +2108,7 @@ pub const cpu = struct {
21082108 .name = "xscale",
21092109 .llvm_name = "xscale",
21102110 .features = featureSet(&[_]Feature{
2111 .has_v5te,
2111 .v5te,
21122112 }),
21132113 };
21142114};