authorgravatar for david@vortan.devDavid Rubin <david@vortan.dev> 2024-11-25 00:06:14-08:00
committergravatar for david@vortan.devDavid Rubin <david@vortan.dev> 2024-11-25 01:11:15-08:00
logf36f7d54a7e3aade122a30bac98d1b20d7399148
tree7d96e74ec305879c8754f303d6c9cc73f1e84e40
parent9e17e097e59adfc31d746634cfe576f6420ec070
signaturelock-open Commit is signed but in an unrecognized format.

refactor `update_cpu_features.zig`

Most of this commit is whitespace changes, moving to use RLS for assigning the `CpuModel`

24 files changed, 1079 insertions(+), 1082 deletions(-)

lib/std/Target/aarch64.zig+85-85
......@@ -1597,7 +1597,7 @@ pub const all_features = blk: {
15971597};
15981598
15991599pub const cpu = struct {
1600 pub const a64fx = CpuModel{
1600 pub const a64fx: CpuModel = .{
16011601 .name = "a64fx",
16021602 .llvm_name = "a64fx",
16031603 .features = featureSet(&[_]Feature{
......@@ -1614,7 +1614,7 @@ pub const cpu = struct {
16141614 .v8_2a,
16151615 }),
16161616 };
1617 pub const ampere1 = CpuModel{
1617 pub const ampere1: CpuModel = .{
16181618 .name = "ampere1",
16191619 .llvm_name = "ampere1",
16201620 .features = featureSet(&[_]Feature{
......@@ -1638,7 +1638,7 @@ pub const cpu = struct {
16381638 .v8_6a,
16391639 }),
16401640 };
1641 pub const ampere1a = CpuModel{
1641 pub const ampere1a: CpuModel = .{
16421642 .name = "ampere1a",
16431643 .llvm_name = "ampere1a",
16441644 .features = featureSet(&[_]Feature{
......@@ -1665,7 +1665,7 @@ pub const cpu = struct {
16651665 .v8_6a,
16661666 }),
16671667 };
1668 pub const ampere1b = CpuModel{
1668 pub const ampere1b: CpuModel = .{
16691669 .name = "ampere1b",
16701670 .llvm_name = "ampere1b",
16711671 .features = featureSet(&[_]Feature{
......@@ -1694,7 +1694,7 @@ pub const cpu = struct {
16941694 .v8_7a,
16951695 }),
16961696 };
1697 pub const apple_a10 = CpuModel{
1697 pub const apple_a10: CpuModel = .{
16981698 .name = "apple_a10",
16991699 .llvm_name = "apple-a10",
17001700 .features = featureSet(&[_]Feature{
......@@ -1718,7 +1718,7 @@ pub const cpu = struct {
17181718 .zcz,
17191719 }),
17201720 };
1721 pub const apple_a11 = CpuModel{
1721 pub const apple_a11: CpuModel = .{
17221722 .name = "apple_a11",
17231723 .llvm_name = "apple-a11",
17241724 .features = featureSet(&[_]Feature{
......@@ -1738,7 +1738,7 @@ pub const cpu = struct {
17381738 .zcz,
17391739 }),
17401740 };
1741 pub const apple_a12 = CpuModel{
1741 pub const apple_a12: CpuModel = .{
17421742 .name = "apple_a12",
17431743 .llvm_name = "apple-a12",
17441744 .features = featureSet(&[_]Feature{
......@@ -1758,7 +1758,7 @@ pub const cpu = struct {
17581758 .zcz,
17591759 }),
17601760 };
1761 pub const apple_a13 = CpuModel{
1761 pub const apple_a13: CpuModel = .{
17621762 .name = "apple_a13",
17631763 .llvm_name = "apple-a13",
17641764 .features = featureSet(&[_]Feature{
......@@ -1778,7 +1778,7 @@ pub const cpu = struct {
17781778 .zcz,
17791779 }),
17801780 };
1781 pub const apple_a14 = CpuModel{
1781 pub const apple_a14: CpuModel = .{
17821782 .name = "apple_a14",
17831783 .llvm_name = "apple-a14",
17841784 .features = featureSet(&[_]Feature{
......@@ -1810,7 +1810,7 @@ pub const cpu = struct {
18101810 .zcz,
18111811 }),
18121812 };
1813 pub const apple_a15 = CpuModel{
1813 pub const apple_a15: CpuModel = .{
18141814 .name = "apple_a15",
18151815 .llvm_name = "apple-a15",
18161816 .features = featureSet(&[_]Feature{
......@@ -1834,7 +1834,7 @@ pub const cpu = struct {
18341834 .zcz,
18351835 }),
18361836 };
1837 pub const apple_a16 = CpuModel{
1837 pub const apple_a16: CpuModel = .{
18381838 .name = "apple_a16",
18391839 .llvm_name = "apple-a16",
18401840 .features = featureSet(&[_]Feature{
......@@ -1860,7 +1860,7 @@ pub const cpu = struct {
18601860 .zcz,
18611861 }),
18621862 };
1863 pub const apple_a17 = CpuModel{
1863 pub const apple_a17: CpuModel = .{
18641864 .name = "apple_a17",
18651865 .llvm_name = "apple-a17",
18661866 .features = featureSet(&[_]Feature{
......@@ -1886,7 +1886,7 @@ pub const cpu = struct {
18861886 .zcz,
18871887 }),
18881888 };
1889 pub const apple_a7 = CpuModel{
1889 pub const apple_a7: CpuModel = .{
18901890 .name = "apple_a7",
18911891 .llvm_name = "apple-a7",
18921892 .features = featureSet(&[_]Feature{
......@@ -1906,7 +1906,7 @@ pub const cpu = struct {
19061906 .zcz_fp_workaround,
19071907 }),
19081908 };
1909 pub const apple_a8 = CpuModel{
1909 pub const apple_a8: CpuModel = .{
19101910 .name = "apple_a8",
19111911 .llvm_name = "apple-a8",
19121912 .features = featureSet(&[_]Feature{
......@@ -1926,7 +1926,7 @@ pub const cpu = struct {
19261926 .zcz_fp_workaround,
19271927 }),
19281928 };
1929 pub const apple_a9 = CpuModel{
1929 pub const apple_a9: CpuModel = .{
19301930 .name = "apple_a9",
19311931 .llvm_name = "apple-a9",
19321932 .features = featureSet(&[_]Feature{
......@@ -1946,7 +1946,7 @@ pub const cpu = struct {
19461946 .zcz_fp_workaround,
19471947 }),
19481948 };
1949 pub const apple_m1 = CpuModel{
1949 pub const apple_m1: CpuModel = .{
19501950 .name = "apple_m1",
19511951 .llvm_name = "apple-m1",
19521952 .features = featureSet(&[_]Feature{
......@@ -1978,7 +1978,7 @@ pub const cpu = struct {
19781978 .zcz,
19791979 }),
19801980 };
1981 pub const apple_m2 = CpuModel{
1981 pub const apple_m2: CpuModel = .{
19821982 .name = "apple_m2",
19831983 .llvm_name = "apple-m2",
19841984 .features = featureSet(&[_]Feature{
......@@ -2002,7 +2002,7 @@ pub const cpu = struct {
20022002 .zcz,
20032003 }),
20042004 };
2005 pub const apple_m3 = CpuModel{
2005 pub const apple_m3: CpuModel = .{
20062006 .name = "apple_m3",
20072007 .llvm_name = "apple-m3",
20082008 .features = featureSet(&[_]Feature{
......@@ -2028,7 +2028,7 @@ pub const cpu = struct {
20282028 .zcz,
20292029 }),
20302030 };
2031 pub const apple_m4 = CpuModel{
2031 pub const apple_m4: CpuModel = .{
20322032 .name = "apple_m4",
20332033 .llvm_name = "apple-m4",
20342034 .features = featureSet(&[_]Feature{
......@@ -2054,7 +2054,7 @@ pub const cpu = struct {
20542054 .zcz,
20552055 }),
20562056 };
2057 pub const apple_s4 = CpuModel{
2057 pub const apple_s4: CpuModel = .{
20582058 .name = "apple_s4",
20592059 .llvm_name = "apple-s4",
20602060 .features = featureSet(&[_]Feature{
......@@ -2074,7 +2074,7 @@ pub const cpu = struct {
20742074 .zcz,
20752075 }),
20762076 };
2077 pub const apple_s5 = CpuModel{
2077 pub const apple_s5: CpuModel = .{
20782078 .name = "apple_s5",
20792079 .llvm_name = "apple-s5",
20802080 .features = featureSet(&[_]Feature{
......@@ -2094,7 +2094,7 @@ pub const cpu = struct {
20942094 .zcz,
20952095 }),
20962096 };
2097 pub const carmel = CpuModel{
2097 pub const carmel: CpuModel = .{
20982098 .name = "carmel",
20992099 .llvm_name = "carmel",
21002100 .features = featureSet(&[_]Feature{
......@@ -2104,7 +2104,7 @@ pub const cpu = struct {
21042104 .v8_2a,
21052105 }),
21062106 };
2107 pub const cobalt_100 = CpuModel{
2107 pub const cobalt_100: CpuModel = .{
21082108 .name = "cobalt_100",
21092109 .llvm_name = "cobalt-100",
21102110 .features = featureSet(&[_]Feature{
......@@ -2124,7 +2124,7 @@ pub const cpu = struct {
21242124 .v9a,
21252125 }),
21262126 };
2127 pub const cortex_a34 = CpuModel{
2127 pub const cortex_a34: CpuModel = .{
21282128 .name = "cortex_a34",
21292129 .llvm_name = "cortex-a34",
21302130 .features = featureSet(&[_]Feature{
......@@ -2135,7 +2135,7 @@ pub const cpu = struct {
21352135 .v8a,
21362136 }),
21372137 };
2138 pub const cortex_a35 = CpuModel{
2138 pub const cortex_a35: CpuModel = .{
21392139 .name = "cortex_a35",
21402140 .llvm_name = "cortex-a35",
21412141 .features = featureSet(&[_]Feature{
......@@ -2146,7 +2146,7 @@ pub const cpu = struct {
21462146 .v8a,
21472147 }),
21482148 };
2149 pub const cortex_a510 = CpuModel{
2149 pub const cortex_a510: CpuModel = .{
21502150 .name = "cortex_a510",
21512151 .llvm_name = "cortex-a510",
21522152 .features = featureSet(&[_]Feature{
......@@ -2163,7 +2163,7 @@ pub const cpu = struct {
21632163 .v9a,
21642164 }),
21652165 };
2166 pub const cortex_a520 = CpuModel{
2166 pub const cortex_a520: CpuModel = .{
21672167 .name = "cortex_a520",
21682168 .llvm_name = "cortex-a520",
21692169 .features = featureSet(&[_]Feature{
......@@ -2178,7 +2178,7 @@ pub const cpu = struct {
21782178 .v9_2a,
21792179 }),
21802180 };
2181 pub const cortex_a520ae = CpuModel{
2181 pub const cortex_a520ae: CpuModel = .{
21822182 .name = "cortex_a520ae",
21832183 .llvm_name = "cortex-a520ae",
21842184 .features = featureSet(&[_]Feature{
......@@ -2193,7 +2193,7 @@ pub const cpu = struct {
21932193 .v9_2a,
21942194 }),
21952195 };
2196 pub const cortex_a53 = CpuModel{
2196 pub const cortex_a53: CpuModel = .{
21972197 .name = "cortex_a53",
21982198 .llvm_name = "cortex-a53",
21992199 .features = featureSet(&[_]Feature{
......@@ -2208,7 +2208,7 @@ pub const cpu = struct {
22082208 .v8a,
22092209 }),
22102210 };
2211 pub const cortex_a55 = CpuModel{
2211 pub const cortex_a55: CpuModel = .{
22122212 .name = "cortex_a55",
22132213 .llvm_name = "cortex-a55",
22142214 .features = featureSet(&[_]Feature{
......@@ -2225,7 +2225,7 @@ pub const cpu = struct {
22252225 .v8_2a,
22262226 }),
22272227 };
2228 pub const cortex_a57 = CpuModel{
2228 pub const cortex_a57: CpuModel = .{
22292229 .name = "cortex_a57",
22302230 .llvm_name = "cortex-a57",
22312231 .features = featureSet(&[_]Feature{
......@@ -2244,7 +2244,7 @@ pub const cpu = struct {
22442244 .v8a,
22452245 }),
22462246 };
2247 pub const cortex_a65 = CpuModel{
2247 pub const cortex_a65: CpuModel = .{
22482248 .name = "cortex_a65",
22492249 .llvm_name = "cortex-a65",
22502250 .features = featureSet(&[_]Feature{
......@@ -2264,7 +2264,7 @@ pub const cpu = struct {
22642264 .v8_2a,
22652265 }),
22662266 };
2267 pub const cortex_a65ae = CpuModel{
2267 pub const cortex_a65ae: CpuModel = .{
22682268 .name = "cortex_a65ae",
22692269 .llvm_name = "cortex-a65ae",
22702270 .features = featureSet(&[_]Feature{
......@@ -2284,7 +2284,7 @@ pub const cpu = struct {
22842284 .v8_2a,
22852285 }),
22862286 };
2287 pub const cortex_a710 = CpuModel{
2287 pub const cortex_a710: CpuModel = .{
22882288 .name = "cortex_a710",
22892289 .llvm_name = "cortex-a710",
22902290 .features = featureSet(&[_]Feature{
......@@ -2305,7 +2305,7 @@ pub const cpu = struct {
23052305 .v9a,
23062306 }),
23072307 };
2308 pub const cortex_a715 = CpuModel{
2308 pub const cortex_a715: CpuModel = .{
23092309 .name = "cortex_a715",
23102310 .llvm_name = "cortex-a715",
23112311 .features = featureSet(&[_]Feature{
......@@ -2327,7 +2327,7 @@ pub const cpu = struct {
23272327 .v9a,
23282328 }),
23292329 };
2330 pub const cortex_a72 = CpuModel{
2330 pub const cortex_a72: CpuModel = .{
23312331 .name = "cortex_a72",
23322332 .llvm_name = "cortex-a72",
23332333 .features = featureSet(&[_]Feature{
......@@ -2344,7 +2344,7 @@ pub const cpu = struct {
23442344 .v8a,
23452345 }),
23462346 };
2347 pub const cortex_a720 = CpuModel{
2347 pub const cortex_a720: CpuModel = .{
23482348 .name = "cortex_a720",
23492349 .llvm_name = "cortex-a720",
23502350 .features = featureSet(&[_]Feature{
......@@ -2365,7 +2365,7 @@ pub const cpu = struct {
23652365 .v9_2a,
23662366 }),
23672367 };
2368 pub const cortex_a720ae = CpuModel{
2368 pub const cortex_a720ae: CpuModel = .{
23692369 .name = "cortex_a720ae",
23702370 .llvm_name = "cortex-a720ae",
23712371 .features = featureSet(&[_]Feature{
......@@ -2386,7 +2386,7 @@ pub const cpu = struct {
23862386 .v9_2a,
23872387 }),
23882388 };
2389 pub const cortex_a725 = CpuModel{
2389 pub const cortex_a725: CpuModel = .{
23902390 .name = "cortex_a725",
23912391 .llvm_name = "cortex-a725",
23922392 .features = featureSet(&[_]Feature{
......@@ -2407,7 +2407,7 @@ pub const cpu = struct {
24072407 .v9_2a,
24082408 }),
24092409 };
2410 pub const cortex_a73 = CpuModel{
2410 pub const cortex_a73: CpuModel = .{
24112411 .name = "cortex_a73",
24122412 .llvm_name = "cortex-a73",
24132413 .features = featureSet(&[_]Feature{
......@@ -2423,7 +2423,7 @@ pub const cpu = struct {
24232423 .v8a,
24242424 }),
24252425 };
2426 pub const cortex_a75 = CpuModel{
2426 pub const cortex_a75: CpuModel = .{
24272427 .name = "cortex_a75",
24282428 .llvm_name = "cortex-a75",
24292429 .features = featureSet(&[_]Feature{
......@@ -2441,7 +2441,7 @@ pub const cpu = struct {
24412441 .v8_2a,
24422442 }),
24432443 };
2444 pub const cortex_a76 = CpuModel{
2444 pub const cortex_a76: CpuModel = .{
24452445 .name = "cortex_a76",
24462446 .llvm_name = "cortex-a76",
24472447 .features = featureSet(&[_]Feature{
......@@ -2461,7 +2461,7 @@ pub const cpu = struct {
24612461 .v8_2a,
24622462 }),
24632463 };
2464 pub const cortex_a76ae = CpuModel{
2464 pub const cortex_a76ae: CpuModel = .{
24652465 .name = "cortex_a76ae",
24662466 .llvm_name = "cortex-a76ae",
24672467 .features = featureSet(&[_]Feature{
......@@ -2481,7 +2481,7 @@ pub const cpu = struct {
24812481 .v8_2a,
24822482 }),
24832483 };
2484 pub const cortex_a77 = CpuModel{
2484 pub const cortex_a77: CpuModel = .{
24852485 .name = "cortex_a77",
24862486 .llvm_name = "cortex-a77",
24872487 .features = featureSet(&[_]Feature{
......@@ -2502,7 +2502,7 @@ pub const cpu = struct {
25022502 .v8_2a,
25032503 }),
25042504 };
2505 pub const cortex_a78 = CpuModel{
2505 pub const cortex_a78: CpuModel = .{
25062506 .name = "cortex_a78",
25072507 .llvm_name = "cortex-a78",
25082508 .features = featureSet(&[_]Feature{
......@@ -2525,7 +2525,7 @@ pub const cpu = struct {
25252525 .v8_2a,
25262526 }),
25272527 };
2528 pub const cortex_a78ae = CpuModel{
2528 pub const cortex_a78ae: CpuModel = .{
25292529 .name = "cortex_a78ae",
25302530 .llvm_name = "cortex-a78ae",
25312531 .features = featureSet(&[_]Feature{
......@@ -2548,7 +2548,7 @@ pub const cpu = struct {
25482548 .v8_2a,
25492549 }),
25502550 };
2551 pub const cortex_a78c = CpuModel{
2551 pub const cortex_a78c: CpuModel = .{
25522552 .name = "cortex_a78c",
25532553 .llvm_name = "cortex-a78c",
25542554 .features = featureSet(&[_]Feature{
......@@ -2573,7 +2573,7 @@ pub const cpu = struct {
25732573 .v8_2a,
25742574 }),
25752575 };
2576 pub const cortex_r82 = CpuModel{
2576 pub const cortex_r82: CpuModel = .{
25772577 .name = "cortex_r82",
25782578 .llvm_name = "cortex-r82",
25792579 .features = featureSet(&[_]Feature{
......@@ -2584,7 +2584,7 @@ pub const cpu = struct {
25842584 .v8r,
25852585 }),
25862586 };
2587 pub const cortex_r82ae = CpuModel{
2587 pub const cortex_r82ae: CpuModel = .{
25882588 .name = "cortex_r82ae",
25892589 .llvm_name = "cortex-r82ae",
25902590 .features = featureSet(&[_]Feature{
......@@ -2595,7 +2595,7 @@ pub const cpu = struct {
25952595 .v8r,
25962596 }),
25972597 };
2598 pub const cortex_x1 = CpuModel{
2598 pub const cortex_x1: CpuModel = .{
25992599 .name = "cortex_x1",
26002600 .llvm_name = "cortex-x1",
26012601 .features = featureSet(&[_]Feature{
......@@ -2618,7 +2618,7 @@ pub const cpu = struct {
26182618 .v8_2a,
26192619 }),
26202620 };
2621 pub const cortex_x1c = CpuModel{
2621 pub const cortex_x1c: CpuModel = .{
26222622 .name = "cortex_x1c",
26232623 .llvm_name = "cortex-x1c",
26242624 .features = featureSet(&[_]Feature{
......@@ -2644,7 +2644,7 @@ pub const cpu = struct {
26442644 .v8_2a,
26452645 }),
26462646 };
2647 pub const cortex_x2 = CpuModel{
2647 pub const cortex_x2: CpuModel = .{
26482648 .name = "cortex_x2",
26492649 .llvm_name = "cortex-x2",
26502650 .features = featureSet(&[_]Feature{
......@@ -2665,7 +2665,7 @@ pub const cpu = struct {
26652665 .v9a,
26662666 }),
26672667 };
2668 pub const cortex_x3 = CpuModel{
2668 pub const cortex_x3: CpuModel = .{
26692669 .name = "cortex_x3",
26702670 .llvm_name = "cortex-x3",
26712671 .features = featureSet(&[_]Feature{
......@@ -2686,7 +2686,7 @@ pub const cpu = struct {
26862686 .v9a,
26872687 }),
26882688 };
2689 pub const cortex_x4 = CpuModel{
2689 pub const cortex_x4: CpuModel = .{
26902690 .name = "cortex_x4",
26912691 .llvm_name = "cortex-x4",
26922692 .features = featureSet(&[_]Feature{
......@@ -2706,7 +2706,7 @@ pub const cpu = struct {
27062706 .v9_2a,
27072707 }),
27082708 };
2709 pub const cortex_x925 = CpuModel{
2709 pub const cortex_x925: CpuModel = .{
27102710 .name = "cortex_x925",
27112711 .llvm_name = "cortex-x925",
27122712 .features = featureSet(&[_]Feature{
......@@ -2726,7 +2726,7 @@ pub const cpu = struct {
27262726 .v9_2a,
27272727 }),
27282728 };
2729 pub const cyclone = CpuModel{
2729 pub const cyclone: CpuModel = .{
27302730 .name = "cyclone",
27312731 .llvm_name = "cyclone",
27322732 .features = featureSet(&[_]Feature{
......@@ -2746,7 +2746,7 @@ pub const cpu = struct {
27462746 .zcz_fp_workaround,
27472747 }),
27482748 };
2749 pub const emag = CpuModel{
2749 pub const emag: CpuModel = .{
27502750 .name = "emag",
27512751 .llvm_name = null,
27522752 .features = featureSet(&[_]Feature{
......@@ -2756,7 +2756,7 @@ pub const cpu = struct {
27562756 .v8a,
27572757 }),
27582758 };
2759 pub const exynos_m1 = CpuModel{
2759 pub const exynos_m1: CpuModel = .{
27602760 .name = "exynos_m1",
27612761 .llvm_name = null,
27622762 .features = featureSet(&[_]Feature{
......@@ -2773,7 +2773,7 @@ pub const cpu = struct {
27732773 .v8a,
27742774 }),
27752775 };
2776 pub const exynos_m2 = CpuModel{
2776 pub const exynos_m2: CpuModel = .{
27772777 .name = "exynos_m2",
27782778 .llvm_name = null,
27792779 .features = featureSet(&[_]Feature{
......@@ -2789,7 +2789,7 @@ pub const cpu = struct {
27892789 .v8a,
27902790 }),
27912791 };
2792 pub const exynos_m3 = CpuModel{
2792 pub const exynos_m3: CpuModel = .{
27932793 .name = "exynos_m3",
27942794 .llvm_name = "exynos-m3",
27952795 .features = featureSet(&[_]Feature{
......@@ -2811,7 +2811,7 @@ pub const cpu = struct {
28112811 .v8a,
28122812 }),
28132813 };
2814 pub const exynos_m4 = CpuModel{
2814 pub const exynos_m4: CpuModel = .{
28152815 .name = "exynos_m4",
28162816 .llvm_name = "exynos-m4",
28172817 .features = featureSet(&[_]Feature{
......@@ -2837,7 +2837,7 @@ pub const cpu = struct {
28372837 .zcz,
28382838 }),
28392839 };
2840 pub const exynos_m5 = CpuModel{
2840 pub const exynos_m5: CpuModel = .{
28412841 .name = "exynos_m5",
28422842 .llvm_name = "exynos-m5",
28432843 .features = featureSet(&[_]Feature{
......@@ -2863,7 +2863,7 @@ pub const cpu = struct {
28632863 .zcz,
28642864 }),
28652865 };
2866 pub const falkor = CpuModel{
2866 pub const falkor: CpuModel = .{
28672867 .name = "falkor",
28682868 .llvm_name = "falkor",
28692869 .features = featureSet(&[_]Feature{
......@@ -2881,7 +2881,7 @@ pub const cpu = struct {
28812881 .zcz,
28822882 }),
28832883 };
2884 pub const generic = CpuModel{
2884 pub const generic: CpuModel = .{
28852885 .name = "generic",
28862886 .llvm_name = "generic",
28872887 .features = featureSet(&[_]Feature{
......@@ -2893,7 +2893,7 @@ pub const cpu = struct {
28932893 .use_postra_scheduler,
28942894 }),
28952895 };
2896 pub const grace = CpuModel{
2896 pub const grace: CpuModel = .{
28972897 .name = "grace",
28982898 .llvm_name = "grace",
28992899 .features = featureSet(&[_]Feature{
......@@ -2917,7 +2917,7 @@ pub const cpu = struct {
29172917 .v9a,
29182918 }),
29192919 };
2920 pub const kryo = CpuModel{
2920 pub const kryo: CpuModel = .{
29212921 .name = "kryo",
29222922 .llvm_name = "kryo",
29232923 .features = featureSet(&[_]Feature{
......@@ -2933,7 +2933,7 @@ pub const cpu = struct {
29332933 .zcz,
29342934 }),
29352935 };
2936 pub const neoverse_512tvb = CpuModel{
2936 pub const neoverse_512tvb: CpuModel = .{
29372937 .name = "neoverse_512tvb",
29382938 .llvm_name = "neoverse-512tvb",
29392939 .features = featureSet(&[_]Feature{
......@@ -2958,7 +2958,7 @@ pub const cpu = struct {
29582958 .v8_4a,
29592959 }),
29602960 };
2961 pub const neoverse_e1 = CpuModel{
2961 pub const neoverse_e1: CpuModel = .{
29622962 .name = "neoverse_e1",
29632963 .llvm_name = "neoverse-e1",
29642964 .features = featureSet(&[_]Feature{
......@@ -2975,7 +2975,7 @@ pub const cpu = struct {
29752975 .v8_2a,
29762976 }),
29772977 };
2978 pub const neoverse_n1 = CpuModel{
2978 pub const neoverse_n1: CpuModel = .{
29792979 .name = "neoverse_n1",
29802980 .llvm_name = "neoverse-n1",
29812981 .features = featureSet(&[_]Feature{
......@@ -2997,7 +2997,7 @@ pub const cpu = struct {
29972997 .v8_2a,
29982998 }),
29992999 };
3000 pub const neoverse_n2 = CpuModel{
3000 pub const neoverse_n2: CpuModel = .{
30013001 .name = "neoverse_n2",
30023002 .llvm_name = "neoverse-n2",
30033003 .features = featureSet(&[_]Feature{
......@@ -3017,7 +3017,7 @@ pub const cpu = struct {
30173017 .v9a,
30183018 }),
30193019 };
3020 pub const neoverse_n3 = CpuModel{
3020 pub const neoverse_n3: CpuModel = .{
30213021 .name = "neoverse_n3",
30223022 .llvm_name = "neoverse-n3",
30233023 .features = featureSet(&[_]Feature{
......@@ -3038,7 +3038,7 @@ pub const cpu = struct {
30383038 .v9_2a,
30393039 }),
30403040 };
3041 pub const neoverse_v1 = CpuModel{
3041 pub const neoverse_v1: CpuModel = .{
30423042 .name = "neoverse_v1",
30433043 .llvm_name = "neoverse-v1",
30443044 .features = featureSet(&[_]Feature{
......@@ -3065,7 +3065,7 @@ pub const cpu = struct {
30653065 .v8_4a,
30663066 }),
30673067 };
3068 pub const neoverse_v2 = CpuModel{
3068 pub const neoverse_v2: CpuModel = .{
30693069 .name = "neoverse_v2",
30703070 .llvm_name = "neoverse-v2",
30713071 .features = featureSet(&[_]Feature{
......@@ -3089,7 +3089,7 @@ pub const cpu = struct {
30893089 .v9a,
30903090 }),
30913091 };
3092 pub const neoverse_v3 = CpuModel{
3092 pub const neoverse_v3: CpuModel = .{
30933093 .name = "neoverse_v3",
30943094 .llvm_name = "neoverse-v3",
30953095 .features = featureSet(&[_]Feature{
......@@ -3112,7 +3112,7 @@ pub const cpu = struct {
31123112 .v9_2a,
31133113 }),
31143114 };
3115 pub const neoverse_v3ae = CpuModel{
3115 pub const neoverse_v3ae: CpuModel = .{
31163116 .name = "neoverse_v3ae",
31173117 .llvm_name = "neoverse-v3ae",
31183118 .features = featureSet(&[_]Feature{
......@@ -3135,7 +3135,7 @@ pub const cpu = struct {
31353135 .v9_2a,
31363136 }),
31373137 };
3138 pub const oryon_1 = CpuModel{
3138 pub const oryon_1: CpuModel = .{
31393139 .name = "oryon_1",
31403140 .llvm_name = "oryon-1",
31413141 .features = featureSet(&[_]Feature{
......@@ -3155,7 +3155,7 @@ pub const cpu = struct {
31553155 .v8_6a,
31563156 }),
31573157 };
3158 pub const saphira = CpuModel{
3158 pub const saphira: CpuModel = .{
31593159 .name = "saphira",
31603160 .llvm_name = "saphira",
31613161 .features = featureSet(&[_]Feature{
......@@ -3171,7 +3171,7 @@ pub const cpu = struct {
31713171 .zcz,
31723172 }),
31733173 };
3174 pub const thunderx = CpuModel{
3174 pub const thunderx: CpuModel = .{
31753175 .name = "thunderx",
31763176 .llvm_name = "thunderx",
31773177 .features = featureSet(&[_]Feature{
......@@ -3185,7 +3185,7 @@ pub const cpu = struct {
31853185 .v8a,
31863186 }),
31873187 };
3188 pub const thunderx2t99 = CpuModel{
3188 pub const thunderx2t99: CpuModel = .{
31893189 .name = "thunderx2t99",
31903190 .llvm_name = "thunderx2t99",
31913191 .features = featureSet(&[_]Feature{
......@@ -3199,7 +3199,7 @@ pub const cpu = struct {
31993199 .v8_1a,
32003200 }),
32013201 };
3202 pub const thunderx3t110 = CpuModel{
3202 pub const thunderx3t110: CpuModel = .{
32033203 .name = "thunderx3t110",
32043204 .llvm_name = "thunderx3t110",
32053205 .features = featureSet(&[_]Feature{
......@@ -3216,7 +3216,7 @@ pub const cpu = struct {
32163216 .v8_3a,
32173217 }),
32183218 };
3219 pub const thunderxt81 = CpuModel{
3219 pub const thunderxt81: CpuModel = .{
32203220 .name = "thunderxt81",
32213221 .llvm_name = "thunderxt81",
32223222 .features = featureSet(&[_]Feature{
......@@ -3230,7 +3230,7 @@ pub const cpu = struct {
32303230 .v8a,
32313231 }),
32323232 };
3233 pub const thunderxt83 = CpuModel{
3233 pub const thunderxt83: CpuModel = .{
32343234 .name = "thunderxt83",
32353235 .llvm_name = "thunderxt83",
32363236 .features = featureSet(&[_]Feature{
......@@ -3244,7 +3244,7 @@ pub const cpu = struct {
32443244 .v8a,
32453245 }),
32463246 };
3247 pub const thunderxt88 = CpuModel{
3247 pub const thunderxt88: CpuModel = .{
32483248 .name = "thunderxt88",
32493249 .llvm_name = "thunderxt88",
32503250 .features = featureSet(&[_]Feature{
......@@ -3258,7 +3258,7 @@ pub const cpu = struct {
32583258 .v8a,
32593259 }),
32603260 };
3261 pub const tsv110 = CpuModel{
3261 pub const tsv110: CpuModel = .{
32623262 .name = "tsv110",
32633263 .llvm_name = "tsv110",
32643264 .features = featureSet(&[_]Feature{
......@@ -3276,7 +3276,7 @@ pub const cpu = struct {
32763276 .v8_2a,
32773277 }),
32783278 };
3279 pub const xgene1 = CpuModel{
3279 pub const xgene1: CpuModel = .{
32803280 .name = "xgene1",
32813281 .llvm_name = null,
32823282 .features = featureSet(&[_]Feature{
lib/std/Target/amdgcn.zig+70-70
......@@ -1410,7 +1410,7 @@ pub const all_features = blk: {
14101410};
14111411
14121412pub const cpu = struct {
1413 pub const bonaire = CpuModel{
1413 pub const bonaire: CpuModel = .{
14141414 .name = "bonaire",
14151415 .llvm_name = "bonaire",
14161416 .features = featureSet(&[_]Feature{
......@@ -1418,7 +1418,7 @@ pub const cpu = struct {
14181418 .sea_islands,
14191419 }),
14201420 };
1421 pub const carrizo = CpuModel{
1421 pub const carrizo: CpuModel = .{
14221422 .name = "carrizo",
14231423 .llvm_name = "carrizo",
14241424 .features = featureSet(&[_]Feature{
......@@ -1430,7 +1430,7 @@ pub const cpu = struct {
14301430 .xnack_support,
14311431 }),
14321432 };
1433 pub const fiji = CpuModel{
1433 pub const fiji: CpuModel = .{
14341434 .name = "fiji",
14351435 .llvm_name = "fiji",
14361436 .features = featureSet(&[_]Feature{
......@@ -1439,7 +1439,7 @@ pub const cpu = struct {
14391439 .volcanic_islands,
14401440 }),
14411441 };
1442 pub const generic = CpuModel{
1442 pub const generic: CpuModel = .{
14431443 .name = "generic",
14441444 .llvm_name = "generic",
14451445 .features = featureSet(&[_]Feature{
......@@ -1448,7 +1448,7 @@ pub const cpu = struct {
14481448 .wavefrontsize64,
14491449 }),
14501450 };
1451 pub const generic_hsa = CpuModel{
1451 pub const generic_hsa: CpuModel = .{
14521452 .name = "generic_hsa",
14531453 .llvm_name = "generic-hsa",
14541454 .features = featureSet(&[_]Feature{
......@@ -1458,7 +1458,7 @@ pub const cpu = struct {
14581458 .wavefrontsize64,
14591459 }),
14601460 };
1461 pub const gfx1010 = CpuModel{
1461 pub const gfx1010: CpuModel = .{
14621462 .name = "gfx1010",
14631463 .llvm_name = "gfx1010",
14641464 .features = featureSet(&[_]Feature{
......@@ -1488,7 +1488,7 @@ pub const cpu = struct {
14881488 .xnack_support,
14891489 }),
14901490 };
1491 pub const gfx1011 = CpuModel{
1491 pub const gfx1011: CpuModel = .{
14921492 .name = "gfx1011",
14931493 .llvm_name = "gfx1011",
14941494 .features = featureSet(&[_]Feature{
......@@ -1524,7 +1524,7 @@ pub const cpu = struct {
15241524 .xnack_support,
15251525 }),
15261526 };
1527 pub const gfx1012 = CpuModel{
1527 pub const gfx1012: CpuModel = .{
15281528 .name = "gfx1012",
15291529 .llvm_name = "gfx1012",
15301530 .features = featureSet(&[_]Feature{
......@@ -1560,7 +1560,7 @@ pub const cpu = struct {
15601560 .xnack_support,
15611561 }),
15621562 };
1563 pub const gfx1013 = CpuModel{
1563 pub const gfx1013: CpuModel = .{
15641564 .name = "gfx1013",
15651565 .llvm_name = "gfx1013",
15661566 .features = featureSet(&[_]Feature{
......@@ -1591,7 +1591,7 @@ pub const cpu = struct {
15911591 .xnack_support,
15921592 }),
15931593 };
1594 pub const gfx1030 = CpuModel{
1594 pub const gfx1030: CpuModel = .{
15951595 .name = "gfx1030",
15961596 .llvm_name = "gfx1030",
15971597 .features = featureSet(&[_]Feature{
......@@ -1612,7 +1612,7 @@ pub const cpu = struct {
16121612 .shader_cycles_register,
16131613 }),
16141614 };
1615 pub const gfx1031 = CpuModel{
1615 pub const gfx1031: CpuModel = .{
16161616 .name = "gfx1031",
16171617 .llvm_name = "gfx1031",
16181618 .features = featureSet(&[_]Feature{
......@@ -1633,7 +1633,7 @@ pub const cpu = struct {
16331633 .shader_cycles_register,
16341634 }),
16351635 };
1636 pub const gfx1032 = CpuModel{
1636 pub const gfx1032: CpuModel = .{
16371637 .name = "gfx1032",
16381638 .llvm_name = "gfx1032",
16391639 .features = featureSet(&[_]Feature{
......@@ -1654,7 +1654,7 @@ pub const cpu = struct {
16541654 .shader_cycles_register,
16551655 }),
16561656 };
1657 pub const gfx1033 = CpuModel{
1657 pub const gfx1033: CpuModel = .{
16581658 .name = "gfx1033",
16591659 .llvm_name = "gfx1033",
16601660 .features = featureSet(&[_]Feature{
......@@ -1675,7 +1675,7 @@ pub const cpu = struct {
16751675 .shader_cycles_register,
16761676 }),
16771677 };
1678 pub const gfx1034 = CpuModel{
1678 pub const gfx1034: CpuModel = .{
16791679 .name = "gfx1034",
16801680 .llvm_name = "gfx1034",
16811681 .features = featureSet(&[_]Feature{
......@@ -1696,7 +1696,7 @@ pub const cpu = struct {
16961696 .shader_cycles_register,
16971697 }),
16981698 };
1699 pub const gfx1035 = CpuModel{
1699 pub const gfx1035: CpuModel = .{
17001700 .name = "gfx1035",
17011701 .llvm_name = "gfx1035",
17021702 .features = featureSet(&[_]Feature{
......@@ -1717,7 +1717,7 @@ pub const cpu = struct {
17171717 .shader_cycles_register,
17181718 }),
17191719 };
1720 pub const gfx1036 = CpuModel{
1720 pub const gfx1036: CpuModel = .{
17211721 .name = "gfx1036",
17221722 .llvm_name = "gfx1036",
17231723 .features = featureSet(&[_]Feature{
......@@ -1738,7 +1738,7 @@ pub const cpu = struct {
17381738 .shader_cycles_register,
17391739 }),
17401740 };
1741 pub const gfx10_1_generic = CpuModel{
1741 pub const gfx10_1_generic: CpuModel = .{
17421742 .name = "gfx10_1_generic",
17431743 .llvm_name = "gfx10-1-generic",
17441744 .features = featureSet(&[_]Feature{
......@@ -1769,7 +1769,7 @@ pub const cpu = struct {
17691769 .xnack_support,
17701770 }),
17711771 };
1772 pub const gfx10_3_generic = CpuModel{
1772 pub const gfx10_3_generic: CpuModel = .{
17731773 .name = "gfx10_3_generic",
17741774 .llvm_name = "gfx10-3-generic",
17751775 .features = featureSet(&[_]Feature{
......@@ -1791,7 +1791,7 @@ pub const cpu = struct {
17911791 .shader_cycles_register,
17921792 }),
17931793 };
1794 pub const gfx1100 = CpuModel{
1794 pub const gfx1100: CpuModel = .{
17951795 .name = "gfx1100",
17961796 .llvm_name = "gfx1100",
17971797 .features = featureSet(&[_]Feature{
......@@ -1822,7 +1822,7 @@ pub const cpu = struct {
18221822 .vcmpx_permlane_hazard,
18231823 }),
18241824 };
1825 pub const gfx1101 = CpuModel{
1825 pub const gfx1101: CpuModel = .{
18261826 .name = "gfx1101",
18271827 .llvm_name = "gfx1101",
18281828 .features = featureSet(&[_]Feature{
......@@ -1852,7 +1852,7 @@ pub const cpu = struct {
18521852 .vcmpx_permlane_hazard,
18531853 }),
18541854 };
1855 pub const gfx1102 = CpuModel{
1855 pub const gfx1102: CpuModel = .{
18561856 .name = "gfx1102",
18571857 .llvm_name = "gfx1102",
18581858 .features = featureSet(&[_]Feature{
......@@ -1882,7 +1882,7 @@ pub const cpu = struct {
18821882 .vcmpx_permlane_hazard,
18831883 }),
18841884 };
1885 pub const gfx1103 = CpuModel{
1885 pub const gfx1103: CpuModel = .{
18861886 .name = "gfx1103",
18871887 .llvm_name = "gfx1103",
18881888 .features = featureSet(&[_]Feature{
......@@ -1911,7 +1911,7 @@ pub const cpu = struct {
19111911 .vcmpx_permlane_hazard,
19121912 }),
19131913 };
1914 pub const gfx1150 = CpuModel{
1914 pub const gfx1150: CpuModel = .{
19151915 .name = "gfx1150",
19161916 .llvm_name = "gfx1150",
19171917 .features = featureSet(&[_]Feature{
......@@ -1940,7 +1940,7 @@ pub const cpu = struct {
19401940 .vgpr_singleuse_hint,
19411941 }),
19421942 };
1943 pub const gfx1151 = CpuModel{
1943 pub const gfx1151: CpuModel = .{
19441944 .name = "gfx1151",
19451945 .llvm_name = "gfx1151",
19461946 .features = featureSet(&[_]Feature{
......@@ -1970,7 +1970,7 @@ pub const cpu = struct {
19701970 .vgpr_singleuse_hint,
19711971 }),
19721972 };
1973 pub const gfx1152 = CpuModel{
1973 pub const gfx1152: CpuModel = .{
19741974 .name = "gfx1152",
19751975 .llvm_name = "gfx1152",
19761976 .features = featureSet(&[_]Feature{
......@@ -1999,7 +1999,7 @@ pub const cpu = struct {
19991999 .vgpr_singleuse_hint,
20002000 }),
20012001 };
2002 pub const gfx11_generic = CpuModel{
2002 pub const gfx11_generic: CpuModel = .{
20032003 .name = "gfx11_generic",
20042004 .llvm_name = "gfx11-generic",
20052005 .features = featureSet(&[_]Feature{
......@@ -2031,7 +2031,7 @@ pub const cpu = struct {
20312031 .vcmpx_permlane_hazard,
20322032 }),
20332033 };
2034 pub const gfx1200 = CpuModel{
2034 pub const gfx1200: CpuModel = .{
20352035 .name = "gfx1200",
20362036 .llvm_name = "gfx1200",
20372037 .features = featureSet(&[_]Feature{
......@@ -2071,7 +2071,7 @@ pub const cpu = struct {
20712071 .vgpr_singleuse_hint,
20722072 }),
20732073 };
2074 pub const gfx1201 = CpuModel{
2074 pub const gfx1201: CpuModel = .{
20752075 .name = "gfx1201",
20762076 .llvm_name = "gfx1201",
20772077 .features = featureSet(&[_]Feature{
......@@ -2111,7 +2111,7 @@ pub const cpu = struct {
21112111 .vgpr_singleuse_hint,
21122112 }),
21132113 };
2114 pub const gfx12_generic = CpuModel{
2114 pub const gfx12_generic: CpuModel = .{
21152115 .name = "gfx12_generic",
21162116 .llvm_name = "gfx12-generic",
21172117 .features = featureSet(&[_]Feature{
......@@ -2152,7 +2152,7 @@ pub const cpu = struct {
21522152 .vgpr_singleuse_hint,
21532153 }),
21542154 };
2155 pub const gfx600 = CpuModel{
2155 pub const gfx600: CpuModel = .{
21562156 .name = "gfx600",
21572157 .llvm_name = "gfx600",
21582158 .features = featureSet(&[_]Feature{
......@@ -2161,21 +2161,21 @@ pub const cpu = struct {
21612161 .southern_islands,
21622162 }),
21632163 };
2164 pub const gfx601 = CpuModel{
2164 pub const gfx601: CpuModel = .{
21652165 .name = "gfx601",
21662166 .llvm_name = "gfx601",
21672167 .features = featureSet(&[_]Feature{
21682168 .southern_islands,
21692169 }),
21702170 };
2171 pub const gfx602 = CpuModel{
2171 pub const gfx602: CpuModel = .{
21722172 .name = "gfx602",
21732173 .llvm_name = "gfx602",
21742174 .features = featureSet(&[_]Feature{
21752175 .southern_islands,
21762176 }),
21772177 };
2178 pub const gfx700 = CpuModel{
2178 pub const gfx700: CpuModel = .{
21792179 .name = "gfx700",
21802180 .llvm_name = "gfx700",
21812181 .features = featureSet(&[_]Feature{
......@@ -2183,7 +2183,7 @@ pub const cpu = struct {
21832183 .sea_islands,
21842184 }),
21852185 };
2186 pub const gfx701 = CpuModel{
2186 pub const gfx701: CpuModel = .{
21872187 .name = "gfx701",
21882188 .llvm_name = "gfx701",
21892189 .features = featureSet(&[_]Feature{
......@@ -2193,7 +2193,7 @@ pub const cpu = struct {
21932193 .sea_islands,
21942194 }),
21952195 };
2196 pub const gfx702 = CpuModel{
2196 pub const gfx702: CpuModel = .{
21972197 .name = "gfx702",
21982198 .llvm_name = "gfx702",
21992199 .features = featureSet(&[_]Feature{
......@@ -2202,7 +2202,7 @@ pub const cpu = struct {
22022202 .sea_islands,
22032203 }),
22042204 };
2205 pub const gfx703 = CpuModel{
2205 pub const gfx703: CpuModel = .{
22062206 .name = "gfx703",
22072207 .llvm_name = "gfx703",
22082208 .features = featureSet(&[_]Feature{
......@@ -2210,7 +2210,7 @@ pub const cpu = struct {
22102210 .sea_islands,
22112211 }),
22122212 };
2213 pub const gfx704 = CpuModel{
2213 pub const gfx704: CpuModel = .{
22142214 .name = "gfx704",
22152215 .llvm_name = "gfx704",
22162216 .features = featureSet(&[_]Feature{
......@@ -2218,7 +2218,7 @@ pub const cpu = struct {
22182218 .sea_islands,
22192219 }),
22202220 };
2221 pub const gfx705 = CpuModel{
2221 pub const gfx705: CpuModel = .{
22222222 .name = "gfx705",
22232223 .llvm_name = "gfx705",
22242224 .features = featureSet(&[_]Feature{
......@@ -2226,7 +2226,7 @@ pub const cpu = struct {
22262226 .sea_islands,
22272227 }),
22282228 };
2229 pub const gfx801 = CpuModel{
2229 pub const gfx801: CpuModel = .{
22302230 .name = "gfx801",
22312231 .llvm_name = "gfx801",
22322232 .features = featureSet(&[_]Feature{
......@@ -2238,7 +2238,7 @@ pub const cpu = struct {
22382238 .xnack_support,
22392239 }),
22402240 };
2241 pub const gfx802 = CpuModel{
2241 pub const gfx802: CpuModel = .{
22422242 .name = "gfx802",
22432243 .llvm_name = "gfx802",
22442244 .features = featureSet(&[_]Feature{
......@@ -2248,7 +2248,7 @@ pub const cpu = struct {
22482248 .volcanic_islands,
22492249 }),
22502250 };
2251 pub const gfx803 = CpuModel{
2251 pub const gfx803: CpuModel = .{
22522252 .name = "gfx803",
22532253 .llvm_name = "gfx803",
22542254 .features = featureSet(&[_]Feature{
......@@ -2257,7 +2257,7 @@ pub const cpu = struct {
22572257 .volcanic_islands,
22582258 }),
22592259 };
2260 pub const gfx805 = CpuModel{
2260 pub const gfx805: CpuModel = .{
22612261 .name = "gfx805",
22622262 .llvm_name = "gfx805",
22632263 .features = featureSet(&[_]Feature{
......@@ -2267,7 +2267,7 @@ pub const cpu = struct {
22672267 .volcanic_islands,
22682268 }),
22692269 };
2270 pub const gfx810 = CpuModel{
2270 pub const gfx810: CpuModel = .{
22712271 .name = "gfx810",
22722272 .llvm_name = "gfx810",
22732273 .features = featureSet(&[_]Feature{
......@@ -2278,7 +2278,7 @@ pub const cpu = struct {
22782278 .xnack_support,
22792279 }),
22802280 };
2281 pub const gfx900 = CpuModel{
2281 pub const gfx900: CpuModel = .{
22822282 .name = "gfx900",
22832283 .llvm_name = "gfx900",
22842284 .features = featureSet(&[_]Feature{
......@@ -2293,7 +2293,7 @@ pub const cpu = struct {
22932293 .mad_mix_insts,
22942294 }),
22952295 };
2296 pub const gfx902 = CpuModel{
2296 pub const gfx902: CpuModel = .{
22972297 .name = "gfx902",
22982298 .llvm_name = "gfx902",
22992299 .features = featureSet(&[_]Feature{
......@@ -2308,7 +2308,7 @@ pub const cpu = struct {
23082308 .mad_mix_insts,
23092309 }),
23102310 };
2311 pub const gfx904 = CpuModel{
2311 pub const gfx904: CpuModel = .{
23122312 .name = "gfx904",
23132313 .llvm_name = "gfx904",
23142314 .features = featureSet(&[_]Feature{
......@@ -2323,7 +2323,7 @@ pub const cpu = struct {
23232323 .mad_mac_f32_insts,
23242324 }),
23252325 };
2326 pub const gfx906 = CpuModel{
2326 pub const gfx906: CpuModel = .{
23272327 .name = "gfx906",
23282328 .llvm_name = "gfx906",
23292329 .features = featureSet(&[_]Feature{
......@@ -2345,7 +2345,7 @@ pub const cpu = struct {
23452345 .sramecc_support,
23462346 }),
23472347 };
2348 pub const gfx908 = CpuModel{
2348 pub const gfx908: CpuModel = .{
23492349 .name = "gfx908",
23502350 .llvm_name = "gfx908",
23512351 .features = featureSet(&[_]Feature{
......@@ -2376,7 +2376,7 @@ pub const cpu = struct {
23762376 .sramecc_support,
23772377 }),
23782378 };
2379 pub const gfx909 = CpuModel{
2379 pub const gfx909: CpuModel = .{
23802380 .name = "gfx909",
23812381 .llvm_name = "gfx909",
23822382 .features = featureSet(&[_]Feature{
......@@ -2391,7 +2391,7 @@ pub const cpu = struct {
23912391 .mad_mix_insts,
23922392 }),
23932393 };
2394 pub const gfx90a = CpuModel{
2394 pub const gfx90a: CpuModel = .{
23952395 .name = "gfx90a",
23962396 .llvm_name = "gfx90a",
23972397 .features = featureSet(&[_]Feature{
......@@ -2428,7 +2428,7 @@ pub const cpu = struct {
24282428 .sramecc_support,
24292429 }),
24302430 };
2431 pub const gfx90c = CpuModel{
2431 pub const gfx90c: CpuModel = .{
24322432 .name = "gfx90c",
24332433 .llvm_name = "gfx90c",
24342434 .features = featureSet(&[_]Feature{
......@@ -2443,7 +2443,7 @@ pub const cpu = struct {
24432443 .mad_mix_insts,
24442444 }),
24452445 };
2446 pub const gfx940 = CpuModel{
2446 pub const gfx940: CpuModel = .{
24472447 .name = "gfx940",
24482448 .llvm_name = "gfx940",
24492449 .features = featureSet(&[_]Feature{
......@@ -2489,7 +2489,7 @@ pub const cpu = struct {
24892489 .sramecc_support,
24902490 }),
24912491 };
2492 pub const gfx941 = CpuModel{
2492 pub const gfx941: CpuModel = .{
24932493 .name = "gfx941",
24942494 .llvm_name = "gfx941",
24952495 .features = featureSet(&[_]Feature{
......@@ -2535,7 +2535,7 @@ pub const cpu = struct {
25352535 .sramecc_support,
25362536 }),
25372537 };
2538 pub const gfx942 = CpuModel{
2538 pub const gfx942: CpuModel = .{
25392539 .name = "gfx942",
25402540 .llvm_name = "gfx942",
25412541 .features = featureSet(&[_]Feature{
......@@ -2580,7 +2580,7 @@ pub const cpu = struct {
25802580 .sramecc_support,
25812581 }),
25822582 };
2583 pub const gfx9_generic = CpuModel{
2583 pub const gfx9_generic: CpuModel = .{
25842584 .name = "gfx9_generic",
25852585 .llvm_name = "gfx9-generic",
25862586 .features = featureSet(&[_]Feature{
......@@ -2595,14 +2595,14 @@ pub const cpu = struct {
25952595 .requires_cov6,
25962596 }),
25972597 };
2598 pub const hainan = CpuModel{
2598 pub const hainan: CpuModel = .{
25992599 .name = "hainan",
26002600 .llvm_name = "hainan",
26012601 .features = featureSet(&[_]Feature{
26022602 .southern_islands,
26032603 }),
26042604 };
2605 pub const hawaii = CpuModel{
2605 pub const hawaii: CpuModel = .{
26062606 .name = "hawaii",
26072607 .llvm_name = "hawaii",
26082608 .features = featureSet(&[_]Feature{
......@@ -2612,7 +2612,7 @@ pub const cpu = struct {
26122612 .sea_islands,
26132613 }),
26142614 };
2615 pub const iceland = CpuModel{
2615 pub const iceland: CpuModel = .{
26162616 .name = "iceland",
26172617 .llvm_name = "iceland",
26182618 .features = featureSet(&[_]Feature{
......@@ -2622,7 +2622,7 @@ pub const cpu = struct {
26222622 .volcanic_islands,
26232623 }),
26242624 };
2625 pub const kabini = CpuModel{
2625 pub const kabini: CpuModel = .{
26262626 .name = "kabini",
26272627 .llvm_name = "kabini",
26282628 .features = featureSet(&[_]Feature{
......@@ -2630,7 +2630,7 @@ pub const cpu = struct {
26302630 .sea_islands,
26312631 }),
26322632 };
2633 pub const kaveri = CpuModel{
2633 pub const kaveri: CpuModel = .{
26342634 .name = "kaveri",
26352635 .llvm_name = "kaveri",
26362636 .features = featureSet(&[_]Feature{
......@@ -2638,7 +2638,7 @@ pub const cpu = struct {
26382638 .sea_islands,
26392639 }),
26402640 };
2641 pub const mullins = CpuModel{
2641 pub const mullins: CpuModel = .{
26422642 .name = "mullins",
26432643 .llvm_name = "mullins",
26442644 .features = featureSet(&[_]Feature{
......@@ -2646,21 +2646,21 @@ pub const cpu = struct {
26462646 .sea_islands,
26472647 }),
26482648 };
2649 pub const oland = CpuModel{
2649 pub const oland: CpuModel = .{
26502650 .name = "oland",
26512651 .llvm_name = "oland",
26522652 .features = featureSet(&[_]Feature{
26532653 .southern_islands,
26542654 }),
26552655 };
2656 pub const pitcairn = CpuModel{
2656 pub const pitcairn: CpuModel = .{
26572657 .name = "pitcairn",
26582658 .llvm_name = "pitcairn",
26592659 .features = featureSet(&[_]Feature{
26602660 .southern_islands,
26612661 }),
26622662 };
2663 pub const polaris10 = CpuModel{
2663 pub const polaris10: CpuModel = .{
26642664 .name = "polaris10",
26652665 .llvm_name = "polaris10",
26662666 .features = featureSet(&[_]Feature{
......@@ -2669,7 +2669,7 @@ pub const cpu = struct {
26692669 .volcanic_islands,
26702670 }),
26712671 };
2672 pub const polaris11 = CpuModel{
2672 pub const polaris11: CpuModel = .{
26732673 .name = "polaris11",
26742674 .llvm_name = "polaris11",
26752675 .features = featureSet(&[_]Feature{
......@@ -2678,7 +2678,7 @@ pub const cpu = struct {
26782678 .volcanic_islands,
26792679 }),
26802680 };
2681 pub const stoney = CpuModel{
2681 pub const stoney: CpuModel = .{
26822682 .name = "stoney",
26832683 .llvm_name = "stoney",
26842684 .features = featureSet(&[_]Feature{
......@@ -2689,7 +2689,7 @@ pub const cpu = struct {
26892689 .xnack_support,
26902690 }),
26912691 };
2692 pub const tahiti = CpuModel{
2692 pub const tahiti: CpuModel = .{
26932693 .name = "tahiti",
26942694 .llvm_name = "tahiti",
26952695 .features = featureSet(&[_]Feature{
......@@ -2698,7 +2698,7 @@ pub const cpu = struct {
26982698 .southern_islands,
26992699 }),
27002700 };
2701 pub const tonga = CpuModel{
2701 pub const tonga: CpuModel = .{
27022702 .name = "tonga",
27032703 .llvm_name = "tonga",
27042704 .features = featureSet(&[_]Feature{
......@@ -2708,7 +2708,7 @@ pub const cpu = struct {
27082708 .volcanic_islands,
27092709 }),
27102710 };
2711 pub const tongapro = CpuModel{
2711 pub const tongapro: CpuModel = .{
27122712 .name = "tongapro",
27132713 .llvm_name = "tongapro",
27142714 .features = featureSet(&[_]Feature{
......@@ -2718,7 +2718,7 @@ pub const cpu = struct {
27182718 .volcanic_islands,
27192719 }),
27202720 };
2721 pub const verde = CpuModel{
2721 pub const verde: CpuModel = .{
27222722 .name = "verde",
27232723 .llvm_name = "verde",
27242724 .features = featureSet(&[_]Feature{
lib/std/Target/arc.zig+1-1
......@@ -31,7 +31,7 @@ pub const all_features = blk: {
3131};
3232
3333pub const cpu = struct {
34 pub const generic = CpuModel{
34 pub const generic: CpuModel = .{
3535 .name = "generic",
3636 .llvm_name = "generic",
3737 .features = featureSet(&[_]Feature{}),
lib/std/Target/arm.zig+96-96
......@@ -1668,49 +1668,49 @@ pub const all_features = blk: {
16681668};
16691669
16701670pub const cpu = struct {
1671 pub const arm1020e = CpuModel{
1671 pub const arm1020e: CpuModel = .{
16721672 .name = "arm1020e",
16731673 .llvm_name = "arm1020e",
16741674 .features = featureSet(&[_]Feature{
16751675 .v5te,
16761676 }),
16771677 };
1678 pub const arm1020t = CpuModel{
1678 pub const arm1020t: CpuModel = .{
16791679 .name = "arm1020t",
16801680 .llvm_name = "arm1020t",
16811681 .features = featureSet(&[_]Feature{
16821682 .v5t,
16831683 }),
16841684 };
1685 pub const arm1022e = CpuModel{
1685 pub const arm1022e: CpuModel = .{
16861686 .name = "arm1022e",
16871687 .llvm_name = "arm1022e",
16881688 .features = featureSet(&[_]Feature{
16891689 .v5te,
16901690 }),
16911691 };
1692 pub const arm10e = CpuModel{
1692 pub const arm10e: CpuModel = .{
16931693 .name = "arm10e",
16941694 .llvm_name = "arm10e",
16951695 .features = featureSet(&[_]Feature{
16961696 .v5te,
16971697 }),
16981698 };
1699 pub const arm10tdmi = CpuModel{
1699 pub const arm10tdmi: CpuModel = .{
17001700 .name = "arm10tdmi",
17011701 .llvm_name = "arm10tdmi",
17021702 .features = featureSet(&[_]Feature{
17031703 .v5t,
17041704 }),
17051705 };
1706 pub const arm1136j_s = CpuModel{
1706 pub const arm1136j_s: CpuModel = .{
17071707 .name = "arm1136j_s",
17081708 .llvm_name = "arm1136j-s",
17091709 .features = featureSet(&[_]Feature{
17101710 .v6,
17111711 }),
17121712 };
1713 pub const arm1136jf_s = CpuModel{
1713 pub const arm1136jf_s: CpuModel = .{
17141714 .name = "arm1136jf_s",
17151715 .llvm_name = "arm1136jf-s",
17161716 .features = featureSet(&[_]Feature{
......@@ -1719,14 +1719,14 @@ pub const cpu = struct {
17191719 .vfp2,
17201720 }),
17211721 };
1722 pub const arm1156t2_s = CpuModel{
1722 pub const arm1156t2_s: CpuModel = .{
17231723 .name = "arm1156t2_s",
17241724 .llvm_name = "arm1156t2-s",
17251725 .features = featureSet(&[_]Feature{
17261726 .v6t2,
17271727 }),
17281728 };
1729 pub const arm1156t2f_s = CpuModel{
1729 pub const arm1156t2f_s: CpuModel = .{
17301730 .name = "arm1156t2f_s",
17311731 .llvm_name = "arm1156t2f-s",
17321732 .features = featureSet(&[_]Feature{
......@@ -1735,14 +1735,14 @@ pub const cpu = struct {
17351735 .vfp2,
17361736 }),
17371737 };
1738 pub const arm1176jz_s = CpuModel{
1738 pub const arm1176jz_s: CpuModel = .{
17391739 .name = "arm1176jz_s",
17401740 .llvm_name = "arm1176jz-s",
17411741 .features = featureSet(&[_]Feature{
17421742 .v6kz,
17431743 }),
17441744 };
1745 pub const arm1176jzf_s = CpuModel{
1745 pub const arm1176jzf_s: CpuModel = .{
17461746 .name = "arm1176jzf_s",
17471747 .llvm_name = "arm1176jzf-s",
17481748 .features = featureSet(&[_]Feature{
......@@ -1751,133 +1751,133 @@ pub const cpu = struct {
17511751 .vfp2,
17521752 }),
17531753 };
1754 pub const arm710t = CpuModel{
1754 pub const arm710t: CpuModel = .{
17551755 .name = "arm710t",
17561756 .llvm_name = "arm710t",
17571757 .features = featureSet(&[_]Feature{
17581758 .v4t,
17591759 }),
17601760 };
1761 pub const arm720t = CpuModel{
1761 pub const arm720t: CpuModel = .{
17621762 .name = "arm720t",
17631763 .llvm_name = "arm720t",
17641764 .features = featureSet(&[_]Feature{
17651765 .v4t,
17661766 }),
17671767 };
1768 pub const arm7tdmi = CpuModel{
1768 pub const arm7tdmi: CpuModel = .{
17691769 .name = "arm7tdmi",
17701770 .llvm_name = "arm7tdmi",
17711771 .features = featureSet(&[_]Feature{
17721772 .v4t,
17731773 }),
17741774 };
1775 pub const arm7tdmi_s = CpuModel{
1775 pub const arm7tdmi_s: CpuModel = .{
17761776 .name = "arm7tdmi_s",
17771777 .llvm_name = "arm7tdmi-s",
17781778 .features = featureSet(&[_]Feature{
17791779 .v4t,
17801780 }),
17811781 };
1782 pub const arm8 = CpuModel{
1782 pub const arm8: CpuModel = .{
17831783 .name = "arm8",
17841784 .llvm_name = "arm8",
17851785 .features = featureSet(&[_]Feature{
17861786 .v4,
17871787 }),
17881788 };
1789 pub const arm810 = CpuModel{
1789 pub const arm810: CpuModel = .{
17901790 .name = "arm810",
17911791 .llvm_name = "arm810",
17921792 .features = featureSet(&[_]Feature{
17931793 .v4,
17941794 }),
17951795 };
1796 pub const arm9 = CpuModel{
1796 pub const arm9: CpuModel = .{
17971797 .name = "arm9",
17981798 .llvm_name = "arm9",
17991799 .features = featureSet(&[_]Feature{
18001800 .v4t,
18011801 }),
18021802 };
1803 pub const arm920 = CpuModel{
1803 pub const arm920: CpuModel = .{
18041804 .name = "arm920",
18051805 .llvm_name = "arm920",
18061806 .features = featureSet(&[_]Feature{
18071807 .v4t,
18081808 }),
18091809 };
1810 pub const arm920t = CpuModel{
1810 pub const arm920t: CpuModel = .{
18111811 .name = "arm920t",
18121812 .llvm_name = "arm920t",
18131813 .features = featureSet(&[_]Feature{
18141814 .v4t,
18151815 }),
18161816 };
1817 pub const arm922t = CpuModel{
1817 pub const arm922t: CpuModel = .{
18181818 .name = "arm922t",
18191819 .llvm_name = "arm922t",
18201820 .features = featureSet(&[_]Feature{
18211821 .v4t,
18221822 }),
18231823 };
1824 pub const arm926ej_s = CpuModel{
1824 pub const arm926ej_s: CpuModel = .{
18251825 .name = "arm926ej_s",
18261826 .llvm_name = "arm926ej-s",
18271827 .features = featureSet(&[_]Feature{
18281828 .v5te,
18291829 }),
18301830 };
1831 pub const arm940t = CpuModel{
1831 pub const arm940t: CpuModel = .{
18321832 .name = "arm940t",
18331833 .llvm_name = "arm940t",
18341834 .features = featureSet(&[_]Feature{
18351835 .v4t,
18361836 }),
18371837 };
1838 pub const arm946e_s = CpuModel{
1838 pub const arm946e_s: CpuModel = .{
18391839 .name = "arm946e_s",
18401840 .llvm_name = "arm946e-s",
18411841 .features = featureSet(&[_]Feature{
18421842 .v5te,
18431843 }),
18441844 };
1845 pub const arm966e_s = CpuModel{
1845 pub const arm966e_s: CpuModel = .{
18461846 .name = "arm966e_s",
18471847 .llvm_name = "arm966e-s",
18481848 .features = featureSet(&[_]Feature{
18491849 .v5te,
18501850 }),
18511851 };
1852 pub const arm968e_s = CpuModel{
1852 pub const arm968e_s: CpuModel = .{
18531853 .name = "arm968e_s",
18541854 .llvm_name = "arm968e-s",
18551855 .features = featureSet(&[_]Feature{
18561856 .v5te,
18571857 }),
18581858 };
1859 pub const arm9e = CpuModel{
1859 pub const arm9e: CpuModel = .{
18601860 .name = "arm9e",
18611861 .llvm_name = "arm9e",
18621862 .features = featureSet(&[_]Feature{
18631863 .v5te,
18641864 }),
18651865 };
1866 pub const arm9tdmi = CpuModel{
1866 pub const arm9tdmi: CpuModel = .{
18671867 .name = "arm9tdmi",
18681868 .llvm_name = "arm9tdmi",
18691869 .features = featureSet(&[_]Feature{
18701870 .v4t,
18711871 }),
18721872 };
1873 pub const baseline = CpuModel{
1873 pub const baseline: CpuModel = .{
18741874 .name = "baseline",
18751875 .llvm_name = "generic",
18761876 .features = featureSet(&[_]Feature{
18771877 .v7a,
18781878 }),
18791879 };
1880 pub const cortex_a12 = CpuModel{
1880 pub const cortex_a12: CpuModel = .{
18811881 .name = "cortex_a12",
18821882 .llvm_name = "cortex-a12",
18831883 .features = featureSet(&[_]Feature{
......@@ -1891,7 +1891,7 @@ pub const cpu = struct {
18911891 .vmlx_forwarding,
18921892 }),
18931893 };
1894 pub const cortex_a15 = CpuModel{
1894 pub const cortex_a15: CpuModel = .{
18951895 .name = "cortex_a15",
18961896 .llvm_name = "cortex-a15",
18971897 .features = featureSet(&[_]Feature{
......@@ -1907,7 +1907,7 @@ pub const cpu = struct {
19071907 .vldn_align,
19081908 }),
19091909 };
1910 pub const cortex_a17 = CpuModel{
1910 pub const cortex_a17: CpuModel = .{
19111911 .name = "cortex_a17",
19121912 .llvm_name = "cortex-a17",
19131913 .features = featureSet(&[_]Feature{
......@@ -1921,21 +1921,21 @@ pub const cpu = struct {
19211921 .vmlx_forwarding,
19221922 }),
19231923 };
1924 pub const cortex_a32 = CpuModel{
1924 pub const cortex_a32: CpuModel = .{
19251925 .name = "cortex_a32",
19261926 .llvm_name = "cortex-a32",
19271927 .features = featureSet(&[_]Feature{
19281928 .v8a,
19291929 }),
19301930 };
1931 pub const cortex_a35 = CpuModel{
1931 pub const cortex_a35: CpuModel = .{
19321932 .name = "cortex_a35",
19331933 .llvm_name = "cortex-a35",
19341934 .features = featureSet(&[_]Feature{
19351935 .v8a,
19361936 }),
19371937 };
1938 pub const cortex_a5 = CpuModel{
1938 pub const cortex_a5: CpuModel = .{
19391939 .name = "cortex_a5",
19401940 .llvm_name = "cortex-a5",
19411941 .features = featureSet(&[_]Feature{
......@@ -1950,7 +1950,7 @@ pub const cpu = struct {
19501950 .vmlx_forwarding,
19511951 }),
19521952 };
1953 pub const cortex_a53 = CpuModel{
1953 pub const cortex_a53: CpuModel = .{
19541954 .name = "cortex_a53",
19551955 .llvm_name = "cortex-a53",
19561956 .features = featureSet(&[_]Feature{
......@@ -1958,7 +1958,7 @@ pub const cpu = struct {
19581958 .v8a,
19591959 }),
19601960 };
1961 pub const cortex_a55 = CpuModel{
1961 pub const cortex_a55: CpuModel = .{
19621962 .name = "cortex_a55",
19631963 .llvm_name = "cortex-a55",
19641964 .features = featureSet(&[_]Feature{
......@@ -1966,7 +1966,7 @@ pub const cpu = struct {
19661966 .v8_2a,
19671967 }),
19681968 };
1969 pub const cortex_a57 = CpuModel{
1969 pub const cortex_a57: CpuModel = .{
19701970 .name = "cortex_a57",
19711971 .llvm_name = "cortex-a57",
19721972 .features = featureSet(&[_]Feature{
......@@ -1977,7 +1977,7 @@ pub const cpu = struct {
19771977 .v8a,
19781978 }),
19791979 };
1980 pub const cortex_a7 = CpuModel{
1980 pub const cortex_a7: CpuModel = .{
19811981 .name = "cortex_a7",
19821982 .llvm_name = "cortex-a7",
19831983 .features = featureSet(&[_]Feature{
......@@ -1994,7 +1994,7 @@ pub const cpu = struct {
19941994 .vmlx_hazards,
19951995 }),
19961996 };
1997 pub const cortex_a710 = CpuModel{
1997 pub const cortex_a710: CpuModel = .{
19981998 .name = "cortex_a710",
19991999 .llvm_name = "cortex-a710",
20002000 .features = featureSet(&[_]Feature{
......@@ -2004,7 +2004,7 @@ pub const cpu = struct {
20042004 .v9a,
20052005 }),
20062006 };
2007 pub const cortex_a72 = CpuModel{
2007 pub const cortex_a72: CpuModel = .{
20082008 .name = "cortex_a72",
20092009 .llvm_name = "cortex-a72",
20102010 .features = featureSet(&[_]Feature{
......@@ -2012,14 +2012,14 @@ pub const cpu = struct {
20122012 .v8a,
20132013 }),
20142014 };
2015 pub const cortex_a73 = CpuModel{
2015 pub const cortex_a73: CpuModel = .{
20162016 .name = "cortex_a73",
20172017 .llvm_name = "cortex-a73",
20182018 .features = featureSet(&[_]Feature{
20192019 .v8a,
20202020 }),
20212021 };
2022 pub const cortex_a75 = CpuModel{
2022 pub const cortex_a75: CpuModel = .{
20232023 .name = "cortex_a75",
20242024 .llvm_name = "cortex-a75",
20252025 .features = featureSet(&[_]Feature{
......@@ -2027,7 +2027,7 @@ pub const cpu = struct {
20272027 .v8_2a,
20282028 }),
20292029 };
2030 pub const cortex_a76 = CpuModel{
2030 pub const cortex_a76: CpuModel = .{
20312031 .name = "cortex_a76",
20322032 .llvm_name = "cortex-a76",
20332033 .features = featureSet(&[_]Feature{
......@@ -2036,7 +2036,7 @@ pub const cpu = struct {
20362036 .v8_2a,
20372037 }),
20382038 };
2039 pub const cortex_a76ae = CpuModel{
2039 pub const cortex_a76ae: CpuModel = .{
20402040 .name = "cortex_a76ae",
20412041 .llvm_name = "cortex-a76ae",
20422042 .features = featureSet(&[_]Feature{
......@@ -2045,7 +2045,7 @@ pub const cpu = struct {
20452045 .v8_2a,
20462046 }),
20472047 };
2048 pub const cortex_a77 = CpuModel{
2048 pub const cortex_a77: CpuModel = .{
20492049 .name = "cortex_a77",
20502050 .llvm_name = "cortex-a77",
20512051 .features = featureSet(&[_]Feature{
......@@ -2054,7 +2054,7 @@ pub const cpu = struct {
20542054 .v8_2a,
20552055 }),
20562056 };
2057 pub const cortex_a78 = CpuModel{
2057 pub const cortex_a78: CpuModel = .{
20582058 .name = "cortex_a78",
20592059 .llvm_name = "cortex-a78",
20602060 .features = featureSet(&[_]Feature{
......@@ -2063,7 +2063,7 @@ pub const cpu = struct {
20632063 .v8_2a,
20642064 }),
20652065 };
2066 pub const cortex_a78ae = CpuModel{
2066 pub const cortex_a78ae: CpuModel = .{
20672067 .name = "cortex_a78ae",
20682068 .llvm_name = "cortex-a78ae",
20692069 .features = featureSet(&[_]Feature{
......@@ -2072,7 +2072,7 @@ pub const cpu = struct {
20722072 .v8_2a,
20732073 }),
20742074 };
2075 pub const cortex_a78c = CpuModel{
2075 pub const cortex_a78c: CpuModel = .{
20762076 .name = "cortex_a78c",
20772077 .llvm_name = "cortex-a78c",
20782078 .features = featureSet(&[_]Feature{
......@@ -2081,7 +2081,7 @@ pub const cpu = struct {
20812081 .v8_2a,
20822082 }),
20832083 };
2084 pub const cortex_a8 = CpuModel{
2084 pub const cortex_a8: CpuModel = .{
20852085 .name = "cortex_a8",
20862086 .llvm_name = "cortex-a8",
20872087 .features = featureSet(&[_]Feature{
......@@ -2096,7 +2096,7 @@ pub const cpu = struct {
20962096 .vmlx_hazards,
20972097 }),
20982098 };
2099 pub const cortex_a9 = CpuModel{
2099 pub const cortex_a9: CpuModel = .{
21002100 .name = "cortex_a9",
21012101 .llvm_name = "cortex-a9",
21022102 .features = featureSet(&[_]Feature{
......@@ -2115,7 +2115,7 @@ pub const cpu = struct {
21152115 .vmlx_hazards,
21162116 }),
21172117 };
2118 pub const cortex_m0 = CpuModel{
2118 pub const cortex_m0: CpuModel = .{
21192119 .name = "cortex_m0",
21202120 .llvm_name = "cortex-m0",
21212121 .features = featureSet(&[_]Feature{
......@@ -2123,7 +2123,7 @@ pub const cpu = struct {
21232123 .v6m,
21242124 }),
21252125 };
2126 pub const cortex_m0plus = CpuModel{
2126 pub const cortex_m0plus: CpuModel = .{
21272127 .name = "cortex_m0plus",
21282128 .llvm_name = "cortex-m0plus",
21292129 .features = featureSet(&[_]Feature{
......@@ -2131,7 +2131,7 @@ pub const cpu = struct {
21312131 .v6m,
21322132 }),
21332133 };
2134 pub const cortex_m1 = CpuModel{
2134 pub const cortex_m1: CpuModel = .{
21352135 .name = "cortex_m1",
21362136 .llvm_name = "cortex-m1",
21372137 .features = featureSet(&[_]Feature{
......@@ -2139,7 +2139,7 @@ pub const cpu = struct {
21392139 .v6m,
21402140 }),
21412141 };
2142 pub const cortex_m23 = CpuModel{
2142 pub const cortex_m23: CpuModel = .{
21432143 .name = "cortex_m23",
21442144 .llvm_name = "cortex-m23",
21452145 .features = featureSet(&[_]Feature{
......@@ -2148,7 +2148,7 @@ pub const cpu = struct {
21482148 .v8m,
21492149 }),
21502150 };
2151 pub const cortex_m3 = CpuModel{
2151 pub const cortex_m3: CpuModel = .{
21522152 .name = "cortex_m3",
21532153 .llvm_name = "cortex-m3",
21542154 .features = featureSet(&[_]Feature{
......@@ -2158,7 +2158,7 @@ pub const cpu = struct {
21582158 .v7m,
21592159 }),
21602160 };
2161 pub const cortex_m33 = CpuModel{
2161 pub const cortex_m33: CpuModel = .{
21622162 .name = "cortex_m33",
21632163 .llvm_name = "cortex-m33",
21642164 .features = featureSet(&[_]Feature{
......@@ -2171,7 +2171,7 @@ pub const cpu = struct {
21712171 .v8m_main,
21722172 }),
21732173 };
2174 pub const cortex_m35p = CpuModel{
2174 pub const cortex_m35p: CpuModel = .{
21752175 .name = "cortex_m35p",
21762176 .llvm_name = "cortex-m35p",
21772177 .features = featureSet(&[_]Feature{
......@@ -2184,7 +2184,7 @@ pub const cpu = struct {
21842184 .v8m_main,
21852185 }),
21862186 };
2187 pub const cortex_m4 = CpuModel{
2187 pub const cortex_m4: CpuModel = .{
21882188 .name = "cortex_m4",
21892189 .llvm_name = "cortex-m4",
21902190 .features = featureSet(&[_]Feature{
......@@ -2196,7 +2196,7 @@ pub const cpu = struct {
21962196 .v7em,
21972197 }),
21982198 };
2199 pub const cortex_m52 = CpuModel{
2199 pub const cortex_m52: CpuModel = .{
22002200 .name = "cortex_m52",
22012201 .llvm_name = "cortex-m52",
22022202 .features = featureSet(&[_]Feature{
......@@ -2211,7 +2211,7 @@ pub const cpu = struct {
22112211 .v8_1m_main,
22122212 }),
22132213 };
2214 pub const cortex_m55 = CpuModel{
2214 pub const cortex_m55: CpuModel = .{
22152215 .name = "cortex_m55",
22162216 .llvm_name = "cortex-m55",
22172217 .features = featureSet(&[_]Feature{
......@@ -2224,7 +2224,7 @@ pub const cpu = struct {
22242224 .v8_1m_main,
22252225 }),
22262226 };
2227 pub const cortex_m7 = CpuModel{
2227 pub const cortex_m7: CpuModel = .{
22282228 .name = "cortex_m7",
22292229 .llvm_name = "cortex-m7",
22302230 .features = featureSet(&[_]Feature{
......@@ -2233,7 +2233,7 @@ pub const cpu = struct {
22332233 .v7em,
22342234 }),
22352235 };
2236 pub const cortex_m85 = CpuModel{
2236 pub const cortex_m85: CpuModel = .{
22372237 .name = "cortex_m85",
22382238 .llvm_name = "cortex-m85",
22392239 .features = featureSet(&[_]Feature{
......@@ -2242,7 +2242,7 @@ pub const cpu = struct {
22422242 .v8_1m_main,
22432243 }),
22442244 };
2245 pub const cortex_r4 = CpuModel{
2245 pub const cortex_r4: CpuModel = .{
22462246 .name = "cortex_r4",
22472247 .llvm_name = "cortex-r4",
22482248 .features = featureSet(&[_]Feature{
......@@ -2251,7 +2251,7 @@ pub const cpu = struct {
22512251 .v7r,
22522252 }),
22532253 };
2254 pub const cortex_r4f = CpuModel{
2254 pub const cortex_r4f: CpuModel = .{
22552255 .name = "cortex_r4f",
22562256 .llvm_name = "cortex-r4f",
22572257 .features = featureSet(&[_]Feature{
......@@ -2264,7 +2264,7 @@ pub const cpu = struct {
22642264 .vfp3d16,
22652265 }),
22662266 };
2267 pub const cortex_r5 = CpuModel{
2267 pub const cortex_r5: CpuModel = .{
22682268 .name = "cortex_r5",
22692269 .llvm_name = "cortex-r5",
22702270 .features = featureSet(&[_]Feature{
......@@ -2278,7 +2278,7 @@ pub const cpu = struct {
22782278 .vfp3d16,
22792279 }),
22802280 };
2281 pub const cortex_r52 = CpuModel{
2281 pub const cortex_r52: CpuModel = .{
22822282 .name = "cortex_r52",
22832283 .llvm_name = "cortex-r52",
22842284 .features = featureSet(&[_]Feature{
......@@ -2289,7 +2289,7 @@ pub const cpu = struct {
22892289 .v8r,
22902290 }),
22912291 };
2292 pub const cortex_r52plus = CpuModel{
2292 pub const cortex_r52plus: CpuModel = .{
22932293 .name = "cortex_r52plus",
22942294 .llvm_name = "cortex-r52plus",
22952295 .features = featureSet(&[_]Feature{
......@@ -2300,7 +2300,7 @@ pub const cpu = struct {
23002300 .v8r,
23012301 }),
23022302 };
2303 pub const cortex_r7 = CpuModel{
2303 pub const cortex_r7: CpuModel = .{
23042304 .name = "cortex_r7",
23052305 .llvm_name = "cortex-r7",
23062306 .features = featureSet(&[_]Feature{
......@@ -2316,7 +2316,7 @@ pub const cpu = struct {
23162316 .vfp3d16,
23172317 }),
23182318 };
2319 pub const cortex_r8 = CpuModel{
2319 pub const cortex_r8: CpuModel = .{
23202320 .name = "cortex_r8",
23212321 .llvm_name = "cortex-r8",
23222322 .features = featureSet(&[_]Feature{
......@@ -2332,7 +2332,7 @@ pub const cpu = struct {
23322332 .vfp3d16,
23332333 }),
23342334 };
2335 pub const cortex_x1 = CpuModel{
2335 pub const cortex_x1: CpuModel = .{
23362336 .name = "cortex_x1",
23372337 .llvm_name = "cortex-x1",
23382338 .features = featureSet(&[_]Feature{
......@@ -2341,7 +2341,7 @@ pub const cpu = struct {
23412341 .v8_2a,
23422342 }),
23432343 };
2344 pub const cortex_x1c = CpuModel{
2344 pub const cortex_x1c: CpuModel = .{
23452345 .name = "cortex_x1c",
23462346 .llvm_name = "cortex-x1c",
23472347 .features = featureSet(&[_]Feature{
......@@ -2350,7 +2350,7 @@ pub const cpu = struct {
23502350 .v8_2a,
23512351 }),
23522352 };
2353 pub const cyclone = CpuModel{
2353 pub const cyclone: CpuModel = .{
23542354 .name = "cyclone",
23552355 .llvm_name = "cyclone",
23562356 .features = featureSet(&[_]Feature{
......@@ -2366,14 +2366,14 @@ pub const cpu = struct {
23662366 .zcz,
23672367 }),
23682368 };
2369 pub const ep9312 = CpuModel{
2369 pub const ep9312: CpuModel = .{
23702370 .name = "ep9312",
23712371 .llvm_name = "ep9312",
23722372 .features = featureSet(&[_]Feature{
23732373 .v4t,
23742374 }),
23752375 };
2376 pub const exynos_m1 = CpuModel{
2376 pub const exynos_m1: CpuModel = .{
23772377 .name = "exynos_m1",
23782378 .llvm_name = null,
23792379 .features = featureSet(&[_]Feature{
......@@ -2393,7 +2393,7 @@ pub const cpu = struct {
23932393 .zcz,
23942394 }),
23952395 };
2396 pub const exynos_m2 = CpuModel{
2396 pub const exynos_m2: CpuModel = .{
23972397 .name = "exynos_m2",
23982398 .llvm_name = null,
23992399 .features = featureSet(&[_]Feature{
......@@ -2413,7 +2413,7 @@ pub const cpu = struct {
24132413 .zcz,
24142414 }),
24152415 };
2416 pub const exynos_m3 = CpuModel{
2416 pub const exynos_m3: CpuModel = .{
24172417 .name = "exynos_m3",
24182418 .llvm_name = "exynos-m3",
24192419 .features = featureSet(&[_]Feature{
......@@ -2433,7 +2433,7 @@ pub const cpu = struct {
24332433 .zcz,
24342434 }),
24352435 };
2436 pub const exynos_m4 = CpuModel{
2436 pub const exynos_m4: CpuModel = .{
24372437 .name = "exynos_m4",
24382438 .llvm_name = "exynos-m4",
24392439 .features = featureSet(&[_]Feature{
......@@ -2455,7 +2455,7 @@ pub const cpu = struct {
24552455 .zcz,
24562456 }),
24572457 };
2458 pub const exynos_m5 = CpuModel{
2458 pub const exynos_m5: CpuModel = .{
24592459 .name = "exynos_m5",
24602460 .llvm_name = "exynos-m5",
24612461 .features = featureSet(&[_]Feature{
......@@ -2477,19 +2477,19 @@ pub const cpu = struct {
24772477 .zcz,
24782478 }),
24792479 };
2480 pub const generic = CpuModel{
2480 pub const generic: CpuModel = .{
24812481 .name = "generic",
24822482 .llvm_name = "generic",
24832483 .features = featureSet(&[_]Feature{}),
24842484 };
2485 pub const iwmmxt = CpuModel{
2485 pub const iwmmxt: CpuModel = .{
24862486 .name = "iwmmxt",
24872487 .llvm_name = "iwmmxt",
24882488 .features = featureSet(&[_]Feature{
24892489 .v5te,
24902490 }),
24912491 };
2492 pub const krait = CpuModel{
2492 pub const krait: CpuModel = .{
24932493 .name = "krait",
24942494 .llvm_name = "krait",
24952495 .features = featureSet(&[_]Feature{
......@@ -2504,14 +2504,14 @@ pub const cpu = struct {
25042504 .vmlx_forwarding,
25052505 }),
25062506 };
2507 pub const kryo = CpuModel{
2507 pub const kryo: CpuModel = .{
25082508 .name = "kryo",
25092509 .llvm_name = "kryo",
25102510 .features = featureSet(&[_]Feature{
25112511 .v8a,
25122512 }),
25132513 };
2514 pub const mpcore = CpuModel{
2514 pub const mpcore: CpuModel = .{
25152515 .name = "mpcore",
25162516 .llvm_name = "mpcore",
25172517 .features = featureSet(&[_]Feature{
......@@ -2520,14 +2520,14 @@ pub const cpu = struct {
25202520 .vfp2,
25212521 }),
25222522 };
2523 pub const mpcorenovfp = CpuModel{
2523 pub const mpcorenovfp: CpuModel = .{
25242524 .name = "mpcorenovfp",
25252525 .llvm_name = "mpcorenovfp",
25262526 .features = featureSet(&[_]Feature{
25272527 .v6k,
25282528 }),
25292529 };
2530 pub const neoverse_n1 = CpuModel{
2530 pub const neoverse_n1: CpuModel = .{
25312531 .name = "neoverse_n1",
25322532 .llvm_name = "neoverse-n1",
25332533 .features = featureSet(&[_]Feature{
......@@ -2535,7 +2535,7 @@ pub const cpu = struct {
25352535 .v8_2a,
25362536 }),
25372537 };
2538 pub const neoverse_n2 = CpuModel{
2538 pub const neoverse_n2: CpuModel = .{
25392539 .name = "neoverse_n2",
25402540 .llvm_name = "neoverse-n2",
25412541 .features = featureSet(&[_]Feature{
......@@ -2545,7 +2545,7 @@ pub const cpu = struct {
25452545 .v9a,
25462546 }),
25472547 };
2548 pub const neoverse_v1 = CpuModel{
2548 pub const neoverse_v1: CpuModel = .{
25492549 .name = "neoverse_v1",
25502550 .llvm_name = "neoverse-v1",
25512551 .features = featureSet(&[_]Feature{
......@@ -2555,7 +2555,7 @@ pub const cpu = struct {
25552555 .v8_4a,
25562556 }),
25572557 };
2558 pub const sc000 = CpuModel{
2558 pub const sc000: CpuModel = .{
25592559 .name = "sc000",
25602560 .llvm_name = "sc000",
25612561 .features = featureSet(&[_]Feature{
......@@ -2563,7 +2563,7 @@ pub const cpu = struct {
25632563 .v6m,
25642564 }),
25652565 };
2566 pub const sc300 = CpuModel{
2566 pub const sc300: CpuModel = .{
25672567 .name = "sc300",
25682568 .llvm_name = "sc300",
25692569 .features = featureSet(&[_]Feature{
......@@ -2572,35 +2572,35 @@ pub const cpu = struct {
25722572 .v7m,
25732573 }),
25742574 };
2575 pub const strongarm = CpuModel{
2575 pub const strongarm: CpuModel = .{
25762576 .name = "strongarm",
25772577 .llvm_name = "strongarm",
25782578 .features = featureSet(&[_]Feature{
25792579 .v4,
25802580 }),
25812581 };
2582 pub const strongarm110 = CpuModel{
2582 pub const strongarm110: CpuModel = .{
25832583 .name = "strongarm110",
25842584 .llvm_name = "strongarm110",
25852585 .features = featureSet(&[_]Feature{
25862586 .v4,
25872587 }),
25882588 };
2589 pub const strongarm1100 = CpuModel{
2589 pub const strongarm1100: CpuModel = .{
25902590 .name = "strongarm1100",
25912591 .llvm_name = "strongarm1100",
25922592 .features = featureSet(&[_]Feature{
25932593 .v4,
25942594 }),
25952595 };
2596 pub const strongarm1110 = CpuModel{
2596 pub const strongarm1110: CpuModel = .{
25972597 .name = "strongarm1110",
25982598 .llvm_name = "strongarm1110",
25992599 .features = featureSet(&[_]Feature{
26002600 .v4,
26012601 }),
26022602 };
2603 pub const swift = CpuModel{
2603 pub const swift: CpuModel = .{
26042604 .name = "swift",
26052605 .llvm_name = "swift",
26062606 .features = featureSet(&[_]Feature{
......@@ -2627,7 +2627,7 @@ pub const cpu = struct {
26272627 .wide_stride_vfp,
26282628 }),
26292629 };
2630 pub const xscale = CpuModel{
2630 pub const xscale: CpuModel = .{
26312631 .name = "xscale",
26322632 .llvm_name = "xscale",
26332633 .features = featureSet(&[_]Feature{
lib/std/Target/avr.zig+315-315
......@@ -346,28 +346,28 @@ pub const all_features = blk: {
346346};
347347
348348pub const cpu = struct {
349 pub const at43usb320 = CpuModel{
349 pub const at43usb320: CpuModel = .{
350350 .name = "at43usb320",
351351 .llvm_name = "at43usb320",
352352 .features = featureSet(&[_]Feature{
353353 .avr31,
354354 }),
355355 };
356 pub const at43usb355 = CpuModel{
356 pub const at43usb355: CpuModel = .{
357357 .name = "at43usb355",
358358 .llvm_name = "at43usb355",
359359 .features = featureSet(&[_]Feature{
360360 .avr3,
361361 }),
362362 };
363 pub const at76c711 = CpuModel{
363 pub const at76c711: CpuModel = .{
364364 .name = "at76c711",
365365 .llvm_name = "at76c711",
366366 .features = featureSet(&[_]Feature{
367367 .avr3,
368368 }),
369369 };
370 pub const at86rf401 = CpuModel{
370 pub const at86rf401: CpuModel = .{
371371 .name = "at86rf401",
372372 .llvm_name = "at86rf401",
373373 .features = featureSet(&[_]Feature{
......@@ -376,98 +376,98 @@ pub const cpu = struct {
376376 .movw,
377377 }),
378378 };
379 pub const at90c8534 = CpuModel{
379 pub const at90c8534: CpuModel = .{
380380 .name = "at90c8534",
381381 .llvm_name = "at90c8534",
382382 .features = featureSet(&[_]Feature{
383383 .avr2,
384384 }),
385385 };
386 pub const at90can128 = CpuModel{
386 pub const at90can128: CpuModel = .{
387387 .name = "at90can128",
388388 .llvm_name = "at90can128",
389389 .features = featureSet(&[_]Feature{
390390 .avr51,
391391 }),
392392 };
393 pub const at90can32 = CpuModel{
393 pub const at90can32: CpuModel = .{
394394 .name = "at90can32",
395395 .llvm_name = "at90can32",
396396 .features = featureSet(&[_]Feature{
397397 .avr5,
398398 }),
399399 };
400 pub const at90can64 = CpuModel{
400 pub const at90can64: CpuModel = .{
401401 .name = "at90can64",
402402 .llvm_name = "at90can64",
403403 .features = featureSet(&[_]Feature{
404404 .avr5,
405405 }),
406406 };
407 pub const at90pwm1 = CpuModel{
407 pub const at90pwm1: CpuModel = .{
408408 .name = "at90pwm1",
409409 .llvm_name = "at90pwm1",
410410 .features = featureSet(&[_]Feature{
411411 .avr4,
412412 }),
413413 };
414 pub const at90pwm161 = CpuModel{
414 pub const at90pwm161: CpuModel = .{
415415 .name = "at90pwm161",
416416 .llvm_name = "at90pwm161",
417417 .features = featureSet(&[_]Feature{
418418 .avr5,
419419 }),
420420 };
421 pub const at90pwm2 = CpuModel{
421 pub const at90pwm2: CpuModel = .{
422422 .name = "at90pwm2",
423423 .llvm_name = "at90pwm2",
424424 .features = featureSet(&[_]Feature{
425425 .avr4,
426426 }),
427427 };
428 pub const at90pwm216 = CpuModel{
428 pub const at90pwm216: CpuModel = .{
429429 .name = "at90pwm216",
430430 .llvm_name = "at90pwm216",
431431 .features = featureSet(&[_]Feature{
432432 .avr5,
433433 }),
434434 };
435 pub const at90pwm2b = CpuModel{
435 pub const at90pwm2b: CpuModel = .{
436436 .name = "at90pwm2b",
437437 .llvm_name = "at90pwm2b",
438438 .features = featureSet(&[_]Feature{
439439 .avr4,
440440 }),
441441 };
442 pub const at90pwm3 = CpuModel{
442 pub const at90pwm3: CpuModel = .{
443443 .name = "at90pwm3",
444444 .llvm_name = "at90pwm3",
445445 .features = featureSet(&[_]Feature{
446446 .avr4,
447447 }),
448448 };
449 pub const at90pwm316 = CpuModel{
449 pub const at90pwm316: CpuModel = .{
450450 .name = "at90pwm316",
451451 .llvm_name = "at90pwm316",
452452 .features = featureSet(&[_]Feature{
453453 .avr5,
454454 }),
455455 };
456 pub const at90pwm3b = CpuModel{
456 pub const at90pwm3b: CpuModel = .{
457457 .name = "at90pwm3b",
458458 .llvm_name = "at90pwm3b",
459459 .features = featureSet(&[_]Feature{
460460 .avr4,
461461 }),
462462 };
463 pub const at90pwm81 = CpuModel{
463 pub const at90pwm81: CpuModel = .{
464464 .name = "at90pwm81",
465465 .llvm_name = "at90pwm81",
466466 .features = featureSet(&[_]Feature{
467467 .avr4,
468468 }),
469469 };
470 pub const at90s1200 = CpuModel{
470 pub const at90s1200: CpuModel = .{
471471 .name = "at90s1200",
472472 .llvm_name = "at90s1200",
473473 .features = featureSet(&[_]Feature{
......@@ -475,7 +475,7 @@ pub const cpu = struct {
475475 .smallstack,
476476 }),
477477 };
478 pub const at90s2313 = CpuModel{
478 pub const at90s2313: CpuModel = .{
479479 .name = "at90s2313",
480480 .llvm_name = "at90s2313",
481481 .features = featureSet(&[_]Feature{
......@@ -483,7 +483,7 @@ pub const cpu = struct {
483483 .smallstack,
484484 }),
485485 };
486 pub const at90s2323 = CpuModel{
486 pub const at90s2323: CpuModel = .{
487487 .name = "at90s2323",
488488 .llvm_name = "at90s2323",
489489 .features = featureSet(&[_]Feature{
......@@ -491,7 +491,7 @@ pub const cpu = struct {
491491 .smallstack,
492492 }),
493493 };
494 pub const at90s2333 = CpuModel{
494 pub const at90s2333: CpuModel = .{
495495 .name = "at90s2333",
496496 .llvm_name = "at90s2333",
497497 .features = featureSet(&[_]Feature{
......@@ -499,7 +499,7 @@ pub const cpu = struct {
499499 .smallstack,
500500 }),
501501 };
502 pub const at90s2343 = CpuModel{
502 pub const at90s2343: CpuModel = .{
503503 .name = "at90s2343",
504504 .llvm_name = "at90s2343",
505505 .features = featureSet(&[_]Feature{
......@@ -507,7 +507,7 @@ pub const cpu = struct {
507507 .smallstack,
508508 }),
509509 };
510 pub const at90s4414 = CpuModel{
510 pub const at90s4414: CpuModel = .{
511511 .name = "at90s4414",
512512 .llvm_name = "at90s4414",
513513 .features = featureSet(&[_]Feature{
......@@ -515,7 +515,7 @@ pub const cpu = struct {
515515 .smallstack,
516516 }),
517517 };
518 pub const at90s4433 = CpuModel{
518 pub const at90s4433: CpuModel = .{
519519 .name = "at90s4433",
520520 .llvm_name = "at90s4433",
521521 .features = featureSet(&[_]Feature{
......@@ -523,7 +523,7 @@ pub const cpu = struct {
523523 .smallstack,
524524 }),
525525 };
526 pub const at90s4434 = CpuModel{
526 pub const at90s4434: CpuModel = .{
527527 .name = "at90s4434",
528528 .llvm_name = "at90s4434",
529529 .features = featureSet(&[_]Feature{
......@@ -531,70 +531,70 @@ pub const cpu = struct {
531531 .smallstack,
532532 }),
533533 };
534 pub const at90s8515 = CpuModel{
534 pub const at90s8515: CpuModel = .{
535535 .name = "at90s8515",
536536 .llvm_name = "at90s8515",
537537 .features = featureSet(&[_]Feature{
538538 .avr2,
539539 }),
540540 };
541 pub const at90s8535 = CpuModel{
541 pub const at90s8535: CpuModel = .{
542542 .name = "at90s8535",
543543 .llvm_name = "at90s8535",
544544 .features = featureSet(&[_]Feature{
545545 .avr2,
546546 }),
547547 };
548 pub const at90scr100 = CpuModel{
548 pub const at90scr100: CpuModel = .{
549549 .name = "at90scr100",
550550 .llvm_name = "at90scr100",
551551 .features = featureSet(&[_]Feature{
552552 .avr5,
553553 }),
554554 };
555 pub const at90usb1286 = CpuModel{
555 pub const at90usb1286: CpuModel = .{
556556 .name = "at90usb1286",
557557 .llvm_name = "at90usb1286",
558558 .features = featureSet(&[_]Feature{
559559 .avr51,
560560 }),
561561 };
562 pub const at90usb1287 = CpuModel{
562 pub const at90usb1287: CpuModel = .{
563563 .name = "at90usb1287",
564564 .llvm_name = "at90usb1287",
565565 .features = featureSet(&[_]Feature{
566566 .avr51,
567567 }),
568568 };
569 pub const at90usb162 = CpuModel{
569 pub const at90usb162: CpuModel = .{
570570 .name = "at90usb162",
571571 .llvm_name = "at90usb162",
572572 .features = featureSet(&[_]Feature{
573573 .avr35,
574574 }),
575575 };
576 pub const at90usb646 = CpuModel{
576 pub const at90usb646: CpuModel = .{
577577 .name = "at90usb646",
578578 .llvm_name = "at90usb646",
579579 .features = featureSet(&[_]Feature{
580580 .avr5,
581581 }),
582582 };
583 pub const at90usb647 = CpuModel{
583 pub const at90usb647: CpuModel = .{
584584 .name = "at90usb647",
585585 .llvm_name = "at90usb647",
586586 .features = featureSet(&[_]Feature{
587587 .avr5,
588588 }),
589589 };
590 pub const at90usb82 = CpuModel{
590 pub const at90usb82: CpuModel = .{
591591 .name = "at90usb82",
592592 .llvm_name = "at90usb82",
593593 .features = featureSet(&[_]Feature{
594594 .avr35,
595595 }),
596596 };
597 pub const at94k = CpuModel{
597 pub const at94k: CpuModel = .{
598598 .name = "at94k",
599599 .llvm_name = "at94k",
600600 .features = featureSet(&[_]Feature{
......@@ -604,238 +604,238 @@ pub const cpu = struct {
604604 .mul,
605605 }),
606606 };
607 pub const ata5272 = CpuModel{
607 pub const ata5272: CpuModel = .{
608608 .name = "ata5272",
609609 .llvm_name = "ata5272",
610610 .features = featureSet(&[_]Feature{
611611 .avr25,
612612 }),
613613 };
614 pub const ata5505 = CpuModel{
614 pub const ata5505: CpuModel = .{
615615 .name = "ata5505",
616616 .llvm_name = "ata5505",
617617 .features = featureSet(&[_]Feature{
618618 .avr35,
619619 }),
620620 };
621 pub const ata5702m322 = CpuModel{
621 pub const ata5702m322: CpuModel = .{
622622 .name = "ata5702m322",
623623 .llvm_name = "ata5702m322",
624624 .features = featureSet(&[_]Feature{
625625 .avr5,
626626 }),
627627 };
628 pub const ata5782 = CpuModel{
628 pub const ata5782: CpuModel = .{
629629 .name = "ata5782",
630630 .llvm_name = "ata5782",
631631 .features = featureSet(&[_]Feature{
632632 .avr5,
633633 }),
634634 };
635 pub const ata5790 = CpuModel{
635 pub const ata5790: CpuModel = .{
636636 .name = "ata5790",
637637 .llvm_name = "ata5790",
638638 .features = featureSet(&[_]Feature{
639639 .avr5,
640640 }),
641641 };
642 pub const ata5790n = CpuModel{
642 pub const ata5790n: CpuModel = .{
643643 .name = "ata5790n",
644644 .llvm_name = "ata5790n",
645645 .features = featureSet(&[_]Feature{
646646 .avr5,
647647 }),
648648 };
649 pub const ata5791 = CpuModel{
649 pub const ata5791: CpuModel = .{
650650 .name = "ata5791",
651651 .llvm_name = "ata5791",
652652 .features = featureSet(&[_]Feature{
653653 .avr5,
654654 }),
655655 };
656 pub const ata5795 = CpuModel{
656 pub const ata5795: CpuModel = .{
657657 .name = "ata5795",
658658 .llvm_name = "ata5795",
659659 .features = featureSet(&[_]Feature{
660660 .avr5,
661661 }),
662662 };
663 pub const ata5831 = CpuModel{
663 pub const ata5831: CpuModel = .{
664664 .name = "ata5831",
665665 .llvm_name = "ata5831",
666666 .features = featureSet(&[_]Feature{
667667 .avr5,
668668 }),
669669 };
670 pub const ata6285 = CpuModel{
670 pub const ata6285: CpuModel = .{
671671 .name = "ata6285",
672672 .llvm_name = "ata6285",
673673 .features = featureSet(&[_]Feature{
674674 .avr4,
675675 }),
676676 };
677 pub const ata6286 = CpuModel{
677 pub const ata6286: CpuModel = .{
678678 .name = "ata6286",
679679 .llvm_name = "ata6286",
680680 .features = featureSet(&[_]Feature{
681681 .avr4,
682682 }),
683683 };
684 pub const ata6289 = CpuModel{
684 pub const ata6289: CpuModel = .{
685685 .name = "ata6289",
686686 .llvm_name = "ata6289",
687687 .features = featureSet(&[_]Feature{
688688 .avr4,
689689 }),
690690 };
691 pub const ata6612c = CpuModel{
691 pub const ata6612c: CpuModel = .{
692692 .name = "ata6612c",
693693 .llvm_name = "ata6612c",
694694 .features = featureSet(&[_]Feature{
695695 .avr4,
696696 }),
697697 };
698 pub const ata6613c = CpuModel{
698 pub const ata6613c: CpuModel = .{
699699 .name = "ata6613c",
700700 .llvm_name = "ata6613c",
701701 .features = featureSet(&[_]Feature{
702702 .avr5,
703703 }),
704704 };
705 pub const ata6614q = CpuModel{
705 pub const ata6614q: CpuModel = .{
706706 .name = "ata6614q",
707707 .llvm_name = "ata6614q",
708708 .features = featureSet(&[_]Feature{
709709 .avr5,
710710 }),
711711 };
712 pub const ata6616c = CpuModel{
712 pub const ata6616c: CpuModel = .{
713713 .name = "ata6616c",
714714 .llvm_name = "ata6616c",
715715 .features = featureSet(&[_]Feature{
716716 .avr25,
717717 }),
718718 };
719 pub const ata6617c = CpuModel{
719 pub const ata6617c: CpuModel = .{
720720 .name = "ata6617c",
721721 .llvm_name = "ata6617c",
722722 .features = featureSet(&[_]Feature{
723723 .avr35,
724724 }),
725725 };
726 pub const ata664251 = CpuModel{
726 pub const ata664251: CpuModel = .{
727727 .name = "ata664251",
728728 .llvm_name = "ata664251",
729729 .features = featureSet(&[_]Feature{
730730 .avr35,
731731 }),
732732 };
733 pub const ata8210 = CpuModel{
733 pub const ata8210: CpuModel = .{
734734 .name = "ata8210",
735735 .llvm_name = "ata8210",
736736 .features = featureSet(&[_]Feature{
737737 .avr5,
738738 }),
739739 };
740 pub const ata8510 = CpuModel{
740 pub const ata8510: CpuModel = .{
741741 .name = "ata8510",
742742 .llvm_name = "ata8510",
743743 .features = featureSet(&[_]Feature{
744744 .avr5,
745745 }),
746746 };
747 pub const atmega103 = CpuModel{
747 pub const atmega103: CpuModel = .{
748748 .name = "atmega103",
749749 .llvm_name = "atmega103",
750750 .features = featureSet(&[_]Feature{
751751 .avr31,
752752 }),
753753 };
754 pub const atmega128 = CpuModel{
754 pub const atmega128: CpuModel = .{
755755 .name = "atmega128",
756756 .llvm_name = "atmega128",
757757 .features = featureSet(&[_]Feature{
758758 .avr51,
759759 }),
760760 };
761 pub const atmega1280 = CpuModel{
761 pub const atmega1280: CpuModel = .{
762762 .name = "atmega1280",
763763 .llvm_name = "atmega1280",
764764 .features = featureSet(&[_]Feature{
765765 .avr51,
766766 }),
767767 };
768 pub const atmega1281 = CpuModel{
768 pub const atmega1281: CpuModel = .{
769769 .name = "atmega1281",
770770 .llvm_name = "atmega1281",
771771 .features = featureSet(&[_]Feature{
772772 .avr51,
773773 }),
774774 };
775 pub const atmega1284 = CpuModel{
775 pub const atmega1284: CpuModel = .{
776776 .name = "atmega1284",
777777 .llvm_name = "atmega1284",
778778 .features = featureSet(&[_]Feature{
779779 .avr51,
780780 }),
781781 };
782 pub const atmega1284p = CpuModel{
782 pub const atmega1284p: CpuModel = .{
783783 .name = "atmega1284p",
784784 .llvm_name = "atmega1284p",
785785 .features = featureSet(&[_]Feature{
786786 .avr51,
787787 }),
788788 };
789 pub const atmega1284rfr2 = CpuModel{
789 pub const atmega1284rfr2: CpuModel = .{
790790 .name = "atmega1284rfr2",
791791 .llvm_name = "atmega1284rfr2",
792792 .features = featureSet(&[_]Feature{
793793 .avr51,
794794 }),
795795 };
796 pub const atmega128a = CpuModel{
796 pub const atmega128a: CpuModel = .{
797797 .name = "atmega128a",
798798 .llvm_name = "atmega128a",
799799 .features = featureSet(&[_]Feature{
800800 .avr51,
801801 }),
802802 };
803 pub const atmega128rfa1 = CpuModel{
803 pub const atmega128rfa1: CpuModel = .{
804804 .name = "atmega128rfa1",
805805 .llvm_name = "atmega128rfa1",
806806 .features = featureSet(&[_]Feature{
807807 .avr51,
808808 }),
809809 };
810 pub const atmega128rfr2 = CpuModel{
810 pub const atmega128rfr2: CpuModel = .{
811811 .name = "atmega128rfr2",
812812 .llvm_name = "atmega128rfr2",
813813 .features = featureSet(&[_]Feature{
814814 .avr51,
815815 }),
816816 };
817 pub const atmega16 = CpuModel{
817 pub const atmega16: CpuModel = .{
818818 .name = "atmega16",
819819 .llvm_name = "atmega16",
820820 .features = featureSet(&[_]Feature{
821821 .avr5,
822822 }),
823823 };
824 pub const atmega1608 = CpuModel{
824 pub const atmega1608: CpuModel = .{
825825 .name = "atmega1608",
826826 .llvm_name = "atmega1608",
827827 .features = featureSet(&[_]Feature{
828828 .xmega3,
829829 }),
830830 };
831 pub const atmega1609 = CpuModel{
831 pub const atmega1609: CpuModel = .{
832832 .name = "atmega1609",
833833 .llvm_name = "atmega1609",
834834 .features = featureSet(&[_]Feature{
835835 .xmega3,
836836 }),
837837 };
838 pub const atmega161 = CpuModel{
838 pub const atmega161: CpuModel = .{
839839 .name = "atmega161",
840840 .llvm_name = "atmega161",
841841 .features = featureSet(&[_]Feature{
......@@ -846,14 +846,14 @@ pub const cpu = struct {
846846 .spm,
847847 }),
848848 };
849 pub const atmega162 = CpuModel{
849 pub const atmega162: CpuModel = .{
850850 .name = "atmega162",
851851 .llvm_name = "atmega162",
852852 .features = featureSet(&[_]Feature{
853853 .avr5,
854854 }),
855855 };
856 pub const atmega163 = CpuModel{
856 pub const atmega163: CpuModel = .{
857857 .name = "atmega163",
858858 .llvm_name = "atmega163",
859859 .features = featureSet(&[_]Feature{
......@@ -864,679 +864,679 @@ pub const cpu = struct {
864864 .spm,
865865 }),
866866 };
867 pub const atmega164a = CpuModel{
867 pub const atmega164a: CpuModel = .{
868868 .name = "atmega164a",
869869 .llvm_name = "atmega164a",
870870 .features = featureSet(&[_]Feature{
871871 .avr5,
872872 }),
873873 };
874 pub const atmega164p = CpuModel{
874 pub const atmega164p: CpuModel = .{
875875 .name = "atmega164p",
876876 .llvm_name = "atmega164p",
877877 .features = featureSet(&[_]Feature{
878878 .avr5,
879879 }),
880880 };
881 pub const atmega164pa = CpuModel{
881 pub const atmega164pa: CpuModel = .{
882882 .name = "atmega164pa",
883883 .llvm_name = "atmega164pa",
884884 .features = featureSet(&[_]Feature{
885885 .avr5,
886886 }),
887887 };
888 pub const atmega165 = CpuModel{
888 pub const atmega165: CpuModel = .{
889889 .name = "atmega165",
890890 .llvm_name = "atmega165",
891891 .features = featureSet(&[_]Feature{
892892 .avr5,
893893 }),
894894 };
895 pub const atmega165a = CpuModel{
895 pub const atmega165a: CpuModel = .{
896896 .name = "atmega165a",
897897 .llvm_name = "atmega165a",
898898 .features = featureSet(&[_]Feature{
899899 .avr5,
900900 }),
901901 };
902 pub const atmega165p = CpuModel{
902 pub const atmega165p: CpuModel = .{
903903 .name = "atmega165p",
904904 .llvm_name = "atmega165p",
905905 .features = featureSet(&[_]Feature{
906906 .avr5,
907907 }),
908908 };
909 pub const atmega165pa = CpuModel{
909 pub const atmega165pa: CpuModel = .{
910910 .name = "atmega165pa",
911911 .llvm_name = "atmega165pa",
912912 .features = featureSet(&[_]Feature{
913913 .avr5,
914914 }),
915915 };
916 pub const atmega168 = CpuModel{
916 pub const atmega168: CpuModel = .{
917917 .name = "atmega168",
918918 .llvm_name = "atmega168",
919919 .features = featureSet(&[_]Feature{
920920 .avr5,
921921 }),
922922 };
923 pub const atmega168a = CpuModel{
923 pub const atmega168a: CpuModel = .{
924924 .name = "atmega168a",
925925 .llvm_name = "atmega168a",
926926 .features = featureSet(&[_]Feature{
927927 .avr5,
928928 }),
929929 };
930 pub const atmega168p = CpuModel{
930 pub const atmega168p: CpuModel = .{
931931 .name = "atmega168p",
932932 .llvm_name = "atmega168p",
933933 .features = featureSet(&[_]Feature{
934934 .avr5,
935935 }),
936936 };
937 pub const atmega168pa = CpuModel{
937 pub const atmega168pa: CpuModel = .{
938938 .name = "atmega168pa",
939939 .llvm_name = "atmega168pa",
940940 .features = featureSet(&[_]Feature{
941941 .avr5,
942942 }),
943943 };
944 pub const atmega168pb = CpuModel{
944 pub const atmega168pb: CpuModel = .{
945945 .name = "atmega168pb",
946946 .llvm_name = "atmega168pb",
947947 .features = featureSet(&[_]Feature{
948948 .avr5,
949949 }),
950950 };
951 pub const atmega169 = CpuModel{
951 pub const atmega169: CpuModel = .{
952952 .name = "atmega169",
953953 .llvm_name = "atmega169",
954954 .features = featureSet(&[_]Feature{
955955 .avr5,
956956 }),
957957 };
958 pub const atmega169a = CpuModel{
958 pub const atmega169a: CpuModel = .{
959959 .name = "atmega169a",
960960 .llvm_name = "atmega169a",
961961 .features = featureSet(&[_]Feature{
962962 .avr5,
963963 }),
964964 };
965 pub const atmega169p = CpuModel{
965 pub const atmega169p: CpuModel = .{
966966 .name = "atmega169p",
967967 .llvm_name = "atmega169p",
968968 .features = featureSet(&[_]Feature{
969969 .avr5,
970970 }),
971971 };
972 pub const atmega169pa = CpuModel{
972 pub const atmega169pa: CpuModel = .{
973973 .name = "atmega169pa",
974974 .llvm_name = "atmega169pa",
975975 .features = featureSet(&[_]Feature{
976976 .avr5,
977977 }),
978978 };
979 pub const atmega16a = CpuModel{
979 pub const atmega16a: CpuModel = .{
980980 .name = "atmega16a",
981981 .llvm_name = "atmega16a",
982982 .features = featureSet(&[_]Feature{
983983 .avr5,
984984 }),
985985 };
986 pub const atmega16hva = CpuModel{
986 pub const atmega16hva: CpuModel = .{
987987 .name = "atmega16hva",
988988 .llvm_name = "atmega16hva",
989989 .features = featureSet(&[_]Feature{
990990 .avr5,
991991 }),
992992 };
993 pub const atmega16hva2 = CpuModel{
993 pub const atmega16hva2: CpuModel = .{
994994 .name = "atmega16hva2",
995995 .llvm_name = "atmega16hva2",
996996 .features = featureSet(&[_]Feature{
997997 .avr5,
998998 }),
999999 };
1000 pub const atmega16hvb = CpuModel{
1000 pub const atmega16hvb: CpuModel = .{
10011001 .name = "atmega16hvb",
10021002 .llvm_name = "atmega16hvb",
10031003 .features = featureSet(&[_]Feature{
10041004 .avr5,
10051005 }),
10061006 };
1007 pub const atmega16hvbrevb = CpuModel{
1007 pub const atmega16hvbrevb: CpuModel = .{
10081008 .name = "atmega16hvbrevb",
10091009 .llvm_name = "atmega16hvbrevb",
10101010 .features = featureSet(&[_]Feature{
10111011 .avr5,
10121012 }),
10131013 };
1014 pub const atmega16m1 = CpuModel{
1014 pub const atmega16m1: CpuModel = .{
10151015 .name = "atmega16m1",
10161016 .llvm_name = "atmega16m1",
10171017 .features = featureSet(&[_]Feature{
10181018 .avr5,
10191019 }),
10201020 };
1021 pub const atmega16u2 = CpuModel{
1021 pub const atmega16u2: CpuModel = .{
10221022 .name = "atmega16u2",
10231023 .llvm_name = "atmega16u2",
10241024 .features = featureSet(&[_]Feature{
10251025 .avr35,
10261026 }),
10271027 };
1028 pub const atmega16u4 = CpuModel{
1028 pub const atmega16u4: CpuModel = .{
10291029 .name = "atmega16u4",
10301030 .llvm_name = "atmega16u4",
10311031 .features = featureSet(&[_]Feature{
10321032 .avr5,
10331033 }),
10341034 };
1035 pub const atmega2560 = CpuModel{
1035 pub const atmega2560: CpuModel = .{
10361036 .name = "atmega2560",
10371037 .llvm_name = "atmega2560",
10381038 .features = featureSet(&[_]Feature{
10391039 .avr6,
10401040 }),
10411041 };
1042 pub const atmega2561 = CpuModel{
1042 pub const atmega2561: CpuModel = .{
10431043 .name = "atmega2561",
10441044 .llvm_name = "atmega2561",
10451045 .features = featureSet(&[_]Feature{
10461046 .avr6,
10471047 }),
10481048 };
1049 pub const atmega2564rfr2 = CpuModel{
1049 pub const atmega2564rfr2: CpuModel = .{
10501050 .name = "atmega2564rfr2",
10511051 .llvm_name = "atmega2564rfr2",
10521052 .features = featureSet(&[_]Feature{
10531053 .avr6,
10541054 }),
10551055 };
1056 pub const atmega256rfr2 = CpuModel{
1056 pub const atmega256rfr2: CpuModel = .{
10571057 .name = "atmega256rfr2",
10581058 .llvm_name = "atmega256rfr2",
10591059 .features = featureSet(&[_]Feature{
10601060 .avr6,
10611061 }),
10621062 };
1063 pub const atmega32 = CpuModel{
1063 pub const atmega32: CpuModel = .{
10641064 .name = "atmega32",
10651065 .llvm_name = "atmega32",
10661066 .features = featureSet(&[_]Feature{
10671067 .avr5,
10681068 }),
10691069 };
1070 pub const atmega3208 = CpuModel{
1070 pub const atmega3208: CpuModel = .{
10711071 .name = "atmega3208",
10721072 .llvm_name = "atmega3208",
10731073 .features = featureSet(&[_]Feature{
10741074 .xmega3,
10751075 }),
10761076 };
1077 pub const atmega3209 = CpuModel{
1077 pub const atmega3209: CpuModel = .{
10781078 .name = "atmega3209",
10791079 .llvm_name = "atmega3209",
10801080 .features = featureSet(&[_]Feature{
10811081 .xmega3,
10821082 }),
10831083 };
1084 pub const atmega323 = CpuModel{
1084 pub const atmega323: CpuModel = .{
10851085 .name = "atmega323",
10861086 .llvm_name = "atmega323",
10871087 .features = featureSet(&[_]Feature{
10881088 .avr5,
10891089 }),
10901090 };
1091 pub const atmega324a = CpuModel{
1091 pub const atmega324a: CpuModel = .{
10921092 .name = "atmega324a",
10931093 .llvm_name = "atmega324a",
10941094 .features = featureSet(&[_]Feature{
10951095 .avr5,
10961096 }),
10971097 };
1098 pub const atmega324p = CpuModel{
1098 pub const atmega324p: CpuModel = .{
10991099 .name = "atmega324p",
11001100 .llvm_name = "atmega324p",
11011101 .features = featureSet(&[_]Feature{
11021102 .avr5,
11031103 }),
11041104 };
1105 pub const atmega324pa = CpuModel{
1105 pub const atmega324pa: CpuModel = .{
11061106 .name = "atmega324pa",
11071107 .llvm_name = "atmega324pa",
11081108 .features = featureSet(&[_]Feature{
11091109 .avr5,
11101110 }),
11111111 };
1112 pub const atmega324pb = CpuModel{
1112 pub const atmega324pb: CpuModel = .{
11131113 .name = "atmega324pb",
11141114 .llvm_name = "atmega324pb",
11151115 .features = featureSet(&[_]Feature{
11161116 .avr5,
11171117 }),
11181118 };
1119 pub const atmega325 = CpuModel{
1119 pub const atmega325: CpuModel = .{
11201120 .name = "atmega325",
11211121 .llvm_name = "atmega325",
11221122 .features = featureSet(&[_]Feature{
11231123 .avr5,
11241124 }),
11251125 };
1126 pub const atmega3250 = CpuModel{
1126 pub const atmega3250: CpuModel = .{
11271127 .name = "atmega3250",
11281128 .llvm_name = "atmega3250",
11291129 .features = featureSet(&[_]Feature{
11301130 .avr5,
11311131 }),
11321132 };
1133 pub const atmega3250a = CpuModel{
1133 pub const atmega3250a: CpuModel = .{
11341134 .name = "atmega3250a",
11351135 .llvm_name = "atmega3250a",
11361136 .features = featureSet(&[_]Feature{
11371137 .avr5,
11381138 }),
11391139 };
1140 pub const atmega3250p = CpuModel{
1140 pub const atmega3250p: CpuModel = .{
11411141 .name = "atmega3250p",
11421142 .llvm_name = "atmega3250p",
11431143 .features = featureSet(&[_]Feature{
11441144 .avr5,
11451145 }),
11461146 };
1147 pub const atmega3250pa = CpuModel{
1147 pub const atmega3250pa: CpuModel = .{
11481148 .name = "atmega3250pa",
11491149 .llvm_name = "atmega3250pa",
11501150 .features = featureSet(&[_]Feature{
11511151 .avr5,
11521152 }),
11531153 };
1154 pub const atmega325a = CpuModel{
1154 pub const atmega325a: CpuModel = .{
11551155 .name = "atmega325a",
11561156 .llvm_name = "atmega325a",
11571157 .features = featureSet(&[_]Feature{
11581158 .avr5,
11591159 }),
11601160 };
1161 pub const atmega325p = CpuModel{
1161 pub const atmega325p: CpuModel = .{
11621162 .name = "atmega325p",
11631163 .llvm_name = "atmega325p",
11641164 .features = featureSet(&[_]Feature{
11651165 .avr5,
11661166 }),
11671167 };
1168 pub const atmega325pa = CpuModel{
1168 pub const atmega325pa: CpuModel = .{
11691169 .name = "atmega325pa",
11701170 .llvm_name = "atmega325pa",
11711171 .features = featureSet(&[_]Feature{
11721172 .avr5,
11731173 }),
11741174 };
1175 pub const atmega328 = CpuModel{
1175 pub const atmega328: CpuModel = .{
11761176 .name = "atmega328",
11771177 .llvm_name = "atmega328",
11781178 .features = featureSet(&[_]Feature{
11791179 .avr5,
11801180 }),
11811181 };
1182 pub const atmega328p = CpuModel{
1182 pub const atmega328p: CpuModel = .{
11831183 .name = "atmega328p",
11841184 .llvm_name = "atmega328p",
11851185 .features = featureSet(&[_]Feature{
11861186 .avr5,
11871187 }),
11881188 };
1189 pub const atmega328pb = CpuModel{
1189 pub const atmega328pb: CpuModel = .{
11901190 .name = "atmega328pb",
11911191 .llvm_name = "atmega328pb",
11921192 .features = featureSet(&[_]Feature{
11931193 .avr5,
11941194 }),
11951195 };
1196 pub const atmega329 = CpuModel{
1196 pub const atmega329: CpuModel = .{
11971197 .name = "atmega329",
11981198 .llvm_name = "atmega329",
11991199 .features = featureSet(&[_]Feature{
12001200 .avr5,
12011201 }),
12021202 };
1203 pub const atmega3290 = CpuModel{
1203 pub const atmega3290: CpuModel = .{
12041204 .name = "atmega3290",
12051205 .llvm_name = "atmega3290",
12061206 .features = featureSet(&[_]Feature{
12071207 .avr5,
12081208 }),
12091209 };
1210 pub const atmega3290a = CpuModel{
1210 pub const atmega3290a: CpuModel = .{
12111211 .name = "atmega3290a",
12121212 .llvm_name = "atmega3290a",
12131213 .features = featureSet(&[_]Feature{
12141214 .avr5,
12151215 }),
12161216 };
1217 pub const atmega3290p = CpuModel{
1217 pub const atmega3290p: CpuModel = .{
12181218 .name = "atmega3290p",
12191219 .llvm_name = "atmega3290p",
12201220 .features = featureSet(&[_]Feature{
12211221 .avr5,
12221222 }),
12231223 };
1224 pub const atmega3290pa = CpuModel{
1224 pub const atmega3290pa: CpuModel = .{
12251225 .name = "atmega3290pa",
12261226 .llvm_name = "atmega3290pa",
12271227 .features = featureSet(&[_]Feature{
12281228 .avr5,
12291229 }),
12301230 };
1231 pub const atmega329a = CpuModel{
1231 pub const atmega329a: CpuModel = .{
12321232 .name = "atmega329a",
12331233 .llvm_name = "atmega329a",
12341234 .features = featureSet(&[_]Feature{
12351235 .avr5,
12361236 }),
12371237 };
1238 pub const atmega329p = CpuModel{
1238 pub const atmega329p: CpuModel = .{
12391239 .name = "atmega329p",
12401240 .llvm_name = "atmega329p",
12411241 .features = featureSet(&[_]Feature{
12421242 .avr5,
12431243 }),
12441244 };
1245 pub const atmega329pa = CpuModel{
1245 pub const atmega329pa: CpuModel = .{
12461246 .name = "atmega329pa",
12471247 .llvm_name = "atmega329pa",
12481248 .features = featureSet(&[_]Feature{
12491249 .avr5,
12501250 }),
12511251 };
1252 pub const atmega32a = CpuModel{
1252 pub const atmega32a: CpuModel = .{
12531253 .name = "atmega32a",
12541254 .llvm_name = "atmega32a",
12551255 .features = featureSet(&[_]Feature{
12561256 .avr5,
12571257 }),
12581258 };
1259 pub const atmega32c1 = CpuModel{
1259 pub const atmega32c1: CpuModel = .{
12601260 .name = "atmega32c1",
12611261 .llvm_name = "atmega32c1",
12621262 .features = featureSet(&[_]Feature{
12631263 .avr5,
12641264 }),
12651265 };
1266 pub const atmega32hvb = CpuModel{
1266 pub const atmega32hvb: CpuModel = .{
12671267 .name = "atmega32hvb",
12681268 .llvm_name = "atmega32hvb",
12691269 .features = featureSet(&[_]Feature{
12701270 .avr5,
12711271 }),
12721272 };
1273 pub const atmega32hvbrevb = CpuModel{
1273 pub const atmega32hvbrevb: CpuModel = .{
12741274 .name = "atmega32hvbrevb",
12751275 .llvm_name = "atmega32hvbrevb",
12761276 .features = featureSet(&[_]Feature{
12771277 .avr5,
12781278 }),
12791279 };
1280 pub const atmega32m1 = CpuModel{
1280 pub const atmega32m1: CpuModel = .{
12811281 .name = "atmega32m1",
12821282 .llvm_name = "atmega32m1",
12831283 .features = featureSet(&[_]Feature{
12841284 .avr5,
12851285 }),
12861286 };
1287 pub const atmega32u2 = CpuModel{
1287 pub const atmega32u2: CpuModel = .{
12881288 .name = "atmega32u2",
12891289 .llvm_name = "atmega32u2",
12901290 .features = featureSet(&[_]Feature{
12911291 .avr35,
12921292 }),
12931293 };
1294 pub const atmega32u4 = CpuModel{
1294 pub const atmega32u4: CpuModel = .{
12951295 .name = "atmega32u4",
12961296 .llvm_name = "atmega32u4",
12971297 .features = featureSet(&[_]Feature{
12981298 .avr5,
12991299 }),
13001300 };
1301 pub const atmega32u6 = CpuModel{
1301 pub const atmega32u6: CpuModel = .{
13021302 .name = "atmega32u6",
13031303 .llvm_name = "atmega32u6",
13041304 .features = featureSet(&[_]Feature{
13051305 .avr5,
13061306 }),
13071307 };
1308 pub const atmega406 = CpuModel{
1308 pub const atmega406: CpuModel = .{
13091309 .name = "atmega406",
13101310 .llvm_name = "atmega406",
13111311 .features = featureSet(&[_]Feature{
13121312 .avr5,
13131313 }),
13141314 };
1315 pub const atmega48 = CpuModel{
1315 pub const atmega48: CpuModel = .{
13161316 .name = "atmega48",
13171317 .llvm_name = "atmega48",
13181318 .features = featureSet(&[_]Feature{
13191319 .avr4,
13201320 }),
13211321 };
1322 pub const atmega4808 = CpuModel{
1322 pub const atmega4808: CpuModel = .{
13231323 .name = "atmega4808",
13241324 .llvm_name = "atmega4808",
13251325 .features = featureSet(&[_]Feature{
13261326 .xmega3,
13271327 }),
13281328 };
1329 pub const atmega4809 = CpuModel{
1329 pub const atmega4809: CpuModel = .{
13301330 .name = "atmega4809",
13311331 .llvm_name = "atmega4809",
13321332 .features = featureSet(&[_]Feature{
13331333 .xmega3,
13341334 }),
13351335 };
1336 pub const atmega48a = CpuModel{
1336 pub const atmega48a: CpuModel = .{
13371337 .name = "atmega48a",
13381338 .llvm_name = "atmega48a",
13391339 .features = featureSet(&[_]Feature{
13401340 .avr4,
13411341 }),
13421342 };
1343 pub const atmega48p = CpuModel{
1343 pub const atmega48p: CpuModel = .{
13441344 .name = "atmega48p",
13451345 .llvm_name = "atmega48p",
13461346 .features = featureSet(&[_]Feature{
13471347 .avr4,
13481348 }),
13491349 };
1350 pub const atmega48pa = CpuModel{
1350 pub const atmega48pa: CpuModel = .{
13511351 .name = "atmega48pa",
13521352 .llvm_name = "atmega48pa",
13531353 .features = featureSet(&[_]Feature{
13541354 .avr4,
13551355 }),
13561356 };
1357 pub const atmega48pb = CpuModel{
1357 pub const atmega48pb: CpuModel = .{
13581358 .name = "atmega48pb",
13591359 .llvm_name = "atmega48pb",
13601360 .features = featureSet(&[_]Feature{
13611361 .avr4,
13621362 }),
13631363 };
1364 pub const atmega64 = CpuModel{
1364 pub const atmega64: CpuModel = .{
13651365 .name = "atmega64",
13661366 .llvm_name = "atmega64",
13671367 .features = featureSet(&[_]Feature{
13681368 .avr5,
13691369 }),
13701370 };
1371 pub const atmega640 = CpuModel{
1371 pub const atmega640: CpuModel = .{
13721372 .name = "atmega640",
13731373 .llvm_name = "atmega640",
13741374 .features = featureSet(&[_]Feature{
13751375 .avr5,
13761376 }),
13771377 };
1378 pub const atmega644 = CpuModel{
1378 pub const atmega644: CpuModel = .{
13791379 .name = "atmega644",
13801380 .llvm_name = "atmega644",
13811381 .features = featureSet(&[_]Feature{
13821382 .avr5,
13831383 }),
13841384 };
1385 pub const atmega644a = CpuModel{
1385 pub const atmega644a: CpuModel = .{
13861386 .name = "atmega644a",
13871387 .llvm_name = "atmega644a",
13881388 .features = featureSet(&[_]Feature{
13891389 .avr5,
13901390 }),
13911391 };
1392 pub const atmega644p = CpuModel{
1392 pub const atmega644p: CpuModel = .{
13931393 .name = "atmega644p",
13941394 .llvm_name = "atmega644p",
13951395 .features = featureSet(&[_]Feature{
13961396 .avr5,
13971397 }),
13981398 };
1399 pub const atmega644pa = CpuModel{
1399 pub const atmega644pa: CpuModel = .{
14001400 .name = "atmega644pa",
14011401 .llvm_name = "atmega644pa",
14021402 .features = featureSet(&[_]Feature{
14031403 .avr5,
14041404 }),
14051405 };
1406 pub const atmega644rfr2 = CpuModel{
1406 pub const atmega644rfr2: CpuModel = .{
14071407 .name = "atmega644rfr2",
14081408 .llvm_name = "atmega644rfr2",
14091409 .features = featureSet(&[_]Feature{
14101410 .avr5,
14111411 }),
14121412 };
1413 pub const atmega645 = CpuModel{
1413 pub const atmega645: CpuModel = .{
14141414 .name = "atmega645",
14151415 .llvm_name = "atmega645",
14161416 .features = featureSet(&[_]Feature{
14171417 .avr5,
14181418 }),
14191419 };
1420 pub const atmega6450 = CpuModel{
1420 pub const atmega6450: CpuModel = .{
14211421 .name = "atmega6450",
14221422 .llvm_name = "atmega6450",
14231423 .features = featureSet(&[_]Feature{
14241424 .avr5,
14251425 }),
14261426 };
1427 pub const atmega6450a = CpuModel{
1427 pub const atmega6450a: CpuModel = .{
14281428 .name = "atmega6450a",
14291429 .llvm_name = "atmega6450a",
14301430 .features = featureSet(&[_]Feature{
14311431 .avr5,
14321432 }),
14331433 };
1434 pub const atmega6450p = CpuModel{
1434 pub const atmega6450p: CpuModel = .{
14351435 .name = "atmega6450p",
14361436 .llvm_name = "atmega6450p",
14371437 .features = featureSet(&[_]Feature{
14381438 .avr5,
14391439 }),
14401440 };
1441 pub const atmega645a = CpuModel{
1441 pub const atmega645a: CpuModel = .{
14421442 .name = "atmega645a",
14431443 .llvm_name = "atmega645a",
14441444 .features = featureSet(&[_]Feature{
14451445 .avr5,
14461446 }),
14471447 };
1448 pub const atmega645p = CpuModel{
1448 pub const atmega645p: CpuModel = .{
14491449 .name = "atmega645p",
14501450 .llvm_name = "atmega645p",
14511451 .features = featureSet(&[_]Feature{
14521452 .avr5,
14531453 }),
14541454 };
1455 pub const atmega649 = CpuModel{
1455 pub const atmega649: CpuModel = .{
14561456 .name = "atmega649",
14571457 .llvm_name = "atmega649",
14581458 .features = featureSet(&[_]Feature{
14591459 .avr5,
14601460 }),
14611461 };
1462 pub const atmega6490 = CpuModel{
1462 pub const atmega6490: CpuModel = .{
14631463 .name = "atmega6490",
14641464 .llvm_name = "atmega6490",
14651465 .features = featureSet(&[_]Feature{
14661466 .avr5,
14671467 }),
14681468 };
1469 pub const atmega6490a = CpuModel{
1469 pub const atmega6490a: CpuModel = .{
14701470 .name = "atmega6490a",
14711471 .llvm_name = "atmega6490a",
14721472 .features = featureSet(&[_]Feature{
14731473 .avr5,
14741474 }),
14751475 };
1476 pub const atmega6490p = CpuModel{
1476 pub const atmega6490p: CpuModel = .{
14771477 .name = "atmega6490p",
14781478 .llvm_name = "atmega6490p",
14791479 .features = featureSet(&[_]Feature{
14801480 .avr5,
14811481 }),
14821482 };
1483 pub const atmega649a = CpuModel{
1483 pub const atmega649a: CpuModel = .{
14841484 .name = "atmega649a",
14851485 .llvm_name = "atmega649a",
14861486 .features = featureSet(&[_]Feature{
14871487 .avr5,
14881488 }),
14891489 };
1490 pub const atmega649p = CpuModel{
1490 pub const atmega649p: CpuModel = .{
14911491 .name = "atmega649p",
14921492 .llvm_name = "atmega649p",
14931493 .features = featureSet(&[_]Feature{
14941494 .avr5,
14951495 }),
14961496 };
1497 pub const atmega64a = CpuModel{
1497 pub const atmega64a: CpuModel = .{
14981498 .name = "atmega64a",
14991499 .llvm_name = "atmega64a",
15001500 .features = featureSet(&[_]Feature{
15011501 .avr5,
15021502 }),
15031503 };
1504 pub const atmega64c1 = CpuModel{
1504 pub const atmega64c1: CpuModel = .{
15051505 .name = "atmega64c1",
15061506 .llvm_name = "atmega64c1",
15071507 .features = featureSet(&[_]Feature{
15081508 .avr5,
15091509 }),
15101510 };
1511 pub const atmega64hve = CpuModel{
1511 pub const atmega64hve: CpuModel = .{
15121512 .name = "atmega64hve",
15131513 .llvm_name = "atmega64hve",
15141514 .features = featureSet(&[_]Feature{
15151515 .avr5,
15161516 }),
15171517 };
1518 pub const atmega64hve2 = CpuModel{
1518 pub const atmega64hve2: CpuModel = .{
15191519 .name = "atmega64hve2",
15201520 .llvm_name = "atmega64hve2",
15211521 .features = featureSet(&[_]Feature{
15221522 .avr5,
15231523 }),
15241524 };
1525 pub const atmega64m1 = CpuModel{
1525 pub const atmega64m1: CpuModel = .{
15261526 .name = "atmega64m1",
15271527 .llvm_name = "atmega64m1",
15281528 .features = featureSet(&[_]Feature{
15291529 .avr5,
15301530 }),
15311531 };
1532 pub const atmega64rfr2 = CpuModel{
1532 pub const atmega64rfr2: CpuModel = .{
15331533 .name = "atmega64rfr2",
15341534 .llvm_name = "atmega64rfr2",
15351535 .features = featureSet(&[_]Feature{
15361536 .avr5,
15371537 }),
15381538 };
1539 pub const atmega8 = CpuModel{
1539 pub const atmega8: CpuModel = .{
15401540 .name = "atmega8",
15411541 .llvm_name = "atmega8",
15421542 .features = featureSet(&[_]Feature{
......@@ -1547,21 +1547,21 @@ pub const cpu = struct {
15471547 .spm,
15481548 }),
15491549 };
1550 pub const atmega808 = CpuModel{
1550 pub const atmega808: CpuModel = .{
15511551 .name = "atmega808",
15521552 .llvm_name = "atmega808",
15531553 .features = featureSet(&[_]Feature{
15541554 .xmega3,
15551555 }),
15561556 };
1557 pub const atmega809 = CpuModel{
1557 pub const atmega809: CpuModel = .{
15581558 .name = "atmega809",
15591559 .llvm_name = "atmega809",
15601560 .features = featureSet(&[_]Feature{
15611561 .xmega3,
15621562 }),
15631563 };
1564 pub const atmega8515 = CpuModel{
1564 pub const atmega8515: CpuModel = .{
15651565 .name = "atmega8515",
15661566 .llvm_name = "atmega8515",
15671567 .features = featureSet(&[_]Feature{
......@@ -1572,7 +1572,7 @@ pub const cpu = struct {
15721572 .spm,
15731573 }),
15741574 };
1575 pub const atmega8535 = CpuModel{
1575 pub const atmega8535: CpuModel = .{
15761576 .name = "atmega8535",
15771577 .llvm_name = "atmega8535",
15781578 .features = featureSet(&[_]Feature{
......@@ -1583,42 +1583,42 @@ pub const cpu = struct {
15831583 .spm,
15841584 }),
15851585 };
1586 pub const atmega88 = CpuModel{
1586 pub const atmega88: CpuModel = .{
15871587 .name = "atmega88",
15881588 .llvm_name = "atmega88",
15891589 .features = featureSet(&[_]Feature{
15901590 .avr4,
15911591 }),
15921592 };
1593 pub const atmega88a = CpuModel{
1593 pub const atmega88a: CpuModel = .{
15941594 .name = "atmega88a",
15951595 .llvm_name = "atmega88a",
15961596 .features = featureSet(&[_]Feature{
15971597 .avr4,
15981598 }),
15991599 };
1600 pub const atmega88p = CpuModel{
1600 pub const atmega88p: CpuModel = .{
16011601 .name = "atmega88p",
16021602 .llvm_name = "atmega88p",
16031603 .features = featureSet(&[_]Feature{
16041604 .avr4,
16051605 }),
16061606 };
1607 pub const atmega88pa = CpuModel{
1607 pub const atmega88pa: CpuModel = .{
16081608 .name = "atmega88pa",
16091609 .llvm_name = "atmega88pa",
16101610 .features = featureSet(&[_]Feature{
16111611 .avr4,
16121612 }),
16131613 };
1614 pub const atmega88pb = CpuModel{
1614 pub const atmega88pb: CpuModel = .{
16151615 .name = "atmega88pb",
16161616 .llvm_name = "atmega88pb",
16171617 .features = featureSet(&[_]Feature{
16181618 .avr4,
16191619 }),
16201620 };
1621 pub const atmega8a = CpuModel{
1621 pub const atmega8a: CpuModel = .{
16221622 .name = "atmega8a",
16231623 .llvm_name = "atmega8a",
16241624 .features = featureSet(&[_]Feature{
......@@ -1629,42 +1629,42 @@ pub const cpu = struct {
16291629 .spm,
16301630 }),
16311631 };
1632 pub const atmega8hva = CpuModel{
1632 pub const atmega8hva: CpuModel = .{
16331633 .name = "atmega8hva",
16341634 .llvm_name = "atmega8hva",
16351635 .features = featureSet(&[_]Feature{
16361636 .avr4,
16371637 }),
16381638 };
1639 pub const atmega8u2 = CpuModel{
1639 pub const atmega8u2: CpuModel = .{
16401640 .name = "atmega8u2",
16411641 .llvm_name = "atmega8u2",
16421642 .features = featureSet(&[_]Feature{
16431643 .avr35,
16441644 }),
16451645 };
1646 pub const attiny10 = CpuModel{
1646 pub const attiny10: CpuModel = .{
16471647 .name = "attiny10",
16481648 .llvm_name = "attiny10",
16491649 .features = featureSet(&[_]Feature{
16501650 .avrtiny,
16511651 }),
16521652 };
1653 pub const attiny102 = CpuModel{
1653 pub const attiny102: CpuModel = .{
16541654 .name = "attiny102",
16551655 .llvm_name = "attiny102",
16561656 .features = featureSet(&[_]Feature{
16571657 .avrtiny,
16581658 }),
16591659 };
1660 pub const attiny104 = CpuModel{
1660 pub const attiny104: CpuModel = .{
16611661 .name = "attiny104",
16621662 .llvm_name = "attiny104",
16631663 .features = featureSet(&[_]Feature{
16641664 .avrtiny,
16651665 }),
16661666 };
1667 pub const attiny11 = CpuModel{
1667 pub const attiny11: CpuModel = .{
16681668 .name = "attiny11",
16691669 .llvm_name = "attiny11",
16701670 .features = featureSet(&[_]Feature{
......@@ -1672,7 +1672,7 @@ pub const cpu = struct {
16721672 .smallstack,
16731673 }),
16741674 };
1675 pub const attiny12 = CpuModel{
1675 pub const attiny12: CpuModel = .{
16761676 .name = "attiny12",
16771677 .llvm_name = "attiny12",
16781678 .features = featureSet(&[_]Feature{
......@@ -1680,7 +1680,7 @@ pub const cpu = struct {
16801680 .smallstack,
16811681 }),
16821682 };
1683 pub const attiny13 = CpuModel{
1683 pub const attiny13: CpuModel = .{
16841684 .name = "attiny13",
16851685 .llvm_name = "attiny13",
16861686 .features = featureSet(&[_]Feature{
......@@ -1688,7 +1688,7 @@ pub const cpu = struct {
16881688 .smallstack,
16891689 }),
16901690 };
1691 pub const attiny13a = CpuModel{
1691 pub const attiny13a: CpuModel = .{
16921692 .name = "attiny13a",
16931693 .llvm_name = "attiny13a",
16941694 .features = featureSet(&[_]Feature{
......@@ -1696,7 +1696,7 @@ pub const cpu = struct {
16961696 .smallstack,
16971697 }),
16981698 };
1699 pub const attiny15 = CpuModel{
1699 pub const attiny15: CpuModel = .{
17001700 .name = "attiny15",
17011701 .llvm_name = "attiny15",
17021702 .features = featureSet(&[_]Feature{
......@@ -1704,119 +1704,119 @@ pub const cpu = struct {
17041704 .smallstack,
17051705 }),
17061706 };
1707 pub const attiny1604 = CpuModel{
1707 pub const attiny1604: CpuModel = .{
17081708 .name = "attiny1604",
17091709 .llvm_name = "attiny1604",
17101710 .features = featureSet(&[_]Feature{
17111711 .xmega3,
17121712 }),
17131713 };
1714 pub const attiny1606 = CpuModel{
1714 pub const attiny1606: CpuModel = .{
17151715 .name = "attiny1606",
17161716 .llvm_name = "attiny1606",
17171717 .features = featureSet(&[_]Feature{
17181718 .xmega3,
17191719 }),
17201720 };
1721 pub const attiny1607 = CpuModel{
1721 pub const attiny1607: CpuModel = .{
17221722 .name = "attiny1607",
17231723 .llvm_name = "attiny1607",
17241724 .features = featureSet(&[_]Feature{
17251725 .xmega3,
17261726 }),
17271727 };
1728 pub const attiny1614 = CpuModel{
1728 pub const attiny1614: CpuModel = .{
17291729 .name = "attiny1614",
17301730 .llvm_name = "attiny1614",
17311731 .features = featureSet(&[_]Feature{
17321732 .xmega3,
17331733 }),
17341734 };
1735 pub const attiny1616 = CpuModel{
1735 pub const attiny1616: CpuModel = .{
17361736 .name = "attiny1616",
17371737 .llvm_name = "attiny1616",
17381738 .features = featureSet(&[_]Feature{
17391739 .xmega3,
17401740 }),
17411741 };
1742 pub const attiny1617 = CpuModel{
1742 pub const attiny1617: CpuModel = .{
17431743 .name = "attiny1617",
17441744 .llvm_name = "attiny1617",
17451745 .features = featureSet(&[_]Feature{
17461746 .xmega3,
17471747 }),
17481748 };
1749 pub const attiny1624 = CpuModel{
1749 pub const attiny1624: CpuModel = .{
17501750 .name = "attiny1624",
17511751 .llvm_name = "attiny1624",
17521752 .features = featureSet(&[_]Feature{
17531753 .xmega3,
17541754 }),
17551755 };
1756 pub const attiny1626 = CpuModel{
1756 pub const attiny1626: CpuModel = .{
17571757 .name = "attiny1626",
17581758 .llvm_name = "attiny1626",
17591759 .features = featureSet(&[_]Feature{
17601760 .xmega3,
17611761 }),
17621762 };
1763 pub const attiny1627 = CpuModel{
1763 pub const attiny1627: CpuModel = .{
17641764 .name = "attiny1627",
17651765 .llvm_name = "attiny1627",
17661766 .features = featureSet(&[_]Feature{
17671767 .xmega3,
17681768 }),
17691769 };
1770 pub const attiny1634 = CpuModel{
1770 pub const attiny1634: CpuModel = .{
17711771 .name = "attiny1634",
17721772 .llvm_name = "attiny1634",
17731773 .features = featureSet(&[_]Feature{
17741774 .avr35,
17751775 }),
17761776 };
1777 pub const attiny167 = CpuModel{
1777 pub const attiny167: CpuModel = .{
17781778 .name = "attiny167",
17791779 .llvm_name = "attiny167",
17801780 .features = featureSet(&[_]Feature{
17811781 .avr35,
17821782 }),
17831783 };
1784 pub const attiny20 = CpuModel{
1784 pub const attiny20: CpuModel = .{
17851785 .name = "attiny20",
17861786 .llvm_name = "attiny20",
17871787 .features = featureSet(&[_]Feature{
17881788 .avrtiny,
17891789 }),
17901790 };
1791 pub const attiny202 = CpuModel{
1791 pub const attiny202: CpuModel = .{
17921792 .name = "attiny202",
17931793 .llvm_name = "attiny202",
17941794 .features = featureSet(&[_]Feature{
17951795 .xmega3,
17961796 }),
17971797 };
1798 pub const attiny204 = CpuModel{
1798 pub const attiny204: CpuModel = .{
17991799 .name = "attiny204",
18001800 .llvm_name = "attiny204",
18011801 .features = featureSet(&[_]Feature{
18021802 .xmega3,
18031803 }),
18041804 };
1805 pub const attiny212 = CpuModel{
1805 pub const attiny212: CpuModel = .{
18061806 .name = "attiny212",
18071807 .llvm_name = "attiny212",
18081808 .features = featureSet(&[_]Feature{
18091809 .xmega3,
18101810 }),
18111811 };
1812 pub const attiny214 = CpuModel{
1812 pub const attiny214: CpuModel = .{
18131813 .name = "attiny214",
18141814 .llvm_name = "attiny214",
18151815 .features = featureSet(&[_]Feature{
18161816 .xmega3,
18171817 }),
18181818 };
1819 pub const attiny22 = CpuModel{
1819 pub const attiny22: CpuModel = .{
18201820 .name = "attiny22",
18211821 .llvm_name = "attiny22",
18221822 .features = featureSet(&[_]Feature{
......@@ -1824,7 +1824,7 @@ pub const cpu = struct {
18241824 .smallstack,
18251825 }),
18261826 };
1827 pub const attiny2313 = CpuModel{
1827 pub const attiny2313: CpuModel = .{
18281828 .name = "attiny2313",
18291829 .llvm_name = "attiny2313",
18301830 .features = featureSet(&[_]Feature{
......@@ -1832,7 +1832,7 @@ pub const cpu = struct {
18321832 .smallstack,
18331833 }),
18341834 };
1835 pub const attiny2313a = CpuModel{
1835 pub const attiny2313a: CpuModel = .{
18361836 .name = "attiny2313a",
18371837 .llvm_name = "attiny2313a",
18381838 .features = featureSet(&[_]Feature{
......@@ -1840,7 +1840,7 @@ pub const cpu = struct {
18401840 .smallstack,
18411841 }),
18421842 };
1843 pub const attiny24 = CpuModel{
1843 pub const attiny24: CpuModel = .{
18441844 .name = "attiny24",
18451845 .llvm_name = "attiny24",
18461846 .features = featureSet(&[_]Feature{
......@@ -1848,7 +1848,7 @@ pub const cpu = struct {
18481848 .smallstack,
18491849 }),
18501850 };
1851 pub const attiny24a = CpuModel{
1851 pub const attiny24a: CpuModel = .{
18521852 .name = "attiny24a",
18531853 .llvm_name = "attiny24a",
18541854 .features = featureSet(&[_]Feature{
......@@ -1856,7 +1856,7 @@ pub const cpu = struct {
18561856 .smallstack,
18571857 }),
18581858 };
1859 pub const attiny25 = CpuModel{
1859 pub const attiny25: CpuModel = .{
18601860 .name = "attiny25",
18611861 .llvm_name = "attiny25",
18621862 .features = featureSet(&[_]Feature{
......@@ -1864,7 +1864,7 @@ pub const cpu = struct {
18641864 .smallstack,
18651865 }),
18661866 };
1867 pub const attiny26 = CpuModel{
1867 pub const attiny26: CpuModel = .{
18681868 .name = "attiny26",
18691869 .llvm_name = "attiny26",
18701870 .features = featureSet(&[_]Feature{
......@@ -1873,7 +1873,7 @@ pub const cpu = struct {
18731873 .smallstack,
18741874 }),
18751875 };
1876 pub const attiny261 = CpuModel{
1876 pub const attiny261: CpuModel = .{
18771877 .name = "attiny261",
18781878 .llvm_name = "attiny261",
18791879 .features = featureSet(&[_]Feature{
......@@ -1881,7 +1881,7 @@ pub const cpu = struct {
18811881 .smallstack,
18821882 }),
18831883 };
1884 pub const attiny261a = CpuModel{
1884 pub const attiny261a: CpuModel = .{
18851885 .name = "attiny261a",
18861886 .llvm_name = "attiny261a",
18871887 .features = featureSet(&[_]Feature{
......@@ -1889,7 +1889,7 @@ pub const cpu = struct {
18891889 .smallstack,
18901890 }),
18911891 };
1892 pub const attiny28 = CpuModel{
1892 pub const attiny28: CpuModel = .{
18931893 .name = "attiny28",
18941894 .llvm_name = "attiny28",
18951895 .features = featureSet(&[_]Feature{
......@@ -1897,707 +1897,707 @@ pub const cpu = struct {
18971897 .smallstack,
18981898 }),
18991899 };
1900 pub const attiny3216 = CpuModel{
1900 pub const attiny3216: CpuModel = .{
19011901 .name = "attiny3216",
19021902 .llvm_name = "attiny3216",
19031903 .features = featureSet(&[_]Feature{
19041904 .xmega3,
19051905 }),
19061906 };
1907 pub const attiny3217 = CpuModel{
1907 pub const attiny3217: CpuModel = .{
19081908 .name = "attiny3217",
19091909 .llvm_name = "attiny3217",
19101910 .features = featureSet(&[_]Feature{
19111911 .xmega3,
19121912 }),
19131913 };
1914 pub const attiny4 = CpuModel{
1914 pub const attiny4: CpuModel = .{
19151915 .name = "attiny4",
19161916 .llvm_name = "attiny4",
19171917 .features = featureSet(&[_]Feature{
19181918 .avrtiny,
19191919 }),
19201920 };
1921 pub const attiny40 = CpuModel{
1921 pub const attiny40: CpuModel = .{
19221922 .name = "attiny40",
19231923 .llvm_name = "attiny40",
19241924 .features = featureSet(&[_]Feature{
19251925 .avrtiny,
19261926 }),
19271927 };
1928 pub const attiny402 = CpuModel{
1928 pub const attiny402: CpuModel = .{
19291929 .name = "attiny402",
19301930 .llvm_name = "attiny402",
19311931 .features = featureSet(&[_]Feature{
19321932 .xmega3,
19331933 }),
19341934 };
1935 pub const attiny404 = CpuModel{
1935 pub const attiny404: CpuModel = .{
19361936 .name = "attiny404",
19371937 .llvm_name = "attiny404",
19381938 .features = featureSet(&[_]Feature{
19391939 .xmega3,
19401940 }),
19411941 };
1942 pub const attiny406 = CpuModel{
1942 pub const attiny406: CpuModel = .{
19431943 .name = "attiny406",
19441944 .llvm_name = "attiny406",
19451945 .features = featureSet(&[_]Feature{
19461946 .xmega3,
19471947 }),
19481948 };
1949 pub const attiny412 = CpuModel{
1949 pub const attiny412: CpuModel = .{
19501950 .name = "attiny412",
19511951 .llvm_name = "attiny412",
19521952 .features = featureSet(&[_]Feature{
19531953 .xmega3,
19541954 }),
19551955 };
1956 pub const attiny414 = CpuModel{
1956 pub const attiny414: CpuModel = .{
19571957 .name = "attiny414",
19581958 .llvm_name = "attiny414",
19591959 .features = featureSet(&[_]Feature{
19601960 .xmega3,
19611961 }),
19621962 };
1963 pub const attiny416 = CpuModel{
1963 pub const attiny416: CpuModel = .{
19641964 .name = "attiny416",
19651965 .llvm_name = "attiny416",
19661966 .features = featureSet(&[_]Feature{
19671967 .xmega3,
19681968 }),
19691969 };
1970 pub const attiny417 = CpuModel{
1970 pub const attiny417: CpuModel = .{
19711971 .name = "attiny417",
19721972 .llvm_name = "attiny417",
19731973 .features = featureSet(&[_]Feature{
19741974 .xmega3,
19751975 }),
19761976 };
1977 pub const attiny4313 = CpuModel{
1977 pub const attiny4313: CpuModel = .{
19781978 .name = "attiny4313",
19791979 .llvm_name = "attiny4313",
19801980 .features = featureSet(&[_]Feature{
19811981 .avr25,
19821982 }),
19831983 };
1984 pub const attiny43u = CpuModel{
1984 pub const attiny43u: CpuModel = .{
19851985 .name = "attiny43u",
19861986 .llvm_name = "attiny43u",
19871987 .features = featureSet(&[_]Feature{
19881988 .avr25,
19891989 }),
19901990 };
1991 pub const attiny44 = CpuModel{
1991 pub const attiny44: CpuModel = .{
19921992 .name = "attiny44",
19931993 .llvm_name = "attiny44",
19941994 .features = featureSet(&[_]Feature{
19951995 .avr25,
19961996 }),
19971997 };
1998 pub const attiny441 = CpuModel{
1998 pub const attiny441: CpuModel = .{
19991999 .name = "attiny441",
20002000 .llvm_name = "attiny441",
20012001 .features = featureSet(&[_]Feature{
20022002 .avr25,
20032003 }),
20042004 };
2005 pub const attiny44a = CpuModel{
2005 pub const attiny44a: CpuModel = .{
20062006 .name = "attiny44a",
20072007 .llvm_name = "attiny44a",
20082008 .features = featureSet(&[_]Feature{
20092009 .avr25,
20102010 }),
20112011 };
2012 pub const attiny45 = CpuModel{
2012 pub const attiny45: CpuModel = .{
20132013 .name = "attiny45",
20142014 .llvm_name = "attiny45",
20152015 .features = featureSet(&[_]Feature{
20162016 .avr25,
20172017 }),
20182018 };
2019 pub const attiny461 = CpuModel{
2019 pub const attiny461: CpuModel = .{
20202020 .name = "attiny461",
20212021 .llvm_name = "attiny461",
20222022 .features = featureSet(&[_]Feature{
20232023 .avr25,
20242024 }),
20252025 };
2026 pub const attiny461a = CpuModel{
2026 pub const attiny461a: CpuModel = .{
20272027 .name = "attiny461a",
20282028 .llvm_name = "attiny461a",
20292029 .features = featureSet(&[_]Feature{
20302030 .avr25,
20312031 }),
20322032 };
2033 pub const attiny48 = CpuModel{
2033 pub const attiny48: CpuModel = .{
20342034 .name = "attiny48",
20352035 .llvm_name = "attiny48",
20362036 .features = featureSet(&[_]Feature{
20372037 .avr25,
20382038 }),
20392039 };
2040 pub const attiny5 = CpuModel{
2040 pub const attiny5: CpuModel = .{
20412041 .name = "attiny5",
20422042 .llvm_name = "attiny5",
20432043 .features = featureSet(&[_]Feature{
20442044 .avrtiny,
20452045 }),
20462046 };
2047 pub const attiny804 = CpuModel{
2047 pub const attiny804: CpuModel = .{
20482048 .name = "attiny804",
20492049 .llvm_name = "attiny804",
20502050 .features = featureSet(&[_]Feature{
20512051 .xmega3,
20522052 }),
20532053 };
2054 pub const attiny806 = CpuModel{
2054 pub const attiny806: CpuModel = .{
20552055 .name = "attiny806",
20562056 .llvm_name = "attiny806",
20572057 .features = featureSet(&[_]Feature{
20582058 .xmega3,
20592059 }),
20602060 };
2061 pub const attiny807 = CpuModel{
2061 pub const attiny807: CpuModel = .{
20622062 .name = "attiny807",
20632063 .llvm_name = "attiny807",
20642064 .features = featureSet(&[_]Feature{
20652065 .xmega3,
20662066 }),
20672067 };
2068 pub const attiny814 = CpuModel{
2068 pub const attiny814: CpuModel = .{
20692069 .name = "attiny814",
20702070 .llvm_name = "attiny814",
20712071 .features = featureSet(&[_]Feature{
20722072 .xmega3,
20732073 }),
20742074 };
2075 pub const attiny816 = CpuModel{
2075 pub const attiny816: CpuModel = .{
20762076 .name = "attiny816",
20772077 .llvm_name = "attiny816",
20782078 .features = featureSet(&[_]Feature{
20792079 .xmega3,
20802080 }),
20812081 };
2082 pub const attiny817 = CpuModel{
2082 pub const attiny817: CpuModel = .{
20832083 .name = "attiny817",
20842084 .llvm_name = "attiny817",
20852085 .features = featureSet(&[_]Feature{
20862086 .xmega3,
20872087 }),
20882088 };
2089 pub const attiny828 = CpuModel{
2089 pub const attiny828: CpuModel = .{
20902090 .name = "attiny828",
20912091 .llvm_name = "attiny828",
20922092 .features = featureSet(&[_]Feature{
20932093 .avr25,
20942094 }),
20952095 };
2096 pub const attiny84 = CpuModel{
2096 pub const attiny84: CpuModel = .{
20972097 .name = "attiny84",
20982098 .llvm_name = "attiny84",
20992099 .features = featureSet(&[_]Feature{
21002100 .avr25,
21012101 }),
21022102 };
2103 pub const attiny841 = CpuModel{
2103 pub const attiny841: CpuModel = .{
21042104 .name = "attiny841",
21052105 .llvm_name = "attiny841",
21062106 .features = featureSet(&[_]Feature{
21072107 .avr25,
21082108 }),
21092109 };
2110 pub const attiny84a = CpuModel{
2110 pub const attiny84a: CpuModel = .{
21112111 .name = "attiny84a",
21122112 .llvm_name = "attiny84a",
21132113 .features = featureSet(&[_]Feature{
21142114 .avr25,
21152115 }),
21162116 };
2117 pub const attiny85 = CpuModel{
2117 pub const attiny85: CpuModel = .{
21182118 .name = "attiny85",
21192119 .llvm_name = "attiny85",
21202120 .features = featureSet(&[_]Feature{
21212121 .avr25,
21222122 }),
21232123 };
2124 pub const attiny861 = CpuModel{
2124 pub const attiny861: CpuModel = .{
21252125 .name = "attiny861",
21262126 .llvm_name = "attiny861",
21272127 .features = featureSet(&[_]Feature{
21282128 .avr25,
21292129 }),
21302130 };
2131 pub const attiny861a = CpuModel{
2131 pub const attiny861a: CpuModel = .{
21322132 .name = "attiny861a",
21332133 .llvm_name = "attiny861a",
21342134 .features = featureSet(&[_]Feature{
21352135 .avr25,
21362136 }),
21372137 };
2138 pub const attiny87 = CpuModel{
2138 pub const attiny87: CpuModel = .{
21392139 .name = "attiny87",
21402140 .llvm_name = "attiny87",
21412141 .features = featureSet(&[_]Feature{
21422142 .avr25,
21432143 }),
21442144 };
2145 pub const attiny88 = CpuModel{
2145 pub const attiny88: CpuModel = .{
21462146 .name = "attiny88",
21472147 .llvm_name = "attiny88",
21482148 .features = featureSet(&[_]Feature{
21492149 .avr25,
21502150 }),
21512151 };
2152 pub const attiny9 = CpuModel{
2152 pub const attiny9: CpuModel = .{
21532153 .name = "attiny9",
21542154 .llvm_name = "attiny9",
21552155 .features = featureSet(&[_]Feature{
21562156 .avrtiny,
21572157 }),
21582158 };
2159 pub const atxmega128a1 = CpuModel{
2159 pub const atxmega128a1: CpuModel = .{
21602160 .name = "atxmega128a1",
21612161 .llvm_name = "atxmega128a1",
21622162 .features = featureSet(&[_]Feature{
21632163 .xmega,
21642164 }),
21652165 };
2166 pub const atxmega128a1u = CpuModel{
2166 pub const atxmega128a1u: CpuModel = .{
21672167 .name = "atxmega128a1u",
21682168 .llvm_name = "atxmega128a1u",
21692169 .features = featureSet(&[_]Feature{
21702170 .xmegau,
21712171 }),
21722172 };
2173 pub const atxmega128a3 = CpuModel{
2173 pub const atxmega128a3: CpuModel = .{
21742174 .name = "atxmega128a3",
21752175 .llvm_name = "atxmega128a3",
21762176 .features = featureSet(&[_]Feature{
21772177 .xmega,
21782178 }),
21792179 };
2180 pub const atxmega128a3u = CpuModel{
2180 pub const atxmega128a3u: CpuModel = .{
21812181 .name = "atxmega128a3u",
21822182 .llvm_name = "atxmega128a3u",
21832183 .features = featureSet(&[_]Feature{
21842184 .xmegau,
21852185 }),
21862186 };
2187 pub const atxmega128a4u = CpuModel{
2187 pub const atxmega128a4u: CpuModel = .{
21882188 .name = "atxmega128a4u",
21892189 .llvm_name = "atxmega128a4u",
21902190 .features = featureSet(&[_]Feature{
21912191 .xmegau,
21922192 }),
21932193 };
2194 pub const atxmega128b1 = CpuModel{
2194 pub const atxmega128b1: CpuModel = .{
21952195 .name = "atxmega128b1",
21962196 .llvm_name = "atxmega128b1",
21972197 .features = featureSet(&[_]Feature{
21982198 .xmegau,
21992199 }),
22002200 };
2201 pub const atxmega128b3 = CpuModel{
2201 pub const atxmega128b3: CpuModel = .{
22022202 .name = "atxmega128b3",
22032203 .llvm_name = "atxmega128b3",
22042204 .features = featureSet(&[_]Feature{
22052205 .xmegau,
22062206 }),
22072207 };
2208 pub const atxmega128c3 = CpuModel{
2208 pub const atxmega128c3: CpuModel = .{
22092209 .name = "atxmega128c3",
22102210 .llvm_name = "atxmega128c3",
22112211 .features = featureSet(&[_]Feature{
22122212 .xmegau,
22132213 }),
22142214 };
2215 pub const atxmega128d3 = CpuModel{
2215 pub const atxmega128d3: CpuModel = .{
22162216 .name = "atxmega128d3",
22172217 .llvm_name = "atxmega128d3",
22182218 .features = featureSet(&[_]Feature{
22192219 .xmega,
22202220 }),
22212221 };
2222 pub const atxmega128d4 = CpuModel{
2222 pub const atxmega128d4: CpuModel = .{
22232223 .name = "atxmega128d4",
22242224 .llvm_name = "atxmega128d4",
22252225 .features = featureSet(&[_]Feature{
22262226 .xmega,
22272227 }),
22282228 };
2229 pub const atxmega16a4 = CpuModel{
2229 pub const atxmega16a4: CpuModel = .{
22302230 .name = "atxmega16a4",
22312231 .llvm_name = "atxmega16a4",
22322232 .features = featureSet(&[_]Feature{
22332233 .xmega,
22342234 }),
22352235 };
2236 pub const atxmega16a4u = CpuModel{
2236 pub const atxmega16a4u: CpuModel = .{
22372237 .name = "atxmega16a4u",
22382238 .llvm_name = "atxmega16a4u",
22392239 .features = featureSet(&[_]Feature{
22402240 .xmegau,
22412241 }),
22422242 };
2243 pub const atxmega16c4 = CpuModel{
2243 pub const atxmega16c4: CpuModel = .{
22442244 .name = "atxmega16c4",
22452245 .llvm_name = "atxmega16c4",
22462246 .features = featureSet(&[_]Feature{
22472247 .xmegau,
22482248 }),
22492249 };
2250 pub const atxmega16d4 = CpuModel{
2250 pub const atxmega16d4: CpuModel = .{
22512251 .name = "atxmega16d4",
22522252 .llvm_name = "atxmega16d4",
22532253 .features = featureSet(&[_]Feature{
22542254 .xmega,
22552255 }),
22562256 };
2257 pub const atxmega16e5 = CpuModel{
2257 pub const atxmega16e5: CpuModel = .{
22582258 .name = "atxmega16e5",
22592259 .llvm_name = "atxmega16e5",
22602260 .features = featureSet(&[_]Feature{
22612261 .xmegau,
22622262 }),
22632263 };
2264 pub const atxmega192a3 = CpuModel{
2264 pub const atxmega192a3: CpuModel = .{
22652265 .name = "atxmega192a3",
22662266 .llvm_name = "atxmega192a3",
22672267 .features = featureSet(&[_]Feature{
22682268 .xmega,
22692269 }),
22702270 };
2271 pub const atxmega192a3u = CpuModel{
2271 pub const atxmega192a3u: CpuModel = .{
22722272 .name = "atxmega192a3u",
22732273 .llvm_name = "atxmega192a3u",
22742274 .features = featureSet(&[_]Feature{
22752275 .xmegau,
22762276 }),
22772277 };
2278 pub const atxmega192c3 = CpuModel{
2278 pub const atxmega192c3: CpuModel = .{
22792279 .name = "atxmega192c3",
22802280 .llvm_name = "atxmega192c3",
22812281 .features = featureSet(&[_]Feature{
22822282 .xmegau,
22832283 }),
22842284 };
2285 pub const atxmega192d3 = CpuModel{
2285 pub const atxmega192d3: CpuModel = .{
22862286 .name = "atxmega192d3",
22872287 .llvm_name = "atxmega192d3",
22882288 .features = featureSet(&[_]Feature{
22892289 .xmega,
22902290 }),
22912291 };
2292 pub const atxmega256a3 = CpuModel{
2292 pub const atxmega256a3: CpuModel = .{
22932293 .name = "atxmega256a3",
22942294 .llvm_name = "atxmega256a3",
22952295 .features = featureSet(&[_]Feature{
22962296 .xmega,
22972297 }),
22982298 };
2299 pub const atxmega256a3b = CpuModel{
2299 pub const atxmega256a3b: CpuModel = .{
23002300 .name = "atxmega256a3b",
23012301 .llvm_name = "atxmega256a3b",
23022302 .features = featureSet(&[_]Feature{
23032303 .xmega,
23042304 }),
23052305 };
2306 pub const atxmega256a3bu = CpuModel{
2306 pub const atxmega256a3bu: CpuModel = .{
23072307 .name = "atxmega256a3bu",
23082308 .llvm_name = "atxmega256a3bu",
23092309 .features = featureSet(&[_]Feature{
23102310 .xmegau,
23112311 }),
23122312 };
2313 pub const atxmega256a3u = CpuModel{
2313 pub const atxmega256a3u: CpuModel = .{
23142314 .name = "atxmega256a3u",
23152315 .llvm_name = "atxmega256a3u",
23162316 .features = featureSet(&[_]Feature{
23172317 .xmegau,
23182318 }),
23192319 };
2320 pub const atxmega256c3 = CpuModel{
2320 pub const atxmega256c3: CpuModel = .{
23212321 .name = "atxmega256c3",
23222322 .llvm_name = "atxmega256c3",
23232323 .features = featureSet(&[_]Feature{
23242324 .xmegau,
23252325 }),
23262326 };
2327 pub const atxmega256d3 = CpuModel{
2327 pub const atxmega256d3: CpuModel = .{
23282328 .name = "atxmega256d3",
23292329 .llvm_name = "atxmega256d3",
23302330 .features = featureSet(&[_]Feature{
23312331 .xmega,
23322332 }),
23332333 };
2334 pub const atxmega32a4 = CpuModel{
2334 pub const atxmega32a4: CpuModel = .{
23352335 .name = "atxmega32a4",
23362336 .llvm_name = "atxmega32a4",
23372337 .features = featureSet(&[_]Feature{
23382338 .xmega,
23392339 }),
23402340 };
2341 pub const atxmega32a4u = CpuModel{
2341 pub const atxmega32a4u: CpuModel = .{
23422342 .name = "atxmega32a4u",
23432343 .llvm_name = "atxmega32a4u",
23442344 .features = featureSet(&[_]Feature{
23452345 .xmegau,
23462346 }),
23472347 };
2348 pub const atxmega32c3 = CpuModel{
2348 pub const atxmega32c3: CpuModel = .{
23492349 .name = "atxmega32c3",
23502350 .llvm_name = "atxmega32c3",
23512351 .features = featureSet(&[_]Feature{
23522352 .xmegau,
23532353 }),
23542354 };
2355 pub const atxmega32c4 = CpuModel{
2355 pub const atxmega32c4: CpuModel = .{
23562356 .name = "atxmega32c4",
23572357 .llvm_name = "atxmega32c4",
23582358 .features = featureSet(&[_]Feature{
23592359 .xmegau,
23602360 }),
23612361 };
2362 pub const atxmega32d3 = CpuModel{
2362 pub const atxmega32d3: CpuModel = .{
23632363 .name = "atxmega32d3",
23642364 .llvm_name = "atxmega32d3",
23652365 .features = featureSet(&[_]Feature{
23662366 .xmega,
23672367 }),
23682368 };
2369 pub const atxmega32d4 = CpuModel{
2369 pub const atxmega32d4: CpuModel = .{
23702370 .name = "atxmega32d4",
23712371 .llvm_name = "atxmega32d4",
23722372 .features = featureSet(&[_]Feature{
23732373 .xmega,
23742374 }),
23752375 };
2376 pub const atxmega32e5 = CpuModel{
2376 pub const atxmega32e5: CpuModel = .{
23772377 .name = "atxmega32e5",
23782378 .llvm_name = "atxmega32e5",
23792379 .features = featureSet(&[_]Feature{
23802380 .xmegau,
23812381 }),
23822382 };
2383 pub const atxmega384c3 = CpuModel{
2383 pub const atxmega384c3: CpuModel = .{
23842384 .name = "atxmega384c3",
23852385 .llvm_name = "atxmega384c3",
23862386 .features = featureSet(&[_]Feature{
23872387 .xmegau,
23882388 }),
23892389 };
2390 pub const atxmega384d3 = CpuModel{
2390 pub const atxmega384d3: CpuModel = .{
23912391 .name = "atxmega384d3",
23922392 .llvm_name = "atxmega384d3",
23932393 .features = featureSet(&[_]Feature{
23942394 .xmega,
23952395 }),
23962396 };
2397 pub const atxmega64a1 = CpuModel{
2397 pub const atxmega64a1: CpuModel = .{
23982398 .name = "atxmega64a1",
23992399 .llvm_name = "atxmega64a1",
24002400 .features = featureSet(&[_]Feature{
24012401 .xmega,
24022402 }),
24032403 };
2404 pub const atxmega64a1u = CpuModel{
2404 pub const atxmega64a1u: CpuModel = .{
24052405 .name = "atxmega64a1u",
24062406 .llvm_name = "atxmega64a1u",
24072407 .features = featureSet(&[_]Feature{
24082408 .xmegau,
24092409 }),
24102410 };
2411 pub const atxmega64a3 = CpuModel{
2411 pub const atxmega64a3: CpuModel = .{
24122412 .name = "atxmega64a3",
24132413 .llvm_name = "atxmega64a3",
24142414 .features = featureSet(&[_]Feature{
24152415 .xmega,
24162416 }),
24172417 };
2418 pub const atxmega64a3u = CpuModel{
2418 pub const atxmega64a3u: CpuModel = .{
24192419 .name = "atxmega64a3u",
24202420 .llvm_name = "atxmega64a3u",
24212421 .features = featureSet(&[_]Feature{
24222422 .xmegau,
24232423 }),
24242424 };
2425 pub const atxmega64a4u = CpuModel{
2425 pub const atxmega64a4u: CpuModel = .{
24262426 .name = "atxmega64a4u",
24272427 .llvm_name = "atxmega64a4u",
24282428 .features = featureSet(&[_]Feature{
24292429 .xmegau,
24302430 }),
24312431 };
2432 pub const atxmega64b1 = CpuModel{
2432 pub const atxmega64b1: CpuModel = .{
24332433 .name = "atxmega64b1",
24342434 .llvm_name = "atxmega64b1",
24352435 .features = featureSet(&[_]Feature{
24362436 .xmegau,
24372437 }),
24382438 };
2439 pub const atxmega64b3 = CpuModel{
2439 pub const atxmega64b3: CpuModel = .{
24402440 .name = "atxmega64b3",
24412441 .llvm_name = "atxmega64b3",
24422442 .features = featureSet(&[_]Feature{
24432443 .xmegau,
24442444 }),
24452445 };
2446 pub const atxmega64c3 = CpuModel{
2446 pub const atxmega64c3: CpuModel = .{
24472447 .name = "atxmega64c3",
24482448 .llvm_name = "atxmega64c3",
24492449 .features = featureSet(&[_]Feature{
24502450 .xmegau,
24512451 }),
24522452 };
2453 pub const atxmega64d3 = CpuModel{
2453 pub const atxmega64d3: CpuModel = .{
24542454 .name = "atxmega64d3",
24552455 .llvm_name = "atxmega64d3",
24562456 .features = featureSet(&[_]Feature{
24572457 .xmega,
24582458 }),
24592459 };
2460 pub const atxmega64d4 = CpuModel{
2460 pub const atxmega64d4: CpuModel = .{
24612461 .name = "atxmega64d4",
24622462 .llvm_name = "atxmega64d4",
24632463 .features = featureSet(&[_]Feature{
24642464 .xmega,
24652465 }),
24662466 };
2467 pub const atxmega8e5 = CpuModel{
2467 pub const atxmega8e5: CpuModel = .{
24682468 .name = "atxmega8e5",
24692469 .llvm_name = "atxmega8e5",
24702470 .features = featureSet(&[_]Feature{
24712471 .xmegau,
24722472 }),
24732473 };
2474 pub const avr1 = CpuModel{
2474 pub const avr1: CpuModel = .{
24752475 .name = "avr1",
24762476 .llvm_name = "avr1",
24772477 .features = featureSet(&[_]Feature{
24782478 .avr1,
24792479 }),
24802480 };
2481 pub const avr2 = CpuModel{
2481 pub const avr2: CpuModel = .{
24822482 .name = "avr2",
24832483 .llvm_name = "avr2",
24842484 .features = featureSet(&[_]Feature{
24852485 .avr2,
24862486 }),
24872487 };
2488 pub const avr25 = CpuModel{
2488 pub const avr25: CpuModel = .{
24892489 .name = "avr25",
24902490 .llvm_name = "avr25",
24912491 .features = featureSet(&[_]Feature{
24922492 .avr25,
24932493 }),
24942494 };
2495 pub const avr3 = CpuModel{
2495 pub const avr3: CpuModel = .{
24962496 .name = "avr3",
24972497 .llvm_name = "avr3",
24982498 .features = featureSet(&[_]Feature{
24992499 .avr3,
25002500 }),
25012501 };
2502 pub const avr31 = CpuModel{
2502 pub const avr31: CpuModel = .{
25032503 .name = "avr31",
25042504 .llvm_name = "avr31",
25052505 .features = featureSet(&[_]Feature{
25062506 .avr31,
25072507 }),
25082508 };
2509 pub const avr35 = CpuModel{
2509 pub const avr35: CpuModel = .{
25102510 .name = "avr35",
25112511 .llvm_name = "avr35",
25122512 .features = featureSet(&[_]Feature{
25132513 .avr35,
25142514 }),
25152515 };
2516 pub const avr4 = CpuModel{
2516 pub const avr4: CpuModel = .{
25172517 .name = "avr4",
25182518 .llvm_name = "avr4",
25192519 .features = featureSet(&[_]Feature{
25202520 .avr4,
25212521 }),
25222522 };
2523 pub const avr5 = CpuModel{
2523 pub const avr5: CpuModel = .{
25242524 .name = "avr5",
25252525 .llvm_name = "avr5",
25262526 .features = featureSet(&[_]Feature{
25272527 .avr5,
25282528 }),
25292529 };
2530 pub const avr51 = CpuModel{
2530 pub const avr51: CpuModel = .{
25312531 .name = "avr51",
25322532 .llvm_name = "avr51",
25332533 .features = featureSet(&[_]Feature{
25342534 .avr51,
25352535 }),
25362536 };
2537 pub const avr6 = CpuModel{
2537 pub const avr6: CpuModel = .{
25382538 .name = "avr6",
25392539 .llvm_name = "avr6",
25402540 .features = featureSet(&[_]Feature{
25412541 .avr6,
25422542 }),
25432543 };
2544 pub const avrtiny = CpuModel{
2544 pub const avrtiny: CpuModel = .{
25452545 .name = "avrtiny",
25462546 .llvm_name = "avrtiny",
25472547 .features = featureSet(&[_]Feature{
25482548 .avrtiny,
25492549 }),
25502550 };
2551 pub const avrxmega1 = CpuModel{
2551 pub const avrxmega1: CpuModel = .{
25522552 .name = "avrxmega1",
25532553 .llvm_name = "avrxmega1",
25542554 .features = featureSet(&[_]Feature{
25552555 .xmega,
25562556 }),
25572557 };
2558 pub const avrxmega2 = CpuModel{
2558 pub const avrxmega2: CpuModel = .{
25592559 .name = "avrxmega2",
25602560 .llvm_name = "avrxmega2",
25612561 .features = featureSet(&[_]Feature{
25622562 .xmega,
25632563 }),
25642564 };
2565 pub const avrxmega3 = CpuModel{
2565 pub const avrxmega3: CpuModel = .{
25662566 .name = "avrxmega3",
25672567 .llvm_name = "avrxmega3",
25682568 .features = featureSet(&[_]Feature{
25692569 .xmega3,
25702570 }),
25712571 };
2572 pub const avrxmega4 = CpuModel{
2572 pub const avrxmega4: CpuModel = .{
25732573 .name = "avrxmega4",
25742574 .llvm_name = "avrxmega4",
25752575 .features = featureSet(&[_]Feature{
25762576 .xmega,
25772577 }),
25782578 };
2579 pub const avrxmega5 = CpuModel{
2579 pub const avrxmega5: CpuModel = .{
25802580 .name = "avrxmega5",
25812581 .llvm_name = "avrxmega5",
25822582 .features = featureSet(&[_]Feature{
25832583 .xmega,
25842584 }),
25852585 };
2586 pub const avrxmega6 = CpuModel{
2586 pub const avrxmega6: CpuModel = .{
25872587 .name = "avrxmega6",
25882588 .llvm_name = "avrxmega6",
25892589 .features = featureSet(&[_]Feature{
25902590 .xmega,
25912591 }),
25922592 };
2593 pub const avrxmega7 = CpuModel{
2593 pub const avrxmega7: CpuModel = .{
25942594 .name = "avrxmega7",
25952595 .llvm_name = "avrxmega7",
25962596 .features = featureSet(&[_]Feature{
25972597 .xmega,
25982598 }),
25992599 };
2600 pub const m3000 = CpuModel{
2600 pub const m3000: CpuModel = .{
26012601 .name = "m3000",
26022602 .llvm_name = "m3000",
26032603 .features = featureSet(&[_]Feature{
lib/std/Target/bpf.zig+6-6
......@@ -43,34 +43,34 @@ pub const all_features = blk: {
4343};
4444
4545pub const cpu = struct {
46 pub const generic = CpuModel{
46 pub const generic: CpuModel = .{
4747 .name = "generic",
4848 .llvm_name = "generic",
4949 .features = featureSet(&[_]Feature{}),
5050 };
51 pub const probe = CpuModel{
51 pub const probe: CpuModel = .{
5252 .name = "probe",
5353 .llvm_name = "probe",
5454 .features = featureSet(&[_]Feature{}),
5555 };
56 pub const v1 = CpuModel{
56 pub const v1: CpuModel = .{
5757 .name = "v1",
5858 .llvm_name = "v1",
5959 .features = featureSet(&[_]Feature{}),
6060 };
61 pub const v2 = CpuModel{
61 pub const v2: CpuModel = .{
6262 .name = "v2",
6363 .llvm_name = "v2",
6464 .features = featureSet(&[_]Feature{}),
6565 };
66 pub const v3 = CpuModel{
66 pub const v3: CpuModel = .{
6767 .name = "v3",
6868 .llvm_name = "v3",
6969 .features = featureSet(&[_]Feature{
7070 .alu32,
7171 }),
7272 };
73 pub const v4 = CpuModel{
73 pub const v4: CpuModel = .{
7474 .name = "v4",
7575 .llvm_name = "v4",
7676 .features = featureSet(&[_]Feature{
lib/std/Target/csky.zig+159-159
......@@ -214,7 +214,7 @@ pub const all_features = blk: {
214214 };
215215 result[@intFromEnum(Feature.dsp_silan)] = .{
216216 .llvm_name = "dsp_silan",
217 .description = "Enable DSP Silan instructions",
217 .description = "Enable DSP Silan instrutions",
218218 .dependencies = featureSet(&[_]Feature{}),
219219 };
220220 result[@intFromEnum(Feature.dspe60)] = .{
......@@ -224,7 +224,7 @@ pub const all_features = blk: {
224224 };
225225 result[@intFromEnum(Feature.dspv2)] = .{
226226 .llvm_name = "dspv2",
227 .description = "Enable DSP V2.0 instructions",
227 .description = "Enable DSP V2.0 instrutions",
228228 .dependencies = featureSet(&[_]Feature{}),
229229 };
230230 result[@intFromEnum(Feature.e1)] = .{
......@@ -243,7 +243,7 @@ pub const all_features = blk: {
243243 };
244244 result[@intFromEnum(Feature.edsp)] = .{
245245 .llvm_name = "edsp",
246 .description = "Enable DSP instructions",
246 .description = "Enable DSP instrutions",
247247 .dependencies = featureSet(&[_]Feature{}),
248248 };
249249 result[@intFromEnum(Feature.elrw)] = .{
......@@ -333,12 +333,12 @@ pub const all_features = blk: {
333333 };
334334 result[@intFromEnum(Feature.hwdiv)] = .{
335335 .llvm_name = "hwdiv",
336 .description = "Enable divide instructions",
336 .description = "Enable divide instrutions",
337337 .dependencies = featureSet(&[_]Feature{}),
338338 };
339339 result[@intFromEnum(Feature.istack)] = .{
340340 .llvm_name = "istack",
341 .description = "Enable interrupt attribute",
341 .description = "Enable interrput attribute",
342342 .dependencies = featureSet(&[_]Feature{}),
343343 };
344344 result[@intFromEnum(Feature.java)] = .{
......@@ -362,7 +362,7 @@ pub const all_features = blk: {
362362 };
363363 result[@intFromEnum(Feature.multiple_stld)] = .{
364364 .llvm_name = "multiple_stld",
365 .description = "Enable multiple load/store instructions",
365 .description = "Enable multiple load/store instrutions",
366366 .dependencies = featureSet(&[_]Feature{}),
367367 };
368368 result[@intFromEnum(Feature.nvic)] = .{
......@@ -372,7 +372,7 @@ pub const all_features = blk: {
372372 };
373373 result[@intFromEnum(Feature.pushpop)] = .{
374374 .llvm_name = "pushpop",
375 .description = "Enable push/pop instructions",
375 .description = "Enable push/pop instrutions",
376376 .dependencies = featureSet(&[_]Feature{}),
377377 };
378378 result[@intFromEnum(Feature.smart)] = .{
......@@ -424,7 +424,7 @@ pub const all_features = blk: {
424424};
425425
426426pub const cpu = struct {
427 pub const c807 = CpuModel{
427 pub const c807: CpuModel = .{
428428 .name = "c807",
429429 .llvm_name = "c807",
430430 .features = featureSet(&[_]Feature{
......@@ -442,7 +442,7 @@ pub const cpu = struct {
442442 .trust,
443443 }),
444444 };
445 pub const c807f = CpuModel{
445 pub const c807f: CpuModel = .{
446446 .name = "c807f",
447447 .llvm_name = "c807f",
448448 .features = featureSet(&[_]Feature{
......@@ -467,7 +467,7 @@ pub const cpu = struct {
467467 .trust,
468468 }),
469469 };
470 pub const c810 = CpuModel{
470 pub const c810: CpuModel = .{
471471 .name = "c810",
472472 .llvm_name = "c810",
473473 .features = featureSet(&[_]Feature{
......@@ -491,7 +491,7 @@ pub const cpu = struct {
491491 .trust,
492492 }),
493493 };
494 pub const c810t = CpuModel{
494 pub const c810t: CpuModel = .{
495495 .name = "c810t",
496496 .llvm_name = "c810t",
497497 .features = featureSet(&[_]Feature{
......@@ -515,7 +515,7 @@ pub const cpu = struct {
515515 .trust,
516516 }),
517517 };
518 pub const c810tv = CpuModel{
518 pub const c810tv: CpuModel = .{
519519 .name = "c810tv",
520520 .llvm_name = "c810tv",
521521 .features = featureSet(&[_]Feature{
......@@ -541,7 +541,7 @@ pub const cpu = struct {
541541 .vdspv1,
542542 }),
543543 };
544 pub const c810v = CpuModel{
544 pub const c810v: CpuModel = .{
545545 .name = "c810v",
546546 .llvm_name = "c810v",
547547 .features = featureSet(&[_]Feature{
......@@ -567,7 +567,7 @@ pub const cpu = struct {
567567 .vdspv1,
568568 }),
569569 };
570 pub const c860 = CpuModel{
570 pub const c860: CpuModel = .{
571571 .name = "c860",
572572 .llvm_name = "c860",
573573 .features = featureSet(&[_]Feature{
......@@ -592,7 +592,7 @@ pub const cpu = struct {
592592 .trust,
593593 }),
594594 };
595 pub const c860v = CpuModel{
595 pub const c860v: CpuModel = .{
596596 .name = "c860v",
597597 .llvm_name = "c860v",
598598 .features = featureSet(&[_]Feature{
......@@ -620,7 +620,7 @@ pub const cpu = struct {
620620 .vdspv2,
621621 }),
622622 };
623 pub const ck801 = CpuModel{
623 pub const ck801: CpuModel = .{
624624 .name = "ck801",
625625 .llvm_name = "ck801",
626626 .features = featureSet(&[_]Feature{
......@@ -630,7 +630,7 @@ pub const cpu = struct {
630630 .trust,
631631 }),
632632 };
633 pub const ck801t = CpuModel{
633 pub const ck801t: CpuModel = .{
634634 .name = "ck801t",
635635 .llvm_name = "ck801t",
636636 .features = featureSet(&[_]Feature{
......@@ -640,7 +640,7 @@ pub const cpu = struct {
640640 .trust,
641641 }),
642642 };
643 pub const ck802 = CpuModel{
643 pub const ck802: CpuModel = .{
644644 .name = "ck802",
645645 .llvm_name = "ck802",
646646 .features = featureSet(&[_]Feature{
......@@ -651,7 +651,7 @@ pub const cpu = struct {
651651 .trust,
652652 }),
653653 };
654 pub const ck802j = CpuModel{
654 pub const ck802j: CpuModel = .{
655655 .name = "ck802j",
656656 .llvm_name = "ck802j",
657657 .features = featureSet(&[_]Feature{
......@@ -663,7 +663,7 @@ pub const cpu = struct {
663663 .trust,
664664 }),
665665 };
666 pub const ck802t = CpuModel{
666 pub const ck802t: CpuModel = .{
667667 .name = "ck802t",
668668 .llvm_name = "ck802t",
669669 .features = featureSet(&[_]Feature{
......@@ -674,7 +674,7 @@ pub const cpu = struct {
674674 .trust,
675675 }),
676676 };
677 pub const ck803 = CpuModel{
677 pub const ck803: CpuModel = .{
678678 .name = "ck803",
679679 .llvm_name = "ck803",
680680 .features = featureSet(&[_]Feature{
......@@ -686,7 +686,7 @@ pub const cpu = struct {
686686 .trust,
687687 }),
688688 };
689 pub const ck803e = CpuModel{
689 pub const ck803e: CpuModel = .{
690690 .name = "ck803e",
691691 .llvm_name = "ck803e",
692692 .features = featureSet(&[_]Feature{
......@@ -701,7 +701,7 @@ pub const cpu = struct {
701701 .trust,
702702 }),
703703 };
704 pub const ck803ef = CpuModel{
704 pub const ck803ef: CpuModel = .{
705705 .name = "ck803ef",
706706 .llvm_name = "ck803ef",
707707 .features = featureSet(&[_]Feature{
......@@ -719,7 +719,7 @@ pub const cpu = struct {
719719 .trust,
720720 }),
721721 };
722 pub const ck803efh = CpuModel{
722 pub const ck803efh: CpuModel = .{
723723 .name = "ck803efh",
724724 .llvm_name = "ck803efh",
725725 .features = featureSet(&[_]Feature{
......@@ -737,7 +737,7 @@ pub const cpu = struct {
737737 .trust,
738738 }),
739739 };
740 pub const ck803efhr1 = CpuModel{
740 pub const ck803efhr1: CpuModel = .{
741741 .name = "ck803efhr1",
742742 .llvm_name = "ck803efhr1",
743743 .features = featureSet(&[_]Feature{
......@@ -758,7 +758,7 @@ pub const cpu = struct {
758758 .trust,
759759 }),
760760 };
761 pub const ck803efhr2 = CpuModel{
761 pub const ck803efhr2: CpuModel = .{
762762 .name = "ck803efhr2",
763763 .llvm_name = "ck803efhr2",
764764 .features = featureSet(&[_]Feature{
......@@ -780,7 +780,7 @@ pub const cpu = struct {
780780 .trust,
781781 }),
782782 };
783 pub const ck803efhr3 = CpuModel{
783 pub const ck803efhr3: CpuModel = .{
784784 .name = "ck803efhr3",
785785 .llvm_name = "ck803efhr3",
786786 .features = featureSet(&[_]Feature{
......@@ -802,7 +802,7 @@ pub const cpu = struct {
802802 .trust,
803803 }),
804804 };
805 pub const ck803efht = CpuModel{
805 pub const ck803efht: CpuModel = .{
806806 .name = "ck803efht",
807807 .llvm_name = "ck803efht",
808808 .features = featureSet(&[_]Feature{
......@@ -820,7 +820,7 @@ pub const cpu = struct {
820820 .trust,
821821 }),
822822 };
823 pub const ck803efhtr1 = CpuModel{
823 pub const ck803efhtr1: CpuModel = .{
824824 .name = "ck803efhtr1",
825825 .llvm_name = "ck803efhtr1",
826826 .features = featureSet(&[_]Feature{
......@@ -841,7 +841,7 @@ pub const cpu = struct {
841841 .trust,
842842 }),
843843 };
844 pub const ck803efhtr2 = CpuModel{
844 pub const ck803efhtr2: CpuModel = .{
845845 .name = "ck803efhtr2",
846846 .llvm_name = "ck803efhtr2",
847847 .features = featureSet(&[_]Feature{
......@@ -863,7 +863,7 @@ pub const cpu = struct {
863863 .trust,
864864 }),
865865 };
866 pub const ck803efhtr3 = CpuModel{
866 pub const ck803efhtr3: CpuModel = .{
867867 .name = "ck803efhtr3",
868868 .llvm_name = "ck803efhtr3",
869869 .features = featureSet(&[_]Feature{
......@@ -885,7 +885,7 @@ pub const cpu = struct {
885885 .trust,
886886 }),
887887 };
888 pub const ck803efr1 = CpuModel{
888 pub const ck803efr1: CpuModel = .{
889889 .name = "ck803efr1",
890890 .llvm_name = "ck803efr1",
891891 .features = featureSet(&[_]Feature{
......@@ -906,7 +906,7 @@ pub const cpu = struct {
906906 .trust,
907907 }),
908908 };
909 pub const ck803efr2 = CpuModel{
909 pub const ck803efr2: CpuModel = .{
910910 .name = "ck803efr2",
911911 .llvm_name = "ck803efr2",
912912 .features = featureSet(&[_]Feature{
......@@ -928,7 +928,7 @@ pub const cpu = struct {
928928 .trust,
929929 }),
930930 };
931 pub const ck803efr3 = CpuModel{
931 pub const ck803efr3: CpuModel = .{
932932 .name = "ck803efr3",
933933 .llvm_name = "ck803efr3",
934934 .features = featureSet(&[_]Feature{
......@@ -950,7 +950,7 @@ pub const cpu = struct {
950950 .trust,
951951 }),
952952 };
953 pub const ck803eft = CpuModel{
953 pub const ck803eft: CpuModel = .{
954954 .name = "ck803eft",
955955 .llvm_name = "ck803eft",
956956 .features = featureSet(&[_]Feature{
......@@ -968,7 +968,7 @@ pub const cpu = struct {
968968 .trust,
969969 }),
970970 };
971 pub const ck803eftr1 = CpuModel{
971 pub const ck803eftr1: CpuModel = .{
972972 .name = "ck803eftr1",
973973 .llvm_name = "ck803eftr1",
974974 .features = featureSet(&[_]Feature{
......@@ -989,7 +989,7 @@ pub const cpu = struct {
989989 .trust,
990990 }),
991991 };
992 pub const ck803eftr2 = CpuModel{
992 pub const ck803eftr2: CpuModel = .{
993993 .name = "ck803eftr2",
994994 .llvm_name = "ck803eftr2",
995995 .features = featureSet(&[_]Feature{
......@@ -1011,7 +1011,7 @@ pub const cpu = struct {
10111011 .trust,
10121012 }),
10131013 };
1014 pub const ck803eftr3 = CpuModel{
1014 pub const ck803eftr3: CpuModel = .{
10151015 .name = "ck803eftr3",
10161016 .llvm_name = "ck803eftr3",
10171017 .features = featureSet(&[_]Feature{
......@@ -1033,7 +1033,7 @@ pub const cpu = struct {
10331033 .trust,
10341034 }),
10351035 };
1036 pub const ck803eh = CpuModel{
1036 pub const ck803eh: CpuModel = .{
10371037 .name = "ck803eh",
10381038 .llvm_name = "ck803eh",
10391039 .features = featureSet(&[_]Feature{
......@@ -1048,7 +1048,7 @@ pub const cpu = struct {
10481048 .trust,
10491049 }),
10501050 };
1051 pub const ck803ehr1 = CpuModel{
1051 pub const ck803ehr1: CpuModel = .{
10521052 .name = "ck803ehr1",
10531053 .llvm_name = "ck803ehr1",
10541054 .features = featureSet(&[_]Feature{
......@@ -1067,7 +1067,7 @@ pub const cpu = struct {
10671067 .trust,
10681068 }),
10691069 };
1070 pub const ck803ehr2 = CpuModel{
1070 pub const ck803ehr2: CpuModel = .{
10711071 .name = "ck803ehr2",
10721072 .llvm_name = "ck803ehr2",
10731073 .features = featureSet(&[_]Feature{
......@@ -1086,7 +1086,7 @@ pub const cpu = struct {
10861086 .trust,
10871087 }),
10881088 };
1089 pub const ck803ehr3 = CpuModel{
1089 pub const ck803ehr3: CpuModel = .{
10901090 .name = "ck803ehr3",
10911091 .llvm_name = "ck803ehr3",
10921092 .features = featureSet(&[_]Feature{
......@@ -1105,7 +1105,7 @@ pub const cpu = struct {
11051105 .trust,
11061106 }),
11071107 };
1108 pub const ck803eht = CpuModel{
1108 pub const ck803eht: CpuModel = .{
11091109 .name = "ck803eht",
11101110 .llvm_name = "ck803eht",
11111111 .features = featureSet(&[_]Feature{
......@@ -1120,7 +1120,7 @@ pub const cpu = struct {
11201120 .trust,
11211121 }),
11221122 };
1123 pub const ck803ehtr1 = CpuModel{
1123 pub const ck803ehtr1: CpuModel = .{
11241124 .name = "ck803ehtr1",
11251125 .llvm_name = "ck803ehtr1",
11261126 .features = featureSet(&[_]Feature{
......@@ -1139,7 +1139,7 @@ pub const cpu = struct {
11391139 .trust,
11401140 }),
11411141 };
1142 pub const ck803ehtr2 = CpuModel{
1142 pub const ck803ehtr2: CpuModel = .{
11431143 .name = "ck803ehtr2",
11441144 .llvm_name = "ck803ehtr2",
11451145 .features = featureSet(&[_]Feature{
......@@ -1158,7 +1158,7 @@ pub const cpu = struct {
11581158 .trust,
11591159 }),
11601160 };
1161 pub const ck803ehtr3 = CpuModel{
1161 pub const ck803ehtr3: CpuModel = .{
11621162 .name = "ck803ehtr3",
11631163 .llvm_name = "ck803ehtr3",
11641164 .features = featureSet(&[_]Feature{
......@@ -1177,7 +1177,7 @@ pub const cpu = struct {
11771177 .trust,
11781178 }),
11791179 };
1180 pub const ck803er1 = CpuModel{
1180 pub const ck803er1: CpuModel = .{
11811181 .name = "ck803er1",
11821182 .llvm_name = "ck803er1",
11831183 .features = featureSet(&[_]Feature{
......@@ -1196,7 +1196,7 @@ pub const cpu = struct {
11961196 .trust,
11971197 }),
11981198 };
1199 pub const ck803er2 = CpuModel{
1199 pub const ck803er2: CpuModel = .{
12001200 .name = "ck803er2",
12011201 .llvm_name = "ck803er2",
12021202 .features = featureSet(&[_]Feature{
......@@ -1215,7 +1215,7 @@ pub const cpu = struct {
12151215 .trust,
12161216 }),
12171217 };
1218 pub const ck803er3 = CpuModel{
1218 pub const ck803er3: CpuModel = .{
12191219 .name = "ck803er3",
12201220 .llvm_name = "ck803er3",
12211221 .features = featureSet(&[_]Feature{
......@@ -1234,7 +1234,7 @@ pub const cpu = struct {
12341234 .trust,
12351235 }),
12361236 };
1237 pub const ck803et = CpuModel{
1237 pub const ck803et: CpuModel = .{
12381238 .name = "ck803et",
12391239 .llvm_name = "ck803et",
12401240 .features = featureSet(&[_]Feature{
......@@ -1249,7 +1249,7 @@ pub const cpu = struct {
12491249 .trust,
12501250 }),
12511251 };
1252 pub const ck803etr1 = CpuModel{
1252 pub const ck803etr1: CpuModel = .{
12531253 .name = "ck803etr1",
12541254 .llvm_name = "ck803etr1",
12551255 .features = featureSet(&[_]Feature{
......@@ -1268,7 +1268,7 @@ pub const cpu = struct {
12681268 .trust,
12691269 }),
12701270 };
1271 pub const ck803etr2 = CpuModel{
1271 pub const ck803etr2: CpuModel = .{
12721272 .name = "ck803etr2",
12731273 .llvm_name = "ck803etr2",
12741274 .features = featureSet(&[_]Feature{
......@@ -1287,7 +1287,7 @@ pub const cpu = struct {
12871287 .trust,
12881288 }),
12891289 };
1290 pub const ck803etr3 = CpuModel{
1290 pub const ck803etr3: CpuModel = .{
12911291 .name = "ck803etr3",
12921292 .llvm_name = "ck803etr3",
12931293 .features = featureSet(&[_]Feature{
......@@ -1306,7 +1306,7 @@ pub const cpu = struct {
13061306 .trust,
13071307 }),
13081308 };
1309 pub const ck803f = CpuModel{
1309 pub const ck803f: CpuModel = .{
13101310 .name = "ck803f",
13111311 .llvm_name = "ck803f",
13121312 .features = featureSet(&[_]Feature{
......@@ -1321,7 +1321,7 @@ pub const cpu = struct {
13211321 .trust,
13221322 }),
13231323 };
1324 pub const ck803fh = CpuModel{
1324 pub const ck803fh: CpuModel = .{
13251325 .name = "ck803fh",
13261326 .llvm_name = "ck803fh",
13271327 .features = featureSet(&[_]Feature{
......@@ -1336,7 +1336,7 @@ pub const cpu = struct {
13361336 .trust,
13371337 }),
13381338 };
1339 pub const ck803fhr1 = CpuModel{
1339 pub const ck803fhr1: CpuModel = .{
13401340 .name = "ck803fhr1",
13411341 .llvm_name = "ck803fhr1",
13421342 .features = featureSet(&[_]Feature{
......@@ -1354,7 +1354,7 @@ pub const cpu = struct {
13541354 .trust,
13551355 }),
13561356 };
1357 pub const ck803fhr2 = CpuModel{
1357 pub const ck803fhr2: CpuModel = .{
13581358 .name = "ck803fhr2",
13591359 .llvm_name = "ck803fhr2",
13601360 .features = featureSet(&[_]Feature{
......@@ -1372,7 +1372,7 @@ pub const cpu = struct {
13721372 .trust,
13731373 }),
13741374 };
1375 pub const ck803fhr3 = CpuModel{
1375 pub const ck803fhr3: CpuModel = .{
13761376 .name = "ck803fhr3",
13771377 .llvm_name = "ck803fhr3",
13781378 .features = featureSet(&[_]Feature{
......@@ -1390,7 +1390,7 @@ pub const cpu = struct {
13901390 .trust,
13911391 }),
13921392 };
1393 pub const ck803fr1 = CpuModel{
1393 pub const ck803fr1: CpuModel = .{
13941394 .name = "ck803fr1",
13951395 .llvm_name = "ck803fr1",
13961396 .features = featureSet(&[_]Feature{
......@@ -1408,7 +1408,7 @@ pub const cpu = struct {
14081408 .trust,
14091409 }),
14101410 };
1411 pub const ck803fr2 = CpuModel{
1411 pub const ck803fr2: CpuModel = .{
14121412 .name = "ck803fr2",
14131413 .llvm_name = "ck803fr2",
14141414 .features = featureSet(&[_]Feature{
......@@ -1426,7 +1426,7 @@ pub const cpu = struct {
14261426 .trust,
14271427 }),
14281428 };
1429 pub const ck803fr3 = CpuModel{
1429 pub const ck803fr3: CpuModel = .{
14301430 .name = "ck803fr3",
14311431 .llvm_name = "ck803fr3",
14321432 .features = featureSet(&[_]Feature{
......@@ -1444,7 +1444,7 @@ pub const cpu = struct {
14441444 .trust,
14451445 }),
14461446 };
1447 pub const ck803ft = CpuModel{
1447 pub const ck803ft: CpuModel = .{
14481448 .name = "ck803ft",
14491449 .llvm_name = "ck803ft",
14501450 .features = featureSet(&[_]Feature{
......@@ -1459,7 +1459,7 @@ pub const cpu = struct {
14591459 .trust,
14601460 }),
14611461 };
1462 pub const ck803ftr1 = CpuModel{
1462 pub const ck803ftr1: CpuModel = .{
14631463 .name = "ck803ftr1",
14641464 .llvm_name = "ck803ftr1",
14651465 .features = featureSet(&[_]Feature{
......@@ -1476,7 +1476,7 @@ pub const cpu = struct {
14761476 .trust,
14771477 }),
14781478 };
1479 pub const ck803ftr2 = CpuModel{
1479 pub const ck803ftr2: CpuModel = .{
14801480 .name = "ck803ftr2",
14811481 .llvm_name = "ck803ftr2",
14821482 .features = featureSet(&[_]Feature{
......@@ -1494,7 +1494,7 @@ pub const cpu = struct {
14941494 .trust,
14951495 }),
14961496 };
1497 pub const ck803ftr3 = CpuModel{
1497 pub const ck803ftr3: CpuModel = .{
14981498 .name = "ck803ftr3",
14991499 .llvm_name = "ck803ftr3",
15001500 .features = featureSet(&[_]Feature{
......@@ -1512,7 +1512,7 @@ pub const cpu = struct {
15121512 .trust,
15131513 }),
15141514 };
1515 pub const ck803h = CpuModel{
1515 pub const ck803h: CpuModel = .{
15161516 .name = "ck803h",
15171517 .llvm_name = "ck803h",
15181518 .features = featureSet(&[_]Feature{
......@@ -1524,7 +1524,7 @@ pub const cpu = struct {
15241524 .trust,
15251525 }),
15261526 };
1527 pub const ck803hr1 = CpuModel{
1527 pub const ck803hr1: CpuModel = .{
15281528 .name = "ck803hr1",
15291529 .llvm_name = "ck803hr1",
15301530 .features = featureSet(&[_]Feature{
......@@ -1539,7 +1539,7 @@ pub const cpu = struct {
15391539 .trust,
15401540 }),
15411541 };
1542 pub const ck803hr2 = CpuModel{
1542 pub const ck803hr2: CpuModel = .{
15431543 .name = "ck803hr2",
15441544 .llvm_name = "ck803hr2",
15451545 .features = featureSet(&[_]Feature{
......@@ -1554,7 +1554,7 @@ pub const cpu = struct {
15541554 .trust,
15551555 }),
15561556 };
1557 pub const ck803hr3 = CpuModel{
1557 pub const ck803hr3: CpuModel = .{
15581558 .name = "ck803hr3",
15591559 .llvm_name = "ck803hr3",
15601560 .features = featureSet(&[_]Feature{
......@@ -1569,7 +1569,7 @@ pub const cpu = struct {
15691569 .trust,
15701570 }),
15711571 };
1572 pub const ck803ht = CpuModel{
1572 pub const ck803ht: CpuModel = .{
15731573 .name = "ck803ht",
15741574 .llvm_name = "ck803ht",
15751575 .features = featureSet(&[_]Feature{
......@@ -1581,7 +1581,7 @@ pub const cpu = struct {
15811581 .trust,
15821582 }),
15831583 };
1584 pub const ck803htr1 = CpuModel{
1584 pub const ck803htr1: CpuModel = .{
15851585 .name = "ck803htr1",
15861586 .llvm_name = "ck803htr1",
15871587 .features = featureSet(&[_]Feature{
......@@ -1596,7 +1596,7 @@ pub const cpu = struct {
15961596 .trust,
15971597 }),
15981598 };
1599 pub const ck803htr2 = CpuModel{
1599 pub const ck803htr2: CpuModel = .{
16001600 .name = "ck803htr2",
16011601 .llvm_name = "ck803htr2",
16021602 .features = featureSet(&[_]Feature{
......@@ -1611,7 +1611,7 @@ pub const cpu = struct {
16111611 .trust,
16121612 }),
16131613 };
1614 pub const ck803htr3 = CpuModel{
1614 pub const ck803htr3: CpuModel = .{
16151615 .name = "ck803htr3",
16161616 .llvm_name = "ck803htr3",
16171617 .features = featureSet(&[_]Feature{
......@@ -1626,7 +1626,7 @@ pub const cpu = struct {
16261626 .trust,
16271627 }),
16281628 };
1629 pub const ck803r1 = CpuModel{
1629 pub const ck803r1: CpuModel = .{
16301630 .name = "ck803r1",
16311631 .llvm_name = "ck803r1",
16321632 .features = featureSet(&[_]Feature{
......@@ -1641,7 +1641,7 @@ pub const cpu = struct {
16411641 .trust,
16421642 }),
16431643 };
1644 pub const ck803r2 = CpuModel{
1644 pub const ck803r2: CpuModel = .{
16451645 .name = "ck803r2",
16461646 .llvm_name = "ck803r2",
16471647 .features = featureSet(&[_]Feature{
......@@ -1656,7 +1656,7 @@ pub const cpu = struct {
16561656 .trust,
16571657 }),
16581658 };
1659 pub const ck803r3 = CpuModel{
1659 pub const ck803r3: CpuModel = .{
16601660 .name = "ck803r3",
16611661 .llvm_name = "ck803r3",
16621662 .features = featureSet(&[_]Feature{
......@@ -1671,7 +1671,7 @@ pub const cpu = struct {
16711671 .trust,
16721672 }),
16731673 };
1674 pub const ck803s = CpuModel{
1674 pub const ck803s: CpuModel = .{
16751675 .name = "ck803s",
16761676 .llvm_name = "ck803s",
16771677 .features = featureSet(&[_]Feature{
......@@ -1685,7 +1685,7 @@ pub const cpu = struct {
16851685 .trust,
16861686 }),
16871687 };
1688 pub const ck803se = CpuModel{
1688 pub const ck803se: CpuModel = .{
16891689 .name = "ck803se",
16901690 .llvm_name = "ck803se",
16911691 .features = featureSet(&[_]Feature{
......@@ -1702,7 +1702,7 @@ pub const cpu = struct {
17021702 .trust,
17031703 }),
17041704 };
1705 pub const ck803sef = CpuModel{
1705 pub const ck803sef: CpuModel = .{
17061706 .name = "ck803sef",
17071707 .llvm_name = "ck803sef",
17081708 .features = featureSet(&[_]Feature{
......@@ -1722,7 +1722,7 @@ pub const cpu = struct {
17221722 .trust,
17231723 }),
17241724 };
1725 pub const ck803sefn = CpuModel{
1725 pub const ck803sefn: CpuModel = .{
17261726 .name = "ck803sefn",
17271727 .llvm_name = "ck803sefn",
17281728 .features = featureSet(&[_]Feature{
......@@ -1743,7 +1743,7 @@ pub const cpu = struct {
17431743 .trust,
17441744 }),
17451745 };
1746 pub const ck803sefnt = CpuModel{
1746 pub const ck803sefnt: CpuModel = .{
17471747 .name = "ck803sefnt",
17481748 .llvm_name = "ck803sefnt",
17491749 .features = featureSet(&[_]Feature{
......@@ -1764,7 +1764,7 @@ pub const cpu = struct {
17641764 .trust,
17651765 }),
17661766 };
1767 pub const ck803seft = CpuModel{
1767 pub const ck803seft: CpuModel = .{
17681768 .name = "ck803seft",
17691769 .llvm_name = "ck803seft",
17701770 .features = featureSet(&[_]Feature{
......@@ -1784,7 +1784,7 @@ pub const cpu = struct {
17841784 .trust,
17851785 }),
17861786 };
1787 pub const ck803sen = CpuModel{
1787 pub const ck803sen: CpuModel = .{
17881788 .name = "ck803sen",
17891789 .llvm_name = "ck803sen",
17901790 .features = featureSet(&[_]Feature{
......@@ -1802,7 +1802,7 @@ pub const cpu = struct {
18021802 .trust,
18031803 }),
18041804 };
1805 pub const ck803sf = CpuModel{
1805 pub const ck803sf: CpuModel = .{
18061806 .name = "ck803sf",
18071807 .llvm_name = "ck803sf",
18081808 .features = featureSet(&[_]Feature{
......@@ -1819,7 +1819,7 @@ pub const cpu = struct {
18191819 .trust,
18201820 }),
18211821 };
1822 pub const ck803sfn = CpuModel{
1822 pub const ck803sfn: CpuModel = .{
18231823 .name = "ck803sfn",
18241824 .llvm_name = "ck803sfn",
18251825 .features = featureSet(&[_]Feature{
......@@ -1837,7 +1837,7 @@ pub const cpu = struct {
18371837 .trust,
18381838 }),
18391839 };
1840 pub const ck803sn = CpuModel{
1840 pub const ck803sn: CpuModel = .{
18411841 .name = "ck803sn",
18421842 .llvm_name = "ck803sn",
18431843 .features = featureSet(&[_]Feature{
......@@ -1852,7 +1852,7 @@ pub const cpu = struct {
18521852 .trust,
18531853 }),
18541854 };
1855 pub const ck803snt = CpuModel{
1855 pub const ck803snt: CpuModel = .{
18561856 .name = "ck803snt",
18571857 .llvm_name = "ck803snt",
18581858 .features = featureSet(&[_]Feature{
......@@ -1867,7 +1867,7 @@ pub const cpu = struct {
18671867 .trust,
18681868 }),
18691869 };
1870 pub const ck803st = CpuModel{
1870 pub const ck803st: CpuModel = .{
18711871 .name = "ck803st",
18721872 .llvm_name = "ck803st",
18731873 .features = featureSet(&[_]Feature{
......@@ -1881,7 +1881,7 @@ pub const cpu = struct {
18811881 .trust,
18821882 }),
18831883 };
1884 pub const ck803t = CpuModel{
1884 pub const ck803t: CpuModel = .{
18851885 .name = "ck803t",
18861886 .llvm_name = "ck803t",
18871887 .features = featureSet(&[_]Feature{
......@@ -1893,7 +1893,7 @@ pub const cpu = struct {
18931893 .trust,
18941894 }),
18951895 };
1896 pub const ck803tr1 = CpuModel{
1896 pub const ck803tr1: CpuModel = .{
18971897 .name = "ck803tr1",
18981898 .llvm_name = "ck803tr1",
18991899 .features = featureSet(&[_]Feature{
......@@ -1908,7 +1908,7 @@ pub const cpu = struct {
19081908 .trust,
19091909 }),
19101910 };
1911 pub const ck803tr2 = CpuModel{
1911 pub const ck803tr2: CpuModel = .{
19121912 .name = "ck803tr2",
19131913 .llvm_name = "ck803tr2",
19141914 .features = featureSet(&[_]Feature{
......@@ -1923,7 +1923,7 @@ pub const cpu = struct {
19231923 .trust,
19241924 }),
19251925 };
1926 pub const ck803tr3 = CpuModel{
1926 pub const ck803tr3: CpuModel = .{
19271927 .name = "ck803tr3",
19281928 .llvm_name = "ck803tr3",
19291929 .features = featureSet(&[_]Feature{
......@@ -1938,7 +1938,7 @@ pub const cpu = struct {
19381938 .trust,
19391939 }),
19401940 };
1941 pub const ck804 = CpuModel{
1941 pub const ck804: CpuModel = .{
19421942 .name = "ck804",
19431943 .llvm_name = "ck804",
19441944 .features = featureSet(&[_]Feature{
......@@ -1953,7 +1953,7 @@ pub const cpu = struct {
19531953 .trust,
19541954 }),
19551955 };
1956 pub const ck804e = CpuModel{
1956 pub const ck804e: CpuModel = .{
19571957 .name = "ck804e",
19581958 .llvm_name = "ck804e",
19591959 .features = featureSet(&[_]Feature{
......@@ -1970,7 +1970,7 @@ pub const cpu = struct {
19701970 .trust,
19711971 }),
19721972 };
1973 pub const ck804ef = CpuModel{
1973 pub const ck804ef: CpuModel = .{
19741974 .name = "ck804ef",
19751975 .llvm_name = "ck804ef",
19761976 .features = featureSet(&[_]Feature{
......@@ -1990,7 +1990,7 @@ pub const cpu = struct {
19901990 .trust,
19911991 }),
19921992 };
1993 pub const ck804efh = CpuModel{
1993 pub const ck804efh: CpuModel = .{
19941994 .name = "ck804efh",
19951995 .llvm_name = "ck804efh",
19961996 .features = featureSet(&[_]Feature{
......@@ -2010,7 +2010,7 @@ pub const cpu = struct {
20102010 .trust,
20112011 }),
20122012 };
2013 pub const ck804efht = CpuModel{
2013 pub const ck804efht: CpuModel = .{
20142014 .name = "ck804efht",
20152015 .llvm_name = "ck804efht",
20162016 .features = featureSet(&[_]Feature{
......@@ -2030,7 +2030,7 @@ pub const cpu = struct {
20302030 .trust,
20312031 }),
20322032 };
2033 pub const ck804eft = CpuModel{
2033 pub const ck804eft: CpuModel = .{
20342034 .name = "ck804eft",
20352035 .llvm_name = "ck804eft",
20362036 .features = featureSet(&[_]Feature{
......@@ -2050,7 +2050,7 @@ pub const cpu = struct {
20502050 .trust,
20512051 }),
20522052 };
2053 pub const ck804eh = CpuModel{
2053 pub const ck804eh: CpuModel = .{
20542054 .name = "ck804eh",
20552055 .llvm_name = "ck804eh",
20562056 .features = featureSet(&[_]Feature{
......@@ -2067,7 +2067,7 @@ pub const cpu = struct {
20672067 .trust,
20682068 }),
20692069 };
2070 pub const ck804eht = CpuModel{
2070 pub const ck804eht: CpuModel = .{
20712071 .name = "ck804eht",
20722072 .llvm_name = "ck804eht",
20732073 .features = featureSet(&[_]Feature{
......@@ -2084,7 +2084,7 @@ pub const cpu = struct {
20842084 .trust,
20852085 }),
20862086 };
2087 pub const ck804et = CpuModel{
2087 pub const ck804et: CpuModel = .{
20882088 .name = "ck804et",
20892089 .llvm_name = "ck804et",
20902090 .features = featureSet(&[_]Feature{
......@@ -2101,7 +2101,7 @@ pub const cpu = struct {
21012101 .trust,
21022102 }),
21032103 };
2104 pub const ck804f = CpuModel{
2104 pub const ck804f: CpuModel = .{
21052105 .name = "ck804f",
21062106 .llvm_name = "ck804f",
21072107 .features = featureSet(&[_]Feature{
......@@ -2119,7 +2119,7 @@ pub const cpu = struct {
21192119 .trust,
21202120 }),
21212121 };
2122 pub const ck804fh = CpuModel{
2122 pub const ck804fh: CpuModel = .{
21232123 .name = "ck804fh",
21242124 .llvm_name = "ck804fh",
21252125 .features = featureSet(&[_]Feature{
......@@ -2137,7 +2137,7 @@ pub const cpu = struct {
21372137 .trust,
21382138 }),
21392139 };
2140 pub const ck804ft = CpuModel{
2140 pub const ck804ft: CpuModel = .{
21412141 .name = "ck804ft",
21422142 .llvm_name = "ck804ft",
21432143 .features = featureSet(&[_]Feature{
......@@ -2155,7 +2155,7 @@ pub const cpu = struct {
21552155 .trust,
21562156 }),
21572157 };
2158 pub const ck804h = CpuModel{
2158 pub const ck804h: CpuModel = .{
21592159 .name = "ck804h",
21602160 .llvm_name = "ck804h",
21612161 .features = featureSet(&[_]Feature{
......@@ -2170,7 +2170,7 @@ pub const cpu = struct {
21702170 .trust,
21712171 }),
21722172 };
2173 pub const ck804ht = CpuModel{
2173 pub const ck804ht: CpuModel = .{
21742174 .name = "ck804ht",
21752175 .llvm_name = "ck804ht",
21762176 .features = featureSet(&[_]Feature{
......@@ -2185,7 +2185,7 @@ pub const cpu = struct {
21852185 .trust,
21862186 }),
21872187 };
2188 pub const ck804t = CpuModel{
2188 pub const ck804t: CpuModel = .{
21892189 .name = "ck804t",
21902190 .llvm_name = "ck804t",
21912191 .features = featureSet(&[_]Feature{
......@@ -2200,7 +2200,7 @@ pub const cpu = struct {
22002200 .trust,
22012201 }),
22022202 };
2203 pub const ck805 = CpuModel{
2203 pub const ck805: CpuModel = .{
22042204 .name = "ck805",
22052205 .llvm_name = "ck805",
22062206 .features = featureSet(&[_]Feature{
......@@ -2218,7 +2218,7 @@ pub const cpu = struct {
22182218 .vdspv2,
22192219 }),
22202220 };
2221 pub const ck805e = CpuModel{
2221 pub const ck805e: CpuModel = .{
22222222 .name = "ck805e",
22232223 .llvm_name = "ck805e",
22242224 .features = featureSet(&[_]Feature{
......@@ -2237,7 +2237,7 @@ pub const cpu = struct {
22372237 .vdspv2,
22382238 }),
22392239 };
2240 pub const ck805ef = CpuModel{
2240 pub const ck805ef: CpuModel = .{
22412241 .name = "ck805ef",
22422242 .llvm_name = "ck805ef",
22432243 .features = featureSet(&[_]Feature{
......@@ -2259,7 +2259,7 @@ pub const cpu = struct {
22592259 .vdspv2,
22602260 }),
22612261 };
2262 pub const ck805eft = CpuModel{
2262 pub const ck805eft: CpuModel = .{
22632263 .name = "ck805eft",
22642264 .llvm_name = "ck805eft",
22652265 .features = featureSet(&[_]Feature{
......@@ -2281,7 +2281,7 @@ pub const cpu = struct {
22812281 .vdspv2,
22822282 }),
22832283 };
2284 pub const ck805et = CpuModel{
2284 pub const ck805et: CpuModel = .{
22852285 .name = "ck805et",
22862286 .llvm_name = "ck805et",
22872287 .features = featureSet(&[_]Feature{
......@@ -2300,7 +2300,7 @@ pub const cpu = struct {
23002300 .vdspv2,
23012301 }),
23022302 };
2303 pub const ck805f = CpuModel{
2303 pub const ck805f: CpuModel = .{
23042304 .name = "ck805f",
23052305 .llvm_name = "ck805f",
23062306 .features = featureSet(&[_]Feature{
......@@ -2321,7 +2321,7 @@ pub const cpu = struct {
23212321 .vdspv2,
23222322 }),
23232323 };
2324 pub const ck805ft = CpuModel{
2324 pub const ck805ft: CpuModel = .{
23252325 .name = "ck805ft",
23262326 .llvm_name = "ck805ft",
23272327 .features = featureSet(&[_]Feature{
......@@ -2342,7 +2342,7 @@ pub const cpu = struct {
23422342 .vdspv2,
23432343 }),
23442344 };
2345 pub const ck805t = CpuModel{
2345 pub const ck805t: CpuModel = .{
23462346 .name = "ck805t",
23472347 .llvm_name = "ck805t",
23482348 .features = featureSet(&[_]Feature{
......@@ -2360,7 +2360,7 @@ pub const cpu = struct {
23602360 .vdspv2,
23612361 }),
23622362 };
2363 pub const ck807 = CpuModel{
2363 pub const ck807: CpuModel = .{
23642364 .name = "ck807",
23652365 .llvm_name = "ck807",
23662366 .features = featureSet(&[_]Feature{
......@@ -2378,7 +2378,7 @@ pub const cpu = struct {
23782378 .trust,
23792379 }),
23802380 };
2381 pub const ck807e = CpuModel{
2381 pub const ck807e: CpuModel = .{
23822382 .name = "ck807e",
23832383 .llvm_name = "ck807e",
23842384 .features = featureSet(&[_]Feature{
......@@ -2396,7 +2396,7 @@ pub const cpu = struct {
23962396 .trust,
23972397 }),
23982398 };
2399 pub const ck807ef = CpuModel{
2399 pub const ck807ef: CpuModel = .{
24002400 .name = "ck807ef",
24012401 .llvm_name = "ck807ef",
24022402 .features = featureSet(&[_]Feature{
......@@ -2421,7 +2421,7 @@ pub const cpu = struct {
24212421 .trust,
24222422 }),
24232423 };
2424 pub const ck807f = CpuModel{
2424 pub const ck807f: CpuModel = .{
24252425 .name = "ck807f",
24262426 .llvm_name = "ck807f",
24272427 .features = featureSet(&[_]Feature{
......@@ -2446,7 +2446,7 @@ pub const cpu = struct {
24462446 .trust,
24472447 }),
24482448 };
2449 pub const ck810 = CpuModel{
2449 pub const ck810: CpuModel = .{
24502450 .name = "ck810",
24512451 .llvm_name = "ck810",
24522452 .features = featureSet(&[_]Feature{
......@@ -2465,7 +2465,7 @@ pub const cpu = struct {
24652465 .trust,
24662466 }),
24672467 };
2468 pub const ck810e = CpuModel{
2468 pub const ck810e: CpuModel = .{
24692469 .name = "ck810e",
24702470 .llvm_name = "ck810e",
24712471 .features = featureSet(&[_]Feature{
......@@ -2484,7 +2484,7 @@ pub const cpu = struct {
24842484 .trust,
24852485 }),
24862486 };
2487 pub const ck810ef = CpuModel{
2487 pub const ck810ef: CpuModel = .{
24882488 .name = "ck810ef",
24892489 .llvm_name = "ck810ef",
24902490 .features = featureSet(&[_]Feature{
......@@ -2508,7 +2508,7 @@ pub const cpu = struct {
25082508 .trust,
25092509 }),
25102510 };
2511 pub const ck810eft = CpuModel{
2511 pub const ck810eft: CpuModel = .{
25122512 .name = "ck810eft",
25132513 .llvm_name = "ck810eft",
25142514 .features = featureSet(&[_]Feature{
......@@ -2532,7 +2532,7 @@ pub const cpu = struct {
25322532 .trust,
25332533 }),
25342534 };
2535 pub const ck810eftv = CpuModel{
2535 pub const ck810eftv: CpuModel = .{
25362536 .name = "ck810eftv",
25372537 .llvm_name = "ck810eftv",
25382538 .features = featureSet(&[_]Feature{
......@@ -2558,7 +2558,7 @@ pub const cpu = struct {
25582558 .vdspv1,
25592559 }),
25602560 };
2561 pub const ck810efv = CpuModel{
2561 pub const ck810efv: CpuModel = .{
25622562 .name = "ck810efv",
25632563 .llvm_name = "ck810efv",
25642564 .features = featureSet(&[_]Feature{
......@@ -2584,7 +2584,7 @@ pub const cpu = struct {
25842584 .vdspv1,
25852585 }),
25862586 };
2587 pub const ck810et = CpuModel{
2587 pub const ck810et: CpuModel = .{
25882588 .name = "ck810et",
25892589 .llvm_name = "ck810et",
25902590 .features = featureSet(&[_]Feature{
......@@ -2603,7 +2603,7 @@ pub const cpu = struct {
26032603 .trust,
26042604 }),
26052605 };
2606 pub const ck810etv = CpuModel{
2606 pub const ck810etv: CpuModel = .{
26072607 .name = "ck810etv",
26082608 .llvm_name = "ck810etv",
26092609 .features = featureSet(&[_]Feature{
......@@ -2624,7 +2624,7 @@ pub const cpu = struct {
26242624 .vdspv1,
26252625 }),
26262626 };
2627 pub const ck810ev = CpuModel{
2627 pub const ck810ev: CpuModel = .{
26282628 .name = "ck810ev",
26292629 .llvm_name = "ck810ev",
26302630 .features = featureSet(&[_]Feature{
......@@ -2645,7 +2645,7 @@ pub const cpu = struct {
26452645 .vdspv1,
26462646 }),
26472647 };
2648 pub const ck810f = CpuModel{
2648 pub const ck810f: CpuModel = .{
26492649 .name = "ck810f",
26502650 .llvm_name = "ck810f",
26512651 .features = featureSet(&[_]Feature{
......@@ -2669,7 +2669,7 @@ pub const cpu = struct {
26692669 .trust,
26702670 }),
26712671 };
2672 pub const ck810ft = CpuModel{
2672 pub const ck810ft: CpuModel = .{
26732673 .name = "ck810ft",
26742674 .llvm_name = "ck810ft",
26752675 .features = featureSet(&[_]Feature{
......@@ -2693,7 +2693,7 @@ pub const cpu = struct {
26932693 .trust,
26942694 }),
26952695 };
2696 pub const ck810ftv = CpuModel{
2696 pub const ck810ftv: CpuModel = .{
26972697 .name = "ck810ftv",
26982698 .llvm_name = "ck810ftv",
26992699 .features = featureSet(&[_]Feature{
......@@ -2719,7 +2719,7 @@ pub const cpu = struct {
27192719 .vdspv1,
27202720 }),
27212721 };
2722 pub const ck810fv = CpuModel{
2722 pub const ck810fv: CpuModel = .{
27232723 .name = "ck810fv",
27242724 .llvm_name = "ck810fv",
27252725 .features = featureSet(&[_]Feature{
......@@ -2745,7 +2745,7 @@ pub const cpu = struct {
27452745 .vdspv1,
27462746 }),
27472747 };
2748 pub const ck810t = CpuModel{
2748 pub const ck810t: CpuModel = .{
27492749 .name = "ck810t",
27502750 .llvm_name = "ck810t",
27512751 .features = featureSet(&[_]Feature{
......@@ -2764,7 +2764,7 @@ pub const cpu = struct {
27642764 .trust,
27652765 }),
27662766 };
2767 pub const ck810tv = CpuModel{
2767 pub const ck810tv: CpuModel = .{
27682768 .name = "ck810tv",
27692769 .llvm_name = "ck810tv",
27702770 .features = featureSet(&[_]Feature{
......@@ -2785,7 +2785,7 @@ pub const cpu = struct {
27852785 .vdspv1,
27862786 }),
27872787 };
2788 pub const ck810v = CpuModel{
2788 pub const ck810v: CpuModel = .{
27892789 .name = "ck810v",
27902790 .llvm_name = "ck810v",
27912791 .features = featureSet(&[_]Feature{
......@@ -2806,7 +2806,7 @@ pub const cpu = struct {
28062806 .vdspv1,
28072807 }),
28082808 };
2809 pub const ck860 = CpuModel{
2809 pub const ck860: CpuModel = .{
28102810 .name = "ck860",
28112811 .llvm_name = "ck860",
28122812 .features = featureSet(&[_]Feature{
......@@ -2826,7 +2826,7 @@ pub const cpu = struct {
28262826 .trust,
28272827 }),
28282828 };
2829 pub const ck860f = CpuModel{
2829 pub const ck860f: CpuModel = .{
28302830 .name = "ck860f",
28312831 .llvm_name = "ck860f",
28322832 .features = featureSet(&[_]Feature{
......@@ -2851,7 +2851,7 @@ pub const cpu = struct {
28512851 .trust,
28522852 }),
28532853 };
2854 pub const ck860fv = CpuModel{
2854 pub const ck860fv: CpuModel = .{
28552855 .name = "ck860fv",
28562856 .llvm_name = "ck860fv",
28572857 .features = featureSet(&[_]Feature{
......@@ -2879,7 +2879,7 @@ pub const cpu = struct {
28792879 .vdspv2,
28802880 }),
28812881 };
2882 pub const ck860v = CpuModel{
2882 pub const ck860v: CpuModel = .{
28832883 .name = "ck860v",
28842884 .llvm_name = "ck860v",
28852885 .features = featureSet(&[_]Feature{
......@@ -2902,7 +2902,7 @@ pub const cpu = struct {
29022902 .vdspv2,
29032903 }),
29042904 };
2905 pub const e801 = CpuModel{
2905 pub const e801: CpuModel = .{
29062906 .name = "e801",
29072907 .llvm_name = "e801",
29082908 .features = featureSet(&[_]Feature{
......@@ -2912,7 +2912,7 @@ pub const cpu = struct {
29122912 .trust,
29132913 }),
29142914 };
2915 pub const e802 = CpuModel{
2915 pub const e802: CpuModel = .{
29162916 .name = "e802",
29172917 .llvm_name = "e802",
29182918 .features = featureSet(&[_]Feature{
......@@ -2923,7 +2923,7 @@ pub const cpu = struct {
29232923 .trust,
29242924 }),
29252925 };
2926 pub const e802t = CpuModel{
2926 pub const e802t: CpuModel = .{
29272927 .name = "e802t",
29282928 .llvm_name = "e802t",
29292929 .features = featureSet(&[_]Feature{
......@@ -2934,7 +2934,7 @@ pub const cpu = struct {
29342934 .trust,
29352935 }),
29362936 };
2937 pub const e803 = CpuModel{
2937 pub const e803: CpuModel = .{
29382938 .name = "e803",
29392939 .llvm_name = "e803",
29402940 .features = featureSet(&[_]Feature{
......@@ -2948,7 +2948,7 @@ pub const cpu = struct {
29482948 .trust,
29492949 }),
29502950 };
2951 pub const e803t = CpuModel{
2951 pub const e803t: CpuModel = .{
29522952 .name = "e803t",
29532953 .llvm_name = "e803t",
29542954 .features = featureSet(&[_]Feature{
......@@ -2962,7 +2962,7 @@ pub const cpu = struct {
29622962 .trust,
29632963 }),
29642964 };
2965 pub const e804d = CpuModel{
2965 pub const e804d: CpuModel = .{
29662966 .name = "e804d",
29672967 .llvm_name = "e804d",
29682968 .features = featureSet(&[_]Feature{
......@@ -2979,7 +2979,7 @@ pub const cpu = struct {
29792979 .trust,
29802980 }),
29812981 };
2982 pub const e804df = CpuModel{
2982 pub const e804df: CpuModel = .{
29832983 .name = "e804df",
29842984 .llvm_name = "e804df",
29852985 .features = featureSet(&[_]Feature{
......@@ -2999,7 +2999,7 @@ pub const cpu = struct {
29992999 .trust,
30003000 }),
30013001 };
3002 pub const e804dft = CpuModel{
3002 pub const e804dft: CpuModel = .{
30033003 .name = "e804dft",
30043004 .llvm_name = "e804dft",
30053005 .features = featureSet(&[_]Feature{
......@@ -3019,7 +3019,7 @@ pub const cpu = struct {
30193019 .trust,
30203020 }),
30213021 };
3022 pub const e804dt = CpuModel{
3022 pub const e804dt: CpuModel = .{
30233023 .name = "e804dt",
30243024 .llvm_name = "e804dt",
30253025 .features = featureSet(&[_]Feature{
......@@ -3036,7 +3036,7 @@ pub const cpu = struct {
30363036 .trust,
30373037 }),
30383038 };
3039 pub const e804f = CpuModel{
3039 pub const e804f: CpuModel = .{
30403040 .name = "e804f",
30413041 .llvm_name = "e804f",
30423042 .features = featureSet(&[_]Feature{
......@@ -3054,7 +3054,7 @@ pub const cpu = struct {
30543054 .trust,
30553055 }),
30563056 };
3057 pub const e804ft = CpuModel{
3057 pub const e804ft: CpuModel = .{
30583058 .name = "e804ft",
30593059 .llvm_name = "e804ft",
30603060 .features = featureSet(&[_]Feature{
......@@ -3072,14 +3072,14 @@ pub const cpu = struct {
30723072 .trust,
30733073 }),
30743074 };
3075 pub const generic = CpuModel{
3075 pub const generic: CpuModel = .{
30763076 .name = "generic",
30773077 .llvm_name = "generic",
30783078 .features = featureSet(&[_]Feature{
30793079 .btst16,
30803080 }),
30813081 };
3082 pub const @"i805" = CpuModel{
3082 pub const @"i805": CpuModel = .{
30833083 .name = "i805",
30843084 .llvm_name = "i805",
30853085 .features = featureSet(&[_]Feature{
......@@ -3097,7 +3097,7 @@ pub const cpu = struct {
30973097 .vdspv2,
30983098 }),
30993099 };
3100 pub const i805f = CpuModel{
3100 pub const i805f: CpuModel = .{
31013101 .name = "i805f",
31023102 .llvm_name = "i805f",
31033103 .features = featureSet(&[_]Feature{
......@@ -3118,7 +3118,7 @@ pub const cpu = struct {
31183118 .vdspv2,
31193119 }),
31203120 };
3121 pub const r807 = CpuModel{
3121 pub const r807: CpuModel = .{
31223122 .name = "r807",
31233123 .llvm_name = "r807",
31243124 .features = featureSet(&[_]Feature{
......@@ -3136,7 +3136,7 @@ pub const cpu = struct {
31363136 .trust,
31373137 }),
31383138 };
3139 pub const r807f = CpuModel{
3139 pub const r807f: CpuModel = .{
31403140 .name = "r807f",
31413141 .llvm_name = "r807f",
31423142 .features = featureSet(&[_]Feature{
......@@ -3161,7 +3161,7 @@ pub const cpu = struct {
31613161 .trust,
31623162 }),
31633163 };
3164 pub const s802 = CpuModel{
3164 pub const s802: CpuModel = .{
31653165 .name = "s802",
31663166 .llvm_name = "s802",
31673167 .features = featureSet(&[_]Feature{
......@@ -3172,7 +3172,7 @@ pub const cpu = struct {
31723172 .trust,
31733173 }),
31743174 };
3175 pub const s802t = CpuModel{
3175 pub const s802t: CpuModel = .{
31763176 .name = "s802t",
31773177 .llvm_name = "s802t",
31783178 .features = featureSet(&[_]Feature{
......@@ -3183,7 +3183,7 @@ pub const cpu = struct {
31833183 .trust,
31843184 }),
31853185 };
3186 pub const s803 = CpuModel{
3186 pub const s803: CpuModel = .{
31873187 .name = "s803",
31883188 .llvm_name = "s803",
31893189 .features = featureSet(&[_]Feature{
......@@ -3197,7 +3197,7 @@ pub const cpu = struct {
31973197 .trust,
31983198 }),
31993199 };
3200 pub const s803t = CpuModel{
3200 pub const s803t: CpuModel = .{
32013201 .name = "s803t",
32023202 .llvm_name = "s803t",
32033203 .features = featureSet(&[_]Feature{
lib/std/Target/hexagon.zig+14-14
......@@ -304,7 +304,7 @@ pub const all_features = blk: {
304304};
305305
306306pub const cpu = struct {
307 pub const generic = CpuModel{
307 pub const generic: CpuModel = .{
308308 .name = "generic",
309309 .llvm_name = "generic",
310310 .features = featureSet(&[_]Feature{
......@@ -321,7 +321,7 @@ pub const cpu = struct {
321321 .v60,
322322 }),
323323 };
324 pub const hexagonv5 = CpuModel{
324 pub const hexagonv5: CpuModel = .{
325325 .name = "hexagonv5",
326326 .llvm_name = "hexagonv5",
327327 .features = featureSet(&[_]Feature{
......@@ -336,7 +336,7 @@ pub const cpu = struct {
336336 .v5,
337337 }),
338338 };
339 pub const hexagonv55 = CpuModel{
339 pub const hexagonv55: CpuModel = .{
340340 .name = "hexagonv55",
341341 .llvm_name = "hexagonv55",
342342 .features = featureSet(&[_]Feature{
......@@ -352,7 +352,7 @@ pub const cpu = struct {
352352 .v55,
353353 }),
354354 };
355 pub const hexagonv60 = CpuModel{
355 pub const hexagonv60: CpuModel = .{
356356 .name = "hexagonv60",
357357 .llvm_name = "hexagonv60",
358358 .features = featureSet(&[_]Feature{
......@@ -369,7 +369,7 @@ pub const cpu = struct {
369369 .v60,
370370 }),
371371 };
372 pub const hexagonv62 = CpuModel{
372 pub const hexagonv62: CpuModel = .{
373373 .name = "hexagonv62",
374374 .llvm_name = "hexagonv62",
375375 .features = featureSet(&[_]Feature{
......@@ -387,7 +387,7 @@ pub const cpu = struct {
387387 .v62,
388388 }),
389389 };
390 pub const hexagonv65 = CpuModel{
390 pub const hexagonv65: CpuModel = .{
391391 .name = "hexagonv65",
392392 .llvm_name = "hexagonv65",
393393 .features = featureSet(&[_]Feature{
......@@ -406,7 +406,7 @@ pub const cpu = struct {
406406 .v65,
407407 }),
408408 };
409 pub const hexagonv66 = CpuModel{
409 pub const hexagonv66: CpuModel = .{
410410 .name = "hexagonv66",
411411 .llvm_name = "hexagonv66",
412412 .features = featureSet(&[_]Feature{
......@@ -426,7 +426,7 @@ pub const cpu = struct {
426426 .v66,
427427 }),
428428 };
429 pub const hexagonv67 = CpuModel{
429 pub const hexagonv67: CpuModel = .{
430430 .name = "hexagonv67",
431431 .llvm_name = "hexagonv67",
432432 .features = featureSet(&[_]Feature{
......@@ -447,7 +447,7 @@ pub const cpu = struct {
447447 .v67,
448448 }),
449449 };
450 pub const hexagonv67t = CpuModel{
450 pub const hexagonv67t: CpuModel = .{
451451 .name = "hexagonv67t",
452452 .llvm_name = "hexagonv67t",
453453 .features = featureSet(&[_]Feature{
......@@ -467,7 +467,7 @@ pub const cpu = struct {
467467 .v67,
468468 }),
469469 };
470 pub const hexagonv68 = CpuModel{
470 pub const hexagonv68: CpuModel = .{
471471 .name = "hexagonv68",
472472 .llvm_name = "hexagonv68",
473473 .features = featureSet(&[_]Feature{
......@@ -489,7 +489,7 @@ pub const cpu = struct {
489489 .v68,
490490 }),
491491 };
492 pub const hexagonv69 = CpuModel{
492 pub const hexagonv69: CpuModel = .{
493493 .name = "hexagonv69",
494494 .llvm_name = "hexagonv69",
495495 .features = featureSet(&[_]Feature{
......@@ -512,7 +512,7 @@ pub const cpu = struct {
512512 .v69,
513513 }),
514514 };
515 pub const hexagonv71 = CpuModel{
515 pub const hexagonv71: CpuModel = .{
516516 .name = "hexagonv71",
517517 .llvm_name = "hexagonv71",
518518 .features = featureSet(&[_]Feature{
......@@ -536,7 +536,7 @@ pub const cpu = struct {
536536 .v71,
537537 }),
538538 };
539 pub const hexagonv71t = CpuModel{
539 pub const hexagonv71t: CpuModel = .{
540540 .name = "hexagonv71t",
541541 .llvm_name = "hexagonv71t",
542542 .features = featureSet(&[_]Feature{
......@@ -559,7 +559,7 @@ pub const cpu = struct {
559559 .v71,
560560 }),
561561 };
562 pub const hexagonv73 = CpuModel{
562 pub const hexagonv73: CpuModel = .{
563563 .name = "hexagonv73",
564564 .llvm_name = "hexagonv73",
565565 .features = featureSet(&[_]Feature{
lib/std/Target/lanai.zig+2-2
......@@ -24,12 +24,12 @@ pub const all_features = blk: {
2424};
2525
2626pub const cpu = struct {
27 pub const generic = CpuModel{
27 pub const generic: CpuModel = .{
2828 .name = "generic",
2929 .llvm_name = "generic",
3030 .features = featureSet(&[_]Feature{}),
3131 };
32 pub const v11 = CpuModel{
32 pub const v11: CpuModel = .{
3333 .name = "v11",
3434 .llvm_name = "v11",
3535 .features = featureSet(&[_]Feature{}),
lib/std/Target/loongarch.zig+6-6
......@@ -121,19 +121,19 @@ pub const all_features = blk: {
121121};
122122
123123pub const cpu = struct {
124 pub const generic = CpuModel{
124 pub const generic: CpuModel = .{
125125 .name = "generic",
126126 .llvm_name = "generic",
127127 .features = featureSet(&[_]Feature{}),
128128 };
129 pub const generic_la32 = CpuModel{
129 pub const generic_la32: CpuModel = .{
130130 .name = "generic_la32",
131131 .llvm_name = "generic-la32",
132132 .features = featureSet(&[_]Feature{
133133 .@"32bit",
134134 }),
135135 };
136 pub const generic_la64 = CpuModel{
136 pub const generic_la64: CpuModel = .{
137137 .name = "generic_la64",
138138 .llvm_name = "generic-la64",
139139 .features = featureSet(&[_]Feature{
......@@ -141,7 +141,7 @@ pub const cpu = struct {
141141 .ual,
142142 }),
143143 };
144 pub const la464 = CpuModel{
144 pub const la464: CpuModel = .{
145145 .name = "la464",
146146 .llvm_name = "la464",
147147 .features = featureSet(&[_]Feature{
......@@ -152,7 +152,7 @@ pub const cpu = struct {
152152 .ual,
153153 }),
154154 };
155 pub const la664 = CpuModel{
155 pub const la664: CpuModel = .{
156156 .name = "la664",
157157 .llvm_name = "la664",
158158 .features = featureSet(&[_]Feature{
......@@ -164,7 +164,7 @@ pub const cpu = struct {
164164 .ual,
165165 }),
166166 };
167 pub const loongarch64 = CpuModel{
167 pub const loongarch64: CpuModel = .{
168168 .name = "loongarch64",
169169 .llvm_name = "loongarch64",
170170 .features = featureSet(&[_]Feature{
lib/std/Target/m68k.zig+7-7
......@@ -176,49 +176,49 @@ pub const all_features = blk: {
176176};
177177
178178pub const cpu = struct {
179 pub const generic = CpuModel{
179 pub const generic: CpuModel = .{
180180 .name = "generic",
181181 .llvm_name = "generic",
182182 .features = featureSet(&[_]Feature{
183183 .isa_68000,
184184 }),
185185 };
186 pub const M68000 = CpuModel{
186 pub const M68000: CpuModel = .{
187187 .name = "M68000",
188188 .llvm_name = "M68000",
189189 .features = featureSet(&[_]Feature{
190190 .isa_68000,
191191 }),
192192 };
193 pub const M68010 = CpuModel{
193 pub const M68010: CpuModel = .{
194194 .name = "M68010",
195195 .llvm_name = "M68010",
196196 .features = featureSet(&[_]Feature{
197197 .isa_68010,
198198 }),
199199 };
200 pub const M68020 = CpuModel{
200 pub const M68020: CpuModel = .{
201201 .name = "M68020",
202202 .llvm_name = "M68020",
203203 .features = featureSet(&[_]Feature{
204204 .isa_68020,
205205 }),
206206 };
207 pub const M68030 = CpuModel{
207 pub const M68030: CpuModel = .{
208208 .name = "M68030",
209209 .llvm_name = "M68030",
210210 .features = featureSet(&[_]Feature{
211211 .isa_68030,
212212 }),
213213 };
214 pub const M68040 = CpuModel{
214 pub const M68040: CpuModel = .{
215215 .name = "M68040",
216216 .llvm_name = "M68040",
217217 .features = featureSet(&[_]Feature{
218218 .isa_68040,
219219 }),
220220 };
221 pub const M68060 = CpuModel{
221 pub const M68060: CpuModel = .{
222222 .name = "M68060",
223223 .llvm_name = "M68060",
224224 .features = featureSet(&[_]Feature{
lib/std/Target/mips.zig+19-19
......@@ -401,133 +401,133 @@ pub const all_features = blk: {
401401};
402402
403403pub const cpu = struct {
404 pub const generic = CpuModel{
404 pub const generic: CpuModel = .{
405405 .name = "generic",
406406 .llvm_name = "generic",
407407 .features = featureSet(&[_]Feature{
408408 .mips32,
409409 }),
410410 };
411 pub const mips1 = CpuModel{
411 pub const mips1: CpuModel = .{
412412 .name = "mips1",
413413 .llvm_name = "mips1",
414414 .features = featureSet(&[_]Feature{
415415 .mips1,
416416 }),
417417 };
418 pub const mips2 = CpuModel{
418 pub const mips2: CpuModel = .{
419419 .name = "mips2",
420420 .llvm_name = "mips2",
421421 .features = featureSet(&[_]Feature{
422422 .mips2,
423423 }),
424424 };
425 pub const mips3 = CpuModel{
425 pub const mips3: CpuModel = .{
426426 .name = "mips3",
427427 .llvm_name = "mips3",
428428 .features = featureSet(&[_]Feature{
429429 .mips3,
430430 }),
431431 };
432 pub const mips32 = CpuModel{
432 pub const mips32: CpuModel = .{
433433 .name = "mips32",
434434 .llvm_name = "mips32",
435435 .features = featureSet(&[_]Feature{
436436 .mips32,
437437 }),
438438 };
439 pub const mips32r2 = CpuModel{
439 pub const mips32r2: CpuModel = .{
440440 .name = "mips32r2",
441441 .llvm_name = "mips32r2",
442442 .features = featureSet(&[_]Feature{
443443 .mips32r2,
444444 }),
445445 };
446 pub const mips32r3 = CpuModel{
446 pub const mips32r3: CpuModel = .{
447447 .name = "mips32r3",
448448 .llvm_name = "mips32r3",
449449 .features = featureSet(&[_]Feature{
450450 .mips32r3,
451451 }),
452452 };
453 pub const mips32r5 = CpuModel{
453 pub const mips32r5: CpuModel = .{
454454 .name = "mips32r5",
455455 .llvm_name = "mips32r5",
456456 .features = featureSet(&[_]Feature{
457457 .mips32r5,
458458 }),
459459 };
460 pub const mips32r6 = CpuModel{
460 pub const mips32r6: CpuModel = .{
461461 .name = "mips32r6",
462462 .llvm_name = "mips32r6",
463463 .features = featureSet(&[_]Feature{
464464 .mips32r6,
465465 }),
466466 };
467 pub const mips4 = CpuModel{
467 pub const mips4: CpuModel = .{
468468 .name = "mips4",
469469 .llvm_name = "mips4",
470470 .features = featureSet(&[_]Feature{
471471 .mips4,
472472 }),
473473 };
474 pub const mips5 = CpuModel{
474 pub const mips5: CpuModel = .{
475475 .name = "mips5",
476476 .llvm_name = "mips5",
477477 .features = featureSet(&[_]Feature{
478478 .mips5,
479479 }),
480480 };
481 pub const mips64 = CpuModel{
481 pub const mips64: CpuModel = .{
482482 .name = "mips64",
483483 .llvm_name = "mips64",
484484 .features = featureSet(&[_]Feature{
485485 .mips64,
486486 }),
487487 };
488 pub const mips64r2 = CpuModel{
488 pub const mips64r2: CpuModel = .{
489489 .name = "mips64r2",
490490 .llvm_name = "mips64r2",
491491 .features = featureSet(&[_]Feature{
492492 .mips64r2,
493493 }),
494494 };
495 pub const mips64r3 = CpuModel{
495 pub const mips64r3: CpuModel = .{
496496 .name = "mips64r3",
497497 .llvm_name = "mips64r3",
498498 .features = featureSet(&[_]Feature{
499499 .mips64r3,
500500 }),
501501 };
502 pub const mips64r5 = CpuModel{
502 pub const mips64r5: CpuModel = .{
503503 .name = "mips64r5",
504504 .llvm_name = "mips64r5",
505505 .features = featureSet(&[_]Feature{
506506 .mips64r5,
507507 }),
508508 };
509 pub const mips64r6 = CpuModel{
509 pub const mips64r6: CpuModel = .{
510510 .name = "mips64r6",
511511 .llvm_name = "mips64r6",
512512 .features = featureSet(&[_]Feature{
513513 .mips64r6,
514514 }),
515515 };
516 pub const octeon = CpuModel{
516 pub const octeon: CpuModel = .{
517517 .name = "octeon",
518518 .llvm_name = "octeon",
519519 .features = featureSet(&[_]Feature{
520520 .cnmips,
521521 }),
522522 };
523 pub const @"octeon+" = CpuModel{
523 pub const @"octeon+": CpuModel = .{
524524 .name = "octeon+",
525525 .llvm_name = "octeon+",
526526 .features = featureSet(&[_]Feature{
527527 .cnmipsp,
528528 }),
529529 };
530 pub const p5600 = CpuModel{
530 pub const p5600: CpuModel = .{
531531 .name = "p5600",
532532 .llvm_name = "p5600",
533533 .features = featureSet(&[_]Feature{
lib/std/Target/msp430.zig+3-3
......@@ -49,17 +49,17 @@ pub const all_features = blk: {
4949};
5050
5151pub const cpu = struct {
52 pub const generic = CpuModel{
52 pub const generic: CpuModel = .{
5353 .name = "generic",
5454 .llvm_name = "generic",
5555 .features = featureSet(&[_]Feature{}),
5656 };
57 pub const msp430 = CpuModel{
57 pub const msp430: CpuModel = .{
5858 .name = "msp430",
5959 .llvm_name = "msp430",
6060 .features = featureSet(&[_]Feature{}),
6161 };
62 pub const msp430x = CpuModel{
62 pub const msp430x: CpuModel = .{
6363 .name = "msp430x",
6464 .llvm_name = "msp430x",
6565 .features = featureSet(&[_]Feature{
lib/std/Target/nvptx.zig+21-21
......@@ -313,7 +313,7 @@ pub const all_features = blk: {
313313};
314314
315315pub const cpu = struct {
316 pub const sm_20 = CpuModel{
316 pub const sm_20: CpuModel = .{
317317 .name = "sm_20",
318318 .llvm_name = "sm_20",
319319 .features = featureSet(&[_]Feature{
......@@ -321,7 +321,7 @@ pub const cpu = struct {
321321 .sm_20,
322322 }),
323323 };
324 pub const sm_21 = CpuModel{
324 pub const sm_21: CpuModel = .{
325325 .name = "sm_21",
326326 .llvm_name = "sm_21",
327327 .features = featureSet(&[_]Feature{
......@@ -329,14 +329,14 @@ pub const cpu = struct {
329329 .sm_21,
330330 }),
331331 };
332 pub const sm_30 = CpuModel{
332 pub const sm_30: CpuModel = .{
333333 .name = "sm_30",
334334 .llvm_name = "sm_30",
335335 .features = featureSet(&[_]Feature{
336336 .sm_30,
337337 }),
338338 };
339 pub const sm_32 = CpuModel{
339 pub const sm_32: CpuModel = .{
340340 .name = "sm_32",
341341 .llvm_name = "sm_32",
342342 .features = featureSet(&[_]Feature{
......@@ -344,7 +344,7 @@ pub const cpu = struct {
344344 .sm_32,
345345 }),
346346 };
347 pub const sm_35 = CpuModel{
347 pub const sm_35: CpuModel = .{
348348 .name = "sm_35",
349349 .llvm_name = "sm_35",
350350 .features = featureSet(&[_]Feature{
......@@ -352,7 +352,7 @@ pub const cpu = struct {
352352 .sm_35,
353353 }),
354354 };
355 pub const sm_37 = CpuModel{
355 pub const sm_37: CpuModel = .{
356356 .name = "sm_37",
357357 .llvm_name = "sm_37",
358358 .features = featureSet(&[_]Feature{
......@@ -360,7 +360,7 @@ pub const cpu = struct {
360360 .sm_37,
361361 }),
362362 };
363 pub const sm_50 = CpuModel{
363 pub const sm_50: CpuModel = .{
364364 .name = "sm_50",
365365 .llvm_name = "sm_50",
366366 .features = featureSet(&[_]Feature{
......@@ -368,7 +368,7 @@ pub const cpu = struct {
368368 .sm_50,
369369 }),
370370 };
371 pub const sm_52 = CpuModel{
371 pub const sm_52: CpuModel = .{
372372 .name = "sm_52",
373373 .llvm_name = "sm_52",
374374 .features = featureSet(&[_]Feature{
......@@ -376,7 +376,7 @@ pub const cpu = struct {
376376 .sm_52,
377377 }),
378378 };
379 pub const sm_53 = CpuModel{
379 pub const sm_53: CpuModel = .{
380380 .name = "sm_53",
381381 .llvm_name = "sm_53",
382382 .features = featureSet(&[_]Feature{
......@@ -384,7 +384,7 @@ pub const cpu = struct {
384384 .sm_53,
385385 }),
386386 };
387 pub const sm_60 = CpuModel{
387 pub const sm_60: CpuModel = .{
388388 .name = "sm_60",
389389 .llvm_name = "sm_60",
390390 .features = featureSet(&[_]Feature{
......@@ -392,7 +392,7 @@ pub const cpu = struct {
392392 .sm_60,
393393 }),
394394 };
395 pub const sm_61 = CpuModel{
395 pub const sm_61: CpuModel = .{
396396 .name = "sm_61",
397397 .llvm_name = "sm_61",
398398 .features = featureSet(&[_]Feature{
......@@ -400,7 +400,7 @@ pub const cpu = struct {
400400 .sm_61,
401401 }),
402402 };
403 pub const sm_62 = CpuModel{
403 pub const sm_62: CpuModel = .{
404404 .name = "sm_62",
405405 .llvm_name = "sm_62",
406406 .features = featureSet(&[_]Feature{
......@@ -408,7 +408,7 @@ pub const cpu = struct {
408408 .sm_62,
409409 }),
410410 };
411 pub const sm_70 = CpuModel{
411 pub const sm_70: CpuModel = .{
412412 .name = "sm_70",
413413 .llvm_name = "sm_70",
414414 .features = featureSet(&[_]Feature{
......@@ -416,7 +416,7 @@ pub const cpu = struct {
416416 .sm_70,
417417 }),
418418 };
419 pub const sm_72 = CpuModel{
419 pub const sm_72: CpuModel = .{
420420 .name = "sm_72",
421421 .llvm_name = "sm_72",
422422 .features = featureSet(&[_]Feature{
......@@ -424,7 +424,7 @@ pub const cpu = struct {
424424 .sm_72,
425425 }),
426426 };
427 pub const sm_75 = CpuModel{
427 pub const sm_75: CpuModel = .{
428428 .name = "sm_75",
429429 .llvm_name = "sm_75",
430430 .features = featureSet(&[_]Feature{
......@@ -432,7 +432,7 @@ pub const cpu = struct {
432432 .sm_75,
433433 }),
434434 };
435 pub const sm_80 = CpuModel{
435 pub const sm_80: CpuModel = .{
436436 .name = "sm_80",
437437 .llvm_name = "sm_80",
438438 .features = featureSet(&[_]Feature{
......@@ -440,7 +440,7 @@ pub const cpu = struct {
440440 .sm_80,
441441 }),
442442 };
443 pub const sm_86 = CpuModel{
443 pub const sm_86: CpuModel = .{
444444 .name = "sm_86",
445445 .llvm_name = "sm_86",
446446 .features = featureSet(&[_]Feature{
......@@ -448,7 +448,7 @@ pub const cpu = struct {
448448 .sm_86,
449449 }),
450450 };
451 pub const sm_87 = CpuModel{
451 pub const sm_87: CpuModel = .{
452452 .name = "sm_87",
453453 .llvm_name = "sm_87",
454454 .features = featureSet(&[_]Feature{
......@@ -456,7 +456,7 @@ pub const cpu = struct {
456456 .sm_87,
457457 }),
458458 };
459 pub const sm_89 = CpuModel{
459 pub const sm_89: CpuModel = .{
460460 .name = "sm_89",
461461 .llvm_name = "sm_89",
462462 .features = featureSet(&[_]Feature{
......@@ -464,7 +464,7 @@ pub const cpu = struct {
464464 .sm_89,
465465 }),
466466 };
467 pub const sm_90 = CpuModel{
467 pub const sm_90: CpuModel = .{
468468 .name = "sm_90",
469469 .llvm_name = "sm_90",
470470 .features = featureSet(&[_]Feature{
......@@ -472,7 +472,7 @@ pub const cpu = struct {
472472 .sm_90,
473473 }),
474474 };
475 pub const sm_90a = CpuModel{
475 pub const sm_90a: CpuModel = .{
476476 .name = "sm_90a",
477477 .llvm_name = "sm_90a",
478478 .features = featureSet(&[_]Feature{
lib/std/Target/powerpc.zig+38-38
......@@ -623,7 +623,7 @@ pub const all_features = blk: {
623623};
624624
625625pub const cpu = struct {
626 pub const @"440" = CpuModel{
626 pub const @"440": CpuModel = .{
627627 .name = "440",
628628 .llvm_name = "440",
629629 .features = featureSet(&[_]Feature{
......@@ -633,7 +633,7 @@ pub const cpu = struct {
633633 .msync,
634634 }),
635635 };
636 pub const @"450" = CpuModel{
636 pub const @"450": CpuModel = .{
637637 .name = "450",
638638 .llvm_name = "450",
639639 .features = featureSet(&[_]Feature{
......@@ -643,21 +643,21 @@ pub const cpu = struct {
643643 .msync,
644644 }),
645645 };
646 pub const @"601" = CpuModel{
646 pub const @"601": CpuModel = .{
647647 .name = "601",
648648 .llvm_name = "601",
649649 .features = featureSet(&[_]Feature{
650650 .fpu,
651651 }),
652652 };
653 pub const @"602" = CpuModel{
653 pub const @"602": CpuModel = .{
654654 .name = "602",
655655 .llvm_name = "602",
656656 .features = featureSet(&[_]Feature{
657657 .fpu,
658658 }),
659659 };
660 pub const @"603" = CpuModel{
660 pub const @"603": CpuModel = .{
661661 .name = "603",
662662 .llvm_name = "603",
663663 .features = featureSet(&[_]Feature{
......@@ -665,7 +665,7 @@ pub const cpu = struct {
665665 .frsqrte,
666666 }),
667667 };
668 pub const @"603e" = CpuModel{
668 pub const @"603e": CpuModel = .{
669669 .name = "603e",
670670 .llvm_name = "603e",
671671 .features = featureSet(&[_]Feature{
......@@ -673,7 +673,7 @@ pub const cpu = struct {
673673 .frsqrte,
674674 }),
675675 };
676 pub const @"603ev" = CpuModel{
676 pub const @"603ev": CpuModel = .{
677677 .name = "603ev",
678678 .llvm_name = "603ev",
679679 .features = featureSet(&[_]Feature{
......@@ -681,7 +681,7 @@ pub const cpu = struct {
681681 .frsqrte,
682682 }),
683683 };
684 pub const @"604" = CpuModel{
684 pub const @"604": CpuModel = .{
685685 .name = "604",
686686 .llvm_name = "604",
687687 .features = featureSet(&[_]Feature{
......@@ -689,7 +689,7 @@ pub const cpu = struct {
689689 .frsqrte,
690690 }),
691691 };
692 pub const @"604e" = CpuModel{
692 pub const @"604e": CpuModel = .{
693693 .name = "604e",
694694 .llvm_name = "604e",
695695 .features = featureSet(&[_]Feature{
......@@ -697,7 +697,7 @@ pub const cpu = struct {
697697 .frsqrte,
698698 }),
699699 };
700 pub const @"620" = CpuModel{
700 pub const @"620": CpuModel = .{
701701 .name = "620",
702702 .llvm_name = "620",
703703 .features = featureSet(&[_]Feature{
......@@ -705,7 +705,7 @@ pub const cpu = struct {
705705 .frsqrte,
706706 }),
707707 };
708 pub const @"7400" = CpuModel{
708 pub const @"7400": CpuModel = .{
709709 .name = "7400",
710710 .llvm_name = "7400",
711711 .features = featureSet(&[_]Feature{
......@@ -714,7 +714,7 @@ pub const cpu = struct {
714714 .frsqrte,
715715 }),
716716 };
717 pub const @"7450" = CpuModel{
717 pub const @"7450": CpuModel = .{
718718 .name = "7450",
719719 .llvm_name = "7450",
720720 .features = featureSet(&[_]Feature{
......@@ -723,7 +723,7 @@ pub const cpu = struct {
723723 .frsqrte,
724724 }),
725725 };
726 pub const @"750" = CpuModel{
726 pub const @"750": CpuModel = .{
727727 .name = "750",
728728 .llvm_name = "750",
729729 .features = featureSet(&[_]Feature{
......@@ -731,7 +731,7 @@ pub const cpu = struct {
731731 .frsqrte,
732732 }),
733733 };
734 pub const @"970" = CpuModel{
734 pub const @"970": CpuModel = .{
735735 .name = "970",
736736 .llvm_name = "970",
737737 .features = featureSet(&[_]Feature{
......@@ -744,7 +744,7 @@ pub const cpu = struct {
744744 .stfiwx,
745745 }),
746746 };
747 pub const a2 = CpuModel{
747 pub const a2: CpuModel = .{
748748 .name = "a2",
749749 .llvm_name = "a2",
750750 .features = featureSet(&[_]Feature{
......@@ -769,7 +769,7 @@ pub const cpu = struct {
769769 .stfiwx,
770770 }),
771771 };
772 pub const e500 = CpuModel{
772 pub const e500: CpuModel = .{
773773 .name = "e500",
774774 .llvm_name = "e500",
775775 .features = featureSet(&[_]Feature{
......@@ -778,7 +778,7 @@ pub const cpu = struct {
778778 .spe,
779779 }),
780780 };
781 pub const e500mc = CpuModel{
781 pub const e500mc: CpuModel = .{
782782 .name = "e500mc",
783783 .llvm_name = "e500mc",
784784 .features = featureSet(&[_]Feature{
......@@ -787,7 +787,7 @@ pub const cpu = struct {
787787 .stfiwx,
788788 }),
789789 };
790 pub const e5500 = CpuModel{
790 pub const e5500: CpuModel = .{
791791 .name = "e5500",
792792 .llvm_name = "e5500",
793793 .features = featureSet(&[_]Feature{
......@@ -798,7 +798,7 @@ pub const cpu = struct {
798798 .stfiwx,
799799 }),
800800 };
801 pub const future = CpuModel{
801 pub const future: CpuModel = .{
802802 .name = "future",
803803 .llvm_name = "future",
804804 .features = featureSet(&[_]Feature{
......@@ -847,7 +847,7 @@ pub const cpu = struct {
847847 .two_const_nr,
848848 }),
849849 };
850 pub const g3 = CpuModel{
850 pub const g3: CpuModel = .{
851851 .name = "g3",
852852 .llvm_name = "g3",
853853 .features = featureSet(&[_]Feature{
......@@ -855,7 +855,7 @@ pub const cpu = struct {
855855 .frsqrte,
856856 }),
857857 };
858 pub const g4 = CpuModel{
858 pub const g4: CpuModel = .{
859859 .name = "g4",
860860 .llvm_name = "g4",
861861 .features = featureSet(&[_]Feature{
......@@ -864,7 +864,7 @@ pub const cpu = struct {
864864 .frsqrte,
865865 }),
866866 };
867 pub const @"g4+" = CpuModel{
867 pub const @"g4+": CpuModel = .{
868868 .name = "g4+",
869869 .llvm_name = "g4+",
870870 .features = featureSet(&[_]Feature{
......@@ -873,7 +873,7 @@ pub const cpu = struct {
873873 .frsqrte,
874874 }),
875875 };
876 pub const g5 = CpuModel{
876 pub const g5: CpuModel = .{
877877 .name = "g5",
878878 .llvm_name = "g5",
879879 .features = featureSet(&[_]Feature{
......@@ -886,21 +886,21 @@ pub const cpu = struct {
886886 .stfiwx,
887887 }),
888888 };
889 pub const generic = CpuModel{
889 pub const generic: CpuModel = .{
890890 .name = "generic",
891891 .llvm_name = "generic",
892892 .features = featureSet(&[_]Feature{
893893 .hard_float,
894894 }),
895895 };
896 pub const ppc = CpuModel{
896 pub const ppc: CpuModel = .{
897897 .name = "ppc",
898898 .llvm_name = "ppc",
899899 .features = featureSet(&[_]Feature{
900900 .hard_float,
901901 }),
902902 };
903 pub const ppc64 = CpuModel{
903 pub const ppc64: CpuModel = .{
904904 .name = "ppc64",
905905 .llvm_name = "ppc64",
906906 .features = featureSet(&[_]Feature{
......@@ -913,7 +913,7 @@ pub const cpu = struct {
913913 .stfiwx,
914914 }),
915915 };
916 pub const ppc64le = CpuModel{
916 pub const ppc64le: CpuModel = .{
917917 .name = "ppc64le",
918918 .llvm_name = "ppc64le",
919919 .features = featureSet(&[_]Feature{
......@@ -953,7 +953,7 @@ pub const cpu = struct {
953953 .two_const_nr,
954954 }),
955955 };
956 pub const pwr10 = CpuModel{
956 pub const pwr10: CpuModel = .{
957957 .name = "pwr10",
958958 .llvm_name = "pwr10",
959959 .features = featureSet(&[_]Feature{
......@@ -1001,7 +1001,7 @@ pub const cpu = struct {
10011001 .two_const_nr,
10021002 }),
10031003 };
1004 pub const pwr11 = CpuModel{
1004 pub const pwr11: CpuModel = .{
10051005 .name = "pwr11",
10061006 .llvm_name = "pwr11",
10071007 .features = featureSet(&[_]Feature{
......@@ -1049,7 +1049,7 @@ pub const cpu = struct {
10491049 .two_const_nr,
10501050 }),
10511051 };
1052 pub const pwr3 = CpuModel{
1052 pub const pwr3: CpuModel = .{
10531053 .name = "pwr3",
10541054 .llvm_name = "pwr3",
10551055 .features = featureSet(&[_]Feature{
......@@ -1061,7 +1061,7 @@ pub const cpu = struct {
10611061 .stfiwx,
10621062 }),
10631063 };
1064 pub const pwr4 = CpuModel{
1064 pub const pwr4: CpuModel = .{
10651065 .name = "pwr4",
10661066 .llvm_name = "pwr4",
10671067 .features = featureSet(&[_]Feature{
......@@ -1074,7 +1074,7 @@ pub const cpu = struct {
10741074 .stfiwx,
10751075 }),
10761076 };
1077 pub const pwr5 = CpuModel{
1077 pub const pwr5: CpuModel = .{
10781078 .name = "pwr5",
10791079 .llvm_name = "pwr5",
10801080 .features = featureSet(&[_]Feature{
......@@ -1089,7 +1089,7 @@ pub const cpu = struct {
10891089 .stfiwx,
10901090 }),
10911091 };
1092 pub const pwr5x = CpuModel{
1092 pub const pwr5x: CpuModel = .{
10931093 .name = "pwr5x",
10941094 .llvm_name = "pwr5x",
10951095 .features = featureSet(&[_]Feature{
......@@ -1105,7 +1105,7 @@ pub const cpu = struct {
11051105 .stfiwx,
11061106 }),
11071107 };
1108 pub const pwr6 = CpuModel{
1108 pub const pwr6: CpuModel = .{
11091109 .name = "pwr6",
11101110 .llvm_name = "pwr6",
11111111 .features = featureSet(&[_]Feature{
......@@ -1125,7 +1125,7 @@ pub const cpu = struct {
11251125 .stfiwx,
11261126 }),
11271127 };
1128 pub const pwr6x = CpuModel{
1128 pub const pwr6x: CpuModel = .{
11291129 .name = "pwr6x",
11301130 .llvm_name = "pwr6x",
11311131 .features = featureSet(&[_]Feature{
......@@ -1145,7 +1145,7 @@ pub const cpu = struct {
11451145 .stfiwx,
11461146 }),
11471147 };
1148 pub const pwr7 = CpuModel{
1148 pub const pwr7: CpuModel = .{
11491149 .name = "pwr7",
11501150 .llvm_name = "pwr7",
11511151 .features = featureSet(&[_]Feature{
......@@ -1174,7 +1174,7 @@ pub const cpu = struct {
11741174 .vsx,
11751175 }),
11761176 };
1177 pub const pwr8 = CpuModel{
1177 pub const pwr8: CpuModel = .{
11781178 .name = "pwr8",
11791179 .llvm_name = "pwr8",
11801180 .features = featureSet(&[_]Feature{
......@@ -1214,7 +1214,7 @@ pub const cpu = struct {
12141214 .two_const_nr,
12151215 }),
12161216 };
1217 pub const pwr9 = CpuModel{
1217 pub const pwr9: CpuModel = .{
12181218 .name = "pwr9",
12191219 .llvm_name = "pwr9",
12201220 .features = featureSet(&[_]Feature{
lib/std/Target/riscv.zig+31-31
......@@ -1909,7 +1909,7 @@ pub const all_features = blk: {
19091909};
19101910
19111911pub const cpu = struct {
1912 pub const baseline_rv32 = CpuModel{
1912 pub const baseline_rv32: CpuModel = .{
19131913 .name = "baseline_rv32",
19141914 .llvm_name = null,
19151915 .features = featureSet(&[_]Feature{
......@@ -1921,7 +1921,7 @@ pub const cpu = struct {
19211921 .m,
19221922 }),
19231923 };
1924 pub const baseline_rv64 = CpuModel{
1924 pub const baseline_rv64: CpuModel = .{
19251925 .name = "baseline_rv64",
19261926 .llvm_name = null,
19271927 .features = featureSet(&[_]Feature{
......@@ -1933,12 +1933,12 @@ pub const cpu = struct {
19331933 .m,
19341934 }),
19351935 };
1936 pub const generic = CpuModel{
1936 pub const generic: CpuModel = .{
19371937 .name = "generic",
19381938 .llvm_name = "generic",
19391939 .features = featureSet(&[_]Feature{}),
19401940 };
1941 pub const generic_rv32 = CpuModel{
1941 pub const generic_rv32: CpuModel = .{
19421942 .name = "generic_rv32",
19431943 .llvm_name = "generic-rv32",
19441944 .features = featureSet(&[_]Feature{
......@@ -1946,7 +1946,7 @@ pub const cpu = struct {
19461946 .i,
19471947 }),
19481948 };
1949 pub const generic_rv64 = CpuModel{
1949 pub const generic_rv64: CpuModel = .{
19501950 .name = "generic_rv64",
19511951 .llvm_name = "generic-rv64",
19521952 .features = featureSet(&[_]Feature{
......@@ -1954,12 +1954,12 @@ pub const cpu = struct {
19541954 .i,
19551955 }),
19561956 };
1957 pub const rocket = CpuModel{
1957 pub const rocket: CpuModel = .{
19581958 .name = "rocket",
19591959 .llvm_name = "rocket",
19601960 .features = featureSet(&[_]Feature{}),
19611961 };
1962 pub const rocket_rv32 = CpuModel{
1962 pub const rocket_rv32: CpuModel = .{
19631963 .name = "rocket_rv32",
19641964 .llvm_name = "rocket-rv32",
19651965 .features = featureSet(&[_]Feature{
......@@ -1969,7 +1969,7 @@ pub const cpu = struct {
19691969 .zifencei,
19701970 }),
19711971 };
1972 pub const rocket_rv64 = CpuModel{
1972 pub const rocket_rv64: CpuModel = .{
19731973 .name = "rocket_rv64",
19741974 .llvm_name = "rocket-rv64",
19751975 .features = featureSet(&[_]Feature{
......@@ -1979,7 +1979,7 @@ pub const cpu = struct {
19791979 .zifencei,
19801980 }),
19811981 };
1982 pub const sifive_7_series = CpuModel{
1982 pub const sifive_7_series: CpuModel = .{
19831983 .name = "sifive_7_series",
19841984 .llvm_name = "sifive-7-series",
19851985 .features = featureSet(&[_]Feature{
......@@ -1988,7 +1988,7 @@ pub const cpu = struct {
19881988 .use_postra_scheduler,
19891989 }),
19901990 };
1991 pub const sifive_e20 = CpuModel{
1991 pub const sifive_e20: CpuModel = .{
19921992 .name = "sifive_e20",
19931993 .llvm_name = "sifive-e20",
19941994 .features = featureSet(&[_]Feature{
......@@ -2000,7 +2000,7 @@ pub const cpu = struct {
20002000 .zifencei,
20012001 }),
20022002 };
2003 pub const sifive_e21 = CpuModel{
2003 pub const sifive_e21: CpuModel = .{
20042004 .name = "sifive_e21",
20052005 .llvm_name = "sifive-e21",
20062006 .features = featureSet(&[_]Feature{
......@@ -2013,7 +2013,7 @@ pub const cpu = struct {
20132013 .zifencei,
20142014 }),
20152015 };
2016 pub const sifive_e24 = CpuModel{
2016 pub const sifive_e24: CpuModel = .{
20172017 .name = "sifive_e24",
20182018 .llvm_name = "sifive-e24",
20192019 .features = featureSet(&[_]Feature{
......@@ -2026,7 +2026,7 @@ pub const cpu = struct {
20262026 .zifencei,
20272027 }),
20282028 };
2029 pub const sifive_e31 = CpuModel{
2029 pub const sifive_e31: CpuModel = .{
20302030 .name = "sifive_e31",
20312031 .llvm_name = "sifive-e31",
20322032 .features = featureSet(&[_]Feature{
......@@ -2039,7 +2039,7 @@ pub const cpu = struct {
20392039 .zifencei,
20402040 }),
20412041 };
2042 pub const sifive_e34 = CpuModel{
2042 pub const sifive_e34: CpuModel = .{
20432043 .name = "sifive_e34",
20442044 .llvm_name = "sifive-e34",
20452045 .features = featureSet(&[_]Feature{
......@@ -2052,7 +2052,7 @@ pub const cpu = struct {
20522052 .zifencei,
20532053 }),
20542054 };
2055 pub const sifive_e76 = CpuModel{
2055 pub const sifive_e76: CpuModel = .{
20562056 .name = "sifive_e76",
20572057 .llvm_name = "sifive-e76",
20582058 .features = featureSet(&[_]Feature{
......@@ -2068,7 +2068,7 @@ pub const cpu = struct {
20682068 .zifencei,
20692069 }),
20702070 };
2071 pub const sifive_p450 = CpuModel{
2071 pub const sifive_p450: CpuModel = .{
20722072 .name = "sifive_p450",
20732073 .llvm_name = "sifive-p450",
20742074 .features = featureSet(&[_]Feature{
......@@ -2104,7 +2104,7 @@ pub const cpu = struct {
21042104 .zihpm,
21052105 }),
21062106 };
2107 pub const sifive_p670 = CpuModel{
2107 pub const sifive_p670: CpuModel = .{
21082108 .name = "sifive_p670",
21092109 .llvm_name = "sifive-p670",
21102110 .features = featureSet(&[_]Feature{
......@@ -2146,7 +2146,7 @@ pub const cpu = struct {
21462146 .zvksg,
21472147 }),
21482148 };
2149 pub const sifive_s21 = CpuModel{
2149 pub const sifive_s21: CpuModel = .{
21502150 .name = "sifive_s21",
21512151 .llvm_name = "sifive-s21",
21522152 .features = featureSet(&[_]Feature{
......@@ -2159,7 +2159,7 @@ pub const cpu = struct {
21592159 .zifencei,
21602160 }),
21612161 };
2162 pub const sifive_s51 = CpuModel{
2162 pub const sifive_s51: CpuModel = .{
21632163 .name = "sifive_s51",
21642164 .llvm_name = "sifive-s51",
21652165 .features = featureSet(&[_]Feature{
......@@ -2172,7 +2172,7 @@ pub const cpu = struct {
21722172 .zifencei,
21732173 }),
21742174 };
2175 pub const sifive_s54 = CpuModel{
2175 pub const sifive_s54: CpuModel = .{
21762176 .name = "sifive_s54",
21772177 .llvm_name = "sifive-s54",
21782178 .features = featureSet(&[_]Feature{
......@@ -2185,7 +2185,7 @@ pub const cpu = struct {
21852185 .zifencei,
21862186 }),
21872187 };
2188 pub const sifive_s76 = CpuModel{
2188 pub const sifive_s76: CpuModel = .{
21892189 .name = "sifive_s76",
21902190 .llvm_name = "sifive-s76",
21912191 .features = featureSet(&[_]Feature{
......@@ -2202,7 +2202,7 @@ pub const cpu = struct {
22022202 .zihintpause,
22032203 }),
22042204 };
2205 pub const sifive_u54 = CpuModel{
2205 pub const sifive_u54: CpuModel = .{
22062206 .name = "sifive_u54",
22072207 .llvm_name = "sifive-u54",
22082208 .features = featureSet(&[_]Feature{
......@@ -2215,7 +2215,7 @@ pub const cpu = struct {
22152215 .zifencei,
22162216 }),
22172217 };
2218 pub const sifive_u74 = CpuModel{
2218 pub const sifive_u74: CpuModel = .{
22192219 .name = "sifive_u74",
22202220 .llvm_name = "sifive-u74",
22212221 .features = featureSet(&[_]Feature{
......@@ -2231,7 +2231,7 @@ pub const cpu = struct {
22312231 .zifencei,
22322232 }),
22332233 };
2234 pub const sifive_x280 = CpuModel{
2234 pub const sifive_x280: CpuModel = .{
22352235 .name = "sifive_x280",
22362236 .llvm_name = "sifive-x280",
22372237 .features = featureSet(&[_]Feature{
......@@ -2254,7 +2254,7 @@ pub const cpu = struct {
22542254 .zvl512b,
22552255 }),
22562256 };
2257 pub const spacemit_x60 = CpuModel{
2257 pub const spacemit_x60: CpuModel = .{
22582258 .name = "spacemit_x60",
22592259 .llvm_name = "spacemit-x60",
22602260 .features = featureSet(&[_]Feature{
......@@ -2302,7 +2302,7 @@ pub const cpu = struct {
23022302 .zvl256b,
23032303 }),
23042304 };
2305 pub const syntacore_scr1_base = CpuModel{
2305 pub const syntacore_scr1_base: CpuModel = .{
23062306 .name = "syntacore_scr1_base",
23072307 .llvm_name = "syntacore-scr1-base",
23082308 .features = featureSet(&[_]Feature{
......@@ -2314,7 +2314,7 @@ pub const cpu = struct {
23142314 .zifencei,
23152315 }),
23162316 };
2317 pub const syntacore_scr1_max = CpuModel{
2317 pub const syntacore_scr1_max: CpuModel = .{
23182318 .name = "syntacore_scr1_max",
23192319 .llvm_name = "syntacore-scr1-max",
23202320 .features = featureSet(&[_]Feature{
......@@ -2327,7 +2327,7 @@ pub const cpu = struct {
23272327 .zifencei,
23282328 }),
23292329 };
2330 pub const syntacore_scr3_rv32 = CpuModel{
2330 pub const syntacore_scr3_rv32: CpuModel = .{
23312331 .name = "syntacore_scr3_rv32",
23322332 .llvm_name = "syntacore-scr3-rv32",
23332333 .features = featureSet(&[_]Feature{
......@@ -2341,7 +2341,7 @@ pub const cpu = struct {
23412341 .zifencei,
23422342 }),
23432343 };
2344 pub const syntacore_scr3_rv64 = CpuModel{
2344 pub const syntacore_scr3_rv64: CpuModel = .{
23452345 .name = "syntacore_scr3_rv64",
23462346 .llvm_name = "syntacore-scr3-rv64",
23472347 .features = featureSet(&[_]Feature{
......@@ -2356,7 +2356,7 @@ pub const cpu = struct {
23562356 .zifencei,
23572357 }),
23582358 };
2359 pub const veyron_v1 = CpuModel{
2359 pub const veyron_v1: CpuModel = .{
23602360 .name = "veyron_v1",
23612361 .llvm_name = "veyron-v1",
23622362 .features = featureSet(&[_]Feature{
......@@ -2387,7 +2387,7 @@ pub const cpu = struct {
23872387 .zihpm,
23882388 }),
23892389 };
2390 pub const xiangshan_nanhu = CpuModel{
2390 pub const xiangshan_nanhu: CpuModel = .{
23912391 .name = "xiangshan_nanhu",
23922392 .llvm_name = "xiangshan-nanhu",
23932393 .features = featureSet(&[_]Feature{
lib/std/Target/s390x.zig+15-15
......@@ -289,7 +289,7 @@ pub const all_features = blk: {
289289};
290290
291291pub const cpu = struct {
292 pub const arch10 = CpuModel{
292 pub const arch10: CpuModel = .{
293293 .name = "arch10",
294294 .llvm_name = "arch10",
295295 .features = featureSet(&[_]Feature{
......@@ -312,7 +312,7 @@ pub const cpu = struct {
312312 .transactional_execution,
313313 }),
314314 };
315 pub const arch11 = CpuModel{
315 pub const arch11: CpuModel = .{
316316 .name = "arch11",
317317 .llvm_name = "arch11",
318318 .features = featureSet(&[_]Feature{
......@@ -340,7 +340,7 @@ pub const cpu = struct {
340340 .vector,
341341 }),
342342 };
343 pub const arch12 = CpuModel{
343 pub const arch12: CpuModel = .{
344344 .name = "arch12",
345345 .llvm_name = "arch12",
346346 .features = featureSet(&[_]Feature{
......@@ -376,7 +376,7 @@ pub const cpu = struct {
376376 .vector_packed_decimal,
377377 }),
378378 };
379 pub const arch13 = CpuModel{
379 pub const arch13: CpuModel = .{
380380 .name = "arch13",
381381 .llvm_name = "arch13",
382382 .features = featureSet(&[_]Feature{
......@@ -418,7 +418,7 @@ pub const cpu = struct {
418418 .vector_packed_decimal_enhancement,
419419 }),
420420 };
421 pub const arch14 = CpuModel{
421 pub const arch14: CpuModel = .{
422422 .name = "arch14",
423423 .llvm_name = "arch14",
424424 .features = featureSet(&[_]Feature{
......@@ -465,12 +465,12 @@ pub const cpu = struct {
465465 .vector_packed_decimal_enhancement_2,
466466 }),
467467 };
468 pub const arch8 = CpuModel{
468 pub const arch8: CpuModel = .{
469469 .name = "arch8",
470470 .llvm_name = "arch8",
471471 .features = featureSet(&[_]Feature{}),
472472 };
473 pub const arch9 = CpuModel{
473 pub const arch9: CpuModel = .{
474474 .name = "arch9",
475475 .llvm_name = "arch9",
476476 .features = featureSet(&[_]Feature{
......@@ -486,17 +486,17 @@ pub const cpu = struct {
486486 .reset_reference_bits_multiple,
487487 }),
488488 };
489 pub const generic = CpuModel{
489 pub const generic: CpuModel = .{
490490 .name = "generic",
491491 .llvm_name = "generic",
492492 .features = featureSet(&[_]Feature{}),
493493 };
494 pub const z10 = CpuModel{
494 pub const z10: CpuModel = .{
495495 .name = "z10",
496496 .llvm_name = "z10",
497497 .features = featureSet(&[_]Feature{}),
498498 };
499 pub const z13 = CpuModel{
499 pub const z13: CpuModel = .{
500500 .name = "z13",
501501 .llvm_name = "z13",
502502 .features = featureSet(&[_]Feature{
......@@ -524,7 +524,7 @@ pub const cpu = struct {
524524 .vector,
525525 }),
526526 };
527 pub const z14 = CpuModel{
527 pub const z14: CpuModel = .{
528528 .name = "z14",
529529 .llvm_name = "z14",
530530 .features = featureSet(&[_]Feature{
......@@ -560,7 +560,7 @@ pub const cpu = struct {
560560 .vector_packed_decimal,
561561 }),
562562 };
563 pub const z15 = CpuModel{
563 pub const z15: CpuModel = .{
564564 .name = "z15",
565565 .llvm_name = "z15",
566566 .features = featureSet(&[_]Feature{
......@@ -602,7 +602,7 @@ pub const cpu = struct {
602602 .vector_packed_decimal_enhancement,
603603 }),
604604 };
605 pub const z16 = CpuModel{
605 pub const z16: CpuModel = .{
606606 .name = "z16",
607607 .llvm_name = "z16",
608608 .features = featureSet(&[_]Feature{
......@@ -649,7 +649,7 @@ pub const cpu = struct {
649649 .vector_packed_decimal_enhancement_2,
650650 }),
651651 };
652 pub const z196 = CpuModel{
652 pub const z196: CpuModel = .{
653653 .name = "z196",
654654 .llvm_name = "z196",
655655 .features = featureSet(&[_]Feature{
......@@ -665,7 +665,7 @@ pub const cpu = struct {
665665 .reset_reference_bits_multiple,
666666 }),
667667 };
668 pub const zEC12 = CpuModel{
668 pub const zEC12: CpuModel = .{
669669 .name = "zEC12",
670670 .llvm_name = "zEC12",
671671 .features = featureSet(&[_]Feature{
lib/std/Target/sparc.zig+40-40
......@@ -309,7 +309,7 @@ pub const all_features = blk: {
309309};
310310
311311pub const cpu = struct {
312 pub const at697e = CpuModel{
312 pub const at697e: CpuModel = .{
313313 .name = "at697e",
314314 .llvm_name = "at697e",
315315 .features = featureSet(&[_]Feature{
......@@ -317,7 +317,7 @@ pub const cpu = struct {
317317 .leon,
318318 }),
319319 };
320 pub const at697f = CpuModel{
320 pub const at697f: CpuModel = .{
321321 .name = "at697f",
322322 .llvm_name = "at697f",
323323 .features = featureSet(&[_]Feature{
......@@ -325,17 +325,17 @@ pub const cpu = struct {
325325 .leon,
326326 }),
327327 };
328 pub const f934 = CpuModel{
328 pub const f934: CpuModel = .{
329329 .name = "f934",
330330 .llvm_name = "f934",
331331 .features = featureSet(&[_]Feature{}),
332332 };
333 pub const generic = CpuModel{
333 pub const generic: CpuModel = .{
334334 .name = "generic",
335335 .llvm_name = "generic",
336336 .features = featureSet(&[_]Feature{}),
337337 };
338 pub const gr712rc = CpuModel{
338 pub const gr712rc: CpuModel = .{
339339 .name = "gr712rc",
340340 .llvm_name = "gr712rc",
341341 .features = featureSet(&[_]Feature{
......@@ -343,7 +343,7 @@ pub const cpu = struct {
343343 .leon,
344344 }),
345345 };
346 pub const gr740 = CpuModel{
346 pub const gr740: CpuModel = .{
347347 .name = "gr740",
348348 .llvm_name = "gr740",
349349 .features = featureSet(&[_]Feature{
......@@ -354,19 +354,19 @@ pub const cpu = struct {
354354 .leonpwrpsr,
355355 }),
356356 };
357 pub const hypersparc = CpuModel{
357 pub const hypersparc: CpuModel = .{
358358 .name = "hypersparc",
359359 .llvm_name = "hypersparc",
360360 .features = featureSet(&[_]Feature{}),
361361 };
362 pub const leon2 = CpuModel{
362 pub const leon2: CpuModel = .{
363363 .name = "leon2",
364364 .llvm_name = "leon2",
365365 .features = featureSet(&[_]Feature{
366366 .leon,
367367 }),
368368 };
369 pub const leon3 = CpuModel{
369 pub const leon3: CpuModel = .{
370370 .name = "leon3",
371371 .llvm_name = "leon3",
372372 .features = featureSet(&[_]Feature{
......@@ -374,7 +374,7 @@ pub const cpu = struct {
374374 .leon,
375375 }),
376376 };
377 pub const leon4 = CpuModel{
377 pub const leon4: CpuModel = .{
378378 .name = "leon4",
379379 .llvm_name = "leon4",
380380 .features = featureSet(&[_]Feature{
......@@ -383,7 +383,7 @@ pub const cpu = struct {
383383 .leon,
384384 }),
385385 };
386 pub const ma2080 = CpuModel{
386 pub const ma2080: CpuModel = .{
387387 .name = "ma2080",
388388 .llvm_name = "ma2080",
389389 .features = featureSet(&[_]Feature{
......@@ -391,7 +391,7 @@ pub const cpu = struct {
391391 .leon,
392392 }),
393393 };
394 pub const ma2085 = CpuModel{
394 pub const ma2085: CpuModel = .{
395395 .name = "ma2085",
396396 .llvm_name = "ma2085",
397397 .features = featureSet(&[_]Feature{
......@@ -399,7 +399,7 @@ pub const cpu = struct {
399399 .leon,
400400 }),
401401 };
402 pub const ma2100 = CpuModel{
402 pub const ma2100: CpuModel = .{
403403 .name = "ma2100",
404404 .llvm_name = "ma2100",
405405 .features = featureSet(&[_]Feature{
......@@ -407,7 +407,7 @@ pub const cpu = struct {
407407 .leon,
408408 }),
409409 };
410 pub const ma2150 = CpuModel{
410 pub const ma2150: CpuModel = .{
411411 .name = "ma2150",
412412 .llvm_name = "ma2150",
413413 .features = featureSet(&[_]Feature{
......@@ -415,7 +415,7 @@ pub const cpu = struct {
415415 .leon,
416416 }),
417417 };
418 pub const ma2155 = CpuModel{
418 pub const ma2155: CpuModel = .{
419419 .name = "ma2155",
420420 .llvm_name = "ma2155",
421421 .features = featureSet(&[_]Feature{
......@@ -423,7 +423,7 @@ pub const cpu = struct {
423423 .leon,
424424 }),
425425 };
426 pub const ma2450 = CpuModel{
426 pub const ma2450: CpuModel = .{
427427 .name = "ma2450",
428428 .llvm_name = "ma2450",
429429 .features = featureSet(&[_]Feature{
......@@ -431,7 +431,7 @@ pub const cpu = struct {
431431 .leon,
432432 }),
433433 };
434 pub const ma2455 = CpuModel{
434 pub const ma2455: CpuModel = .{
435435 .name = "ma2455",
436436 .llvm_name = "ma2455",
437437 .features = featureSet(&[_]Feature{
......@@ -439,7 +439,7 @@ pub const cpu = struct {
439439 .leon,
440440 }),
441441 };
442 pub const ma2480 = CpuModel{
442 pub const ma2480: CpuModel = .{
443443 .name = "ma2480",
444444 .llvm_name = "ma2480",
445445 .features = featureSet(&[_]Feature{
......@@ -447,7 +447,7 @@ pub const cpu = struct {
447447 .leon,
448448 }),
449449 };
450 pub const ma2485 = CpuModel{
450 pub const ma2485: CpuModel = .{
451451 .name = "ma2485",
452452 .llvm_name = "ma2485",
453453 .features = featureSet(&[_]Feature{
......@@ -455,7 +455,7 @@ pub const cpu = struct {
455455 .leon,
456456 }),
457457 };
458 pub const ma2x5x = CpuModel{
458 pub const ma2x5x: CpuModel = .{
459459 .name = "ma2x5x",
460460 .llvm_name = "ma2x5x",
461461 .features = featureSet(&[_]Feature{
......@@ -463,7 +463,7 @@ pub const cpu = struct {
463463 .leon,
464464 }),
465465 };
466 pub const ma2x8x = CpuModel{
466 pub const ma2x8x: CpuModel = .{
467467 .name = "ma2x8x",
468468 .llvm_name = "ma2x8x",
469469 .features = featureSet(&[_]Feature{
......@@ -471,7 +471,7 @@ pub const cpu = struct {
471471 .leon,
472472 }),
473473 };
474 pub const myriad2 = CpuModel{
474 pub const myriad2: CpuModel = .{
475475 .name = "myriad2",
476476 .llvm_name = "myriad2",
477477 .features = featureSet(&[_]Feature{
......@@ -479,7 +479,7 @@ pub const cpu = struct {
479479 .leon,
480480 }),
481481 };
482 pub const myriad2_1 = CpuModel{
482 pub const myriad2_1: CpuModel = .{
483483 .name = "myriad2_1",
484484 .llvm_name = "myriad2.1",
485485 .features = featureSet(&[_]Feature{
......@@ -487,7 +487,7 @@ pub const cpu = struct {
487487 .leon,
488488 }),
489489 };
490 pub const myriad2_2 = CpuModel{
490 pub const myriad2_2: CpuModel = .{
491491 .name = "myriad2_2",
492492 .llvm_name = "myriad2.2",
493493 .features = featureSet(&[_]Feature{
......@@ -495,7 +495,7 @@ pub const cpu = struct {
495495 .leon,
496496 }),
497497 };
498 pub const myriad2_3 = CpuModel{
498 pub const myriad2_3: CpuModel = .{
499499 .name = "myriad2_3",
500500 .llvm_name = "myriad2.3",
501501 .features = featureSet(&[_]Feature{
......@@ -503,7 +503,7 @@ pub const cpu = struct {
503503 .leon,
504504 }),
505505 };
506 pub const niagara = CpuModel{
506 pub const niagara: CpuModel = .{
507507 .name = "niagara",
508508 .llvm_name = "niagara",
509509 .features = featureSet(&[_]Feature{
......@@ -513,7 +513,7 @@ pub const cpu = struct {
513513 .vis2,
514514 }),
515515 };
516 pub const niagara2 = CpuModel{
516 pub const niagara2: CpuModel = .{
517517 .name = "niagara2",
518518 .llvm_name = "niagara2",
519519 .features = featureSet(&[_]Feature{
......@@ -524,7 +524,7 @@ pub const cpu = struct {
524524 .vis2,
525525 }),
526526 };
527 pub const niagara3 = CpuModel{
527 pub const niagara3: CpuModel = .{
528528 .name = "niagara3",
529529 .llvm_name = "niagara3",
530530 .features = featureSet(&[_]Feature{
......@@ -535,7 +535,7 @@ pub const cpu = struct {
535535 .vis2,
536536 }),
537537 };
538 pub const niagara4 = CpuModel{
538 pub const niagara4: CpuModel = .{
539539 .name = "niagara4",
540540 .llvm_name = "niagara4",
541541 .features = featureSet(&[_]Feature{
......@@ -547,32 +547,32 @@ pub const cpu = struct {
547547 .vis3,
548548 }),
549549 };
550 pub const sparclet = CpuModel{
550 pub const sparclet: CpuModel = .{
551551 .name = "sparclet",
552552 .llvm_name = "sparclet",
553553 .features = featureSet(&[_]Feature{}),
554554 };
555 pub const sparclite = CpuModel{
555 pub const sparclite: CpuModel = .{
556556 .name = "sparclite",
557557 .llvm_name = "sparclite",
558558 .features = featureSet(&[_]Feature{}),
559559 };
560 pub const sparclite86x = CpuModel{
560 pub const sparclite86x: CpuModel = .{
561561 .name = "sparclite86x",
562562 .llvm_name = "sparclite86x",
563563 .features = featureSet(&[_]Feature{}),
564564 };
565 pub const supersparc = CpuModel{
565 pub const supersparc: CpuModel = .{
566566 .name = "supersparc",
567567 .llvm_name = "supersparc",
568568 .features = featureSet(&[_]Feature{}),
569569 };
570 pub const tsc701 = CpuModel{
570 pub const tsc701: CpuModel = .{
571571 .name = "tsc701",
572572 .llvm_name = "tsc701",
573573 .features = featureSet(&[_]Feature{}),
574574 };
575 pub const ultrasparc = CpuModel{
575 pub const ultrasparc: CpuModel = .{
576576 .name = "ultrasparc",
577577 .llvm_name = "ultrasparc",
578578 .features = featureSet(&[_]Feature{
......@@ -581,7 +581,7 @@ pub const cpu = struct {
581581 .vis,
582582 }),
583583 };
584 pub const ultrasparc3 = CpuModel{
584 pub const ultrasparc3: CpuModel = .{
585585 .name = "ultrasparc3",
586586 .llvm_name = "ultrasparc3",
587587 .features = featureSet(&[_]Feature{
......@@ -591,7 +591,7 @@ pub const cpu = struct {
591591 .vis2,
592592 }),
593593 };
594 pub const ut699 = CpuModel{
594 pub const ut699: CpuModel = .{
595595 .name = "ut699",
596596 .llvm_name = "ut699",
597597 .features = featureSet(&[_]Feature{
......@@ -602,7 +602,7 @@ pub const cpu = struct {
602602 .no_fsmuld,
603603 }),
604604 };
605 pub const v7 = CpuModel{
605 pub const v7: CpuModel = .{
606606 .name = "v7",
607607 .llvm_name = "v7",
608608 .features = featureSet(&[_]Feature{
......@@ -610,12 +610,12 @@ pub const cpu = struct {
610610 .soft_mul_div,
611611 }),
612612 };
613 pub const v8 = CpuModel{
613 pub const v8: CpuModel = .{
614614 .name = "v8",
615615 .llvm_name = "v8",
616616 .features = featureSet(&[_]Feature{}),
617617 };
618 pub const v9 = CpuModel{
618 pub const v9: CpuModel = .{
619619 .name = "v9",
620620 .llvm_name = "v9",
621621 .features = featureSet(&[_]Feature{
lib/std/Target/ve.zig+1-1
......@@ -31,7 +31,7 @@ pub const all_features = blk: {
3131};
3232
3333pub const cpu = struct {
34 pub const generic = CpuModel{
34 pub const generic: CpuModel = .{
3535 .name = "generic",
3636 .llvm_name = "generic",
3737 .features = featureSet(&[_]Feature{
lib/std/Target/wasm.zig+3-3
......@@ -109,7 +109,7 @@ pub const all_features = blk: {
109109};
110110
111111pub const cpu = struct {
112 pub const bleeding_edge = CpuModel{
112 pub const bleeding_edge: CpuModel = .{
113113 .name = "bleeding_edge",
114114 .llvm_name = "bleeding-edge",
115115 .features = featureSet(&[_]Feature{
......@@ -129,7 +129,7 @@ pub const cpu = struct {
129129 .tail_call,
130130 }),
131131 };
132 pub const generic = CpuModel{
132 pub const generic: CpuModel = .{
133133 .name = "generic",
134134 .llvm_name = "generic",
135135 .features = featureSet(&[_]Feature{
......@@ -139,7 +139,7 @@ pub const cpu = struct {
139139 .sign_ext,
140140 }),
141141 };
142 pub const mvp = CpuModel{
142 pub const mvp: CpuModel = .{
143143 .name = "mvp",
144144 .llvm_name = "mvp",
145145 .features = featureSet(&[_]Feature{}),
lib/std/Target/x86.zig+98-98
......@@ -1315,7 +1315,7 @@ pub const all_features = blk: {
13151315};
13161316
13171317pub const cpu = struct {
1318 pub const alderlake = CpuModel{
1318 pub const alderlake: CpuModel = .{
13191319 .name = "alderlake",
13201320 .llvm_name = "alderlake",
13211321 .features = featureSet(&[_]Feature{
......@@ -1383,7 +1383,7 @@ pub const cpu = struct {
13831383 .xsaves,
13841384 }),
13851385 };
1386 pub const amdfam10 = CpuModel{
1386 pub const amdfam10: CpuModel = .{
13871387 .name = "amdfam10",
13881388 .llvm_name = "amdfam10",
13891389 .features = featureSet(&[_]Feature{
......@@ -1406,7 +1406,7 @@ pub const cpu = struct {
14061406 .x87,
14071407 }),
14081408 };
1409 pub const arrowlake = CpuModel{
1409 pub const arrowlake: CpuModel = .{
14101410 .name = "arrowlake",
14111411 .llvm_name = "arrowlake",
14121412 .features = featureSet(&[_]Feature{
......@@ -1480,7 +1480,7 @@ pub const cpu = struct {
14801480 .xsaves,
14811481 }),
14821482 };
1483 pub const arrowlake_s = CpuModel{
1483 pub const arrowlake_s: CpuModel = .{
14841484 .name = "arrowlake_s",
14851485 .llvm_name = "arrowlake-s",
14861486 .features = featureSet(&[_]Feature{
......@@ -1558,7 +1558,7 @@ pub const cpu = struct {
15581558 .xsaves,
15591559 }),
15601560 };
1561 pub const athlon = CpuModel{
1561 pub const athlon: CpuModel = .{
15621562 .name = "athlon",
15631563 .llvm_name = "athlon",
15641564 .features = featureSet(&[_]Feature{
......@@ -1573,7 +1573,7 @@ pub const cpu = struct {
15731573 .x87,
15741574 }),
15751575 };
1576 pub const athlon64 = CpuModel{
1576 pub const athlon64: CpuModel = .{
15771577 .name = "athlon64",
15781578 .llvm_name = "athlon64",
15791579 .features = featureSet(&[_]Feature{
......@@ -1593,7 +1593,7 @@ pub const cpu = struct {
15931593 .x87,
15941594 }),
15951595 };
1596 pub const athlon64_sse3 = CpuModel{
1596 pub const athlon64_sse3: CpuModel = .{
15971597 .name = "athlon64_sse3",
15981598 .llvm_name = "athlon64-sse3",
15991599 .features = featureSet(&[_]Feature{
......@@ -1613,7 +1613,7 @@ pub const cpu = struct {
16131613 .x87,
16141614 }),
16151615 };
1616 pub const athlon_4 = CpuModel{
1616 pub const athlon_4: CpuModel = .{
16171617 .name = "athlon_4",
16181618 .llvm_name = "athlon-4",
16191619 .features = featureSet(&[_]Feature{
......@@ -1630,7 +1630,7 @@ pub const cpu = struct {
16301630 .x87,
16311631 }),
16321632 };
1633 pub const athlon_fx = CpuModel{
1633 pub const athlon_fx: CpuModel = .{
16341634 .name = "athlon_fx",
16351635 .llvm_name = "athlon-fx",
16361636 .features = featureSet(&[_]Feature{
......@@ -1650,7 +1650,7 @@ pub const cpu = struct {
16501650 .x87,
16511651 }),
16521652 };
1653 pub const athlon_mp = CpuModel{
1653 pub const athlon_mp: CpuModel = .{
16541654 .name = "athlon_mp",
16551655 .llvm_name = "athlon-mp",
16561656 .features = featureSet(&[_]Feature{
......@@ -1667,7 +1667,7 @@ pub const cpu = struct {
16671667 .x87,
16681668 }),
16691669 };
1670 pub const athlon_tbird = CpuModel{
1670 pub const athlon_tbird: CpuModel = .{
16711671 .name = "athlon_tbird",
16721672 .llvm_name = "athlon-tbird",
16731673 .features = featureSet(&[_]Feature{
......@@ -1682,7 +1682,7 @@ pub const cpu = struct {
16821682 .x87,
16831683 }),
16841684 };
1685 pub const athlon_xp = CpuModel{
1685 pub const athlon_xp: CpuModel = .{
16861686 .name = "athlon_xp",
16871687 .llvm_name = "athlon-xp",
16881688 .features = featureSet(&[_]Feature{
......@@ -1699,7 +1699,7 @@ pub const cpu = struct {
16991699 .x87,
17001700 }),
17011701 };
1702 pub const atom = CpuModel{
1702 pub const atom: CpuModel = .{
17031703 .name = "atom",
17041704 .llvm_name = "atom",
17051705 .features = featureSet(&[_]Feature{
......@@ -1725,7 +1725,7 @@ pub const cpu = struct {
17251725 .x87,
17261726 }),
17271727 };
1728 pub const atom_sse4_2_movbe = CpuModel{
1728 pub const atom_sse4_2_movbe: CpuModel = .{
17291729 .name = "atom_sse4_2_movbe",
17301730 .llvm_name = "atom_sse4_2_movbe",
17311731 .features = featureSet(&[_]Feature{
......@@ -1765,7 +1765,7 @@ pub const cpu = struct {
17651765 .xsaves,
17661766 }),
17671767 };
1768 pub const barcelona = CpuModel{
1768 pub const barcelona: CpuModel = .{
17691769 .name = "barcelona",
17701770 .llvm_name = "barcelona",
17711771 .features = featureSet(&[_]Feature{
......@@ -1788,7 +1788,7 @@ pub const cpu = struct {
17881788 .x87,
17891789 }),
17901790 };
1791 pub const bdver1 = CpuModel{
1791 pub const bdver1: CpuModel = .{
17921792 .name = "bdver1",
17931793 .llvm_name = "bdver1",
17941794 .features = featureSet(&[_]Feature{
......@@ -1817,7 +1817,7 @@ pub const cpu = struct {
18171817 .xsave,
18181818 }),
18191819 };
1820 pub const bdver2 = CpuModel{
1820 pub const bdver2: CpuModel = .{
18211821 .name = "bdver2",
18221822 .llvm_name = "bdver2",
18231823 .features = featureSet(&[_]Feature{
......@@ -1852,7 +1852,7 @@ pub const cpu = struct {
18521852 .xsave,
18531853 }),
18541854 };
1855 pub const bdver3 = CpuModel{
1855 pub const bdver3: CpuModel = .{
18561856 .name = "bdver3",
18571857 .llvm_name = "bdver3",
18581858 .features = featureSet(&[_]Feature{
......@@ -1888,7 +1888,7 @@ pub const cpu = struct {
18881888 .xsaveopt,
18891889 }),
18901890 };
1891 pub const bdver4 = CpuModel{
1891 pub const bdver4: CpuModel = .{
18921892 .name = "bdver4",
18931893 .llvm_name = "bdver4",
18941894 .features = featureSet(&[_]Feature{
......@@ -1929,7 +1929,7 @@ pub const cpu = struct {
19291929 .xsaveopt,
19301930 }),
19311931 };
1932 pub const bonnell = CpuModel{
1932 pub const bonnell: CpuModel = .{
19331933 .name = "bonnell",
19341934 .llvm_name = "bonnell",
19351935 .features = featureSet(&[_]Feature{
......@@ -1955,7 +1955,7 @@ pub const cpu = struct {
19551955 .x87,
19561956 }),
19571957 };
1958 pub const broadwell = CpuModel{
1958 pub const broadwell: CpuModel = .{
19591959 .name = "broadwell",
19601960 .llvm_name = "broadwell",
19611961 .features = featureSet(&[_]Feature{
......@@ -2000,7 +2000,7 @@ pub const cpu = struct {
20002000 .xsaveopt,
20012001 }),
20022002 };
2003 pub const btver1 = CpuModel{
2003 pub const btver1: CpuModel = .{
20042004 .name = "btver1",
20052005 .llvm_name = "btver1",
20062006 .features = featureSet(&[_]Feature{
......@@ -2027,7 +2027,7 @@ pub const cpu = struct {
20272027 .x87,
20282028 }),
20292029 };
2030 pub const btver2 = CpuModel{
2030 pub const btver2: CpuModel = .{
20312031 .name = "btver2",
20322032 .llvm_name = "btver2",
20332033 .features = featureSet(&[_]Feature{
......@@ -2062,7 +2062,7 @@ pub const cpu = struct {
20622062 .xsaveopt,
20632063 }),
20642064 };
2065 pub const c3 = CpuModel{
2065 pub const c3: CpuModel = .{
20662066 .name = "c3",
20672067 .llvm_name = "c3",
20682068 .features = featureSet(&[_]Feature{
......@@ -2073,7 +2073,7 @@ pub const cpu = struct {
20732073 .x87,
20742074 }),
20752075 };
2076 pub const c3_2 = CpuModel{
2076 pub const c3_2: CpuModel = .{
20772077 .name = "c3_2",
20782078 .llvm_name = "c3-2",
20792079 .features = featureSet(&[_]Feature{
......@@ -2087,7 +2087,7 @@ pub const cpu = struct {
20872087 .x87,
20882088 }),
20892089 };
2090 pub const cannonlake = CpuModel{
2090 pub const cannonlake: CpuModel = .{
20912091 .name = "cannonlake",
20922092 .llvm_name = "cannonlake",
20932093 .features = featureSet(&[_]Feature{
......@@ -2144,7 +2144,7 @@ pub const cpu = struct {
21442144 .xsaves,
21452145 }),
21462146 };
2147 pub const cascadelake = CpuModel{
2147 pub const cascadelake: CpuModel = .{
21482148 .name = "cascadelake",
21492149 .llvm_name = "cascadelake",
21502150 .features = featureSet(&[_]Feature{
......@@ -2203,7 +2203,7 @@ pub const cpu = struct {
22032203 .xsaves,
22042204 }),
22052205 };
2206 pub const clearwaterforest = CpuModel{
2206 pub const clearwaterforest: CpuModel = .{
22072207 .name = "clearwaterforest",
22082208 .llvm_name = "clearwaterforest",
22092209 .features = featureSet(&[_]Feature{
......@@ -2283,7 +2283,7 @@ pub const cpu = struct {
22832283 .xsaves,
22842284 }),
22852285 };
2286 pub const cooperlake = CpuModel{
2286 pub const cooperlake: CpuModel = .{
22872287 .name = "cooperlake",
22882288 .llvm_name = "cooperlake",
22892289 .features = featureSet(&[_]Feature{
......@@ -2342,7 +2342,7 @@ pub const cpu = struct {
23422342 .xsaves,
23432343 }),
23442344 };
2345 pub const core2 = CpuModel{
2345 pub const core2: CpuModel = .{
23462346 .name = "core2",
23472347 .llvm_name = "core2",
23482348 .features = featureSet(&[_]Feature{
......@@ -2360,7 +2360,7 @@ pub const cpu = struct {
23602360 .x87,
23612361 }),
23622362 };
2363 pub const corei7 = CpuModel{
2363 pub const corei7: CpuModel = .{
23642364 .name = "corei7",
23652365 .llvm_name = "corei7",
23662366 .features = featureSet(&[_]Feature{
......@@ -2380,7 +2380,7 @@ pub const cpu = struct {
23802380 .x87,
23812381 }),
23822382 };
2383 pub const emeraldrapids = CpuModel{
2383 pub const emeraldrapids: CpuModel = .{
23842384 .name = "emeraldrapids",
23852385 .llvm_name = "emeraldrapids",
23862386 .features = featureSet(&[_]Feature{
......@@ -2464,7 +2464,7 @@ pub const cpu = struct {
24642464 .xsaves,
24652465 }),
24662466 };
2467 pub const generic = CpuModel{
2467 pub const generic: CpuModel = .{
24682468 .name = "generic",
24692469 .llvm_name = "generic",
24702470 .features = featureSet(&[_]Feature{
......@@ -2479,7 +2479,7 @@ pub const cpu = struct {
24792479 .x87,
24802480 }),
24812481 };
2482 pub const geode = CpuModel{
2482 pub const geode: CpuModel = .{
24832483 .name = "geode",
24842484 .llvm_name = "geode",
24852485 .features = featureSet(&[_]Feature{
......@@ -2491,7 +2491,7 @@ pub const cpu = struct {
24912491 .x87,
24922492 }),
24932493 };
2494 pub const goldmont = CpuModel{
2494 pub const goldmont: CpuModel = .{
24952495 .name = "goldmont",
24962496 .llvm_name = "goldmont",
24972497 .features = featureSet(&[_]Feature{
......@@ -2528,7 +2528,7 @@ pub const cpu = struct {
25282528 .xsaves,
25292529 }),
25302530 };
2531 pub const goldmont_plus = CpuModel{
2531 pub const goldmont_plus: CpuModel = .{
25322532 .name = "goldmont_plus",
25332533 .llvm_name = "goldmont-plus",
25342534 .features = featureSet(&[_]Feature{
......@@ -2566,7 +2566,7 @@ pub const cpu = struct {
25662566 .xsaves,
25672567 }),
25682568 };
2569 pub const gracemont = CpuModel{
2569 pub const gracemont: CpuModel = .{
25702570 .name = "gracemont",
25712571 .llvm_name = "gracemont",
25722572 .features = featureSet(&[_]Feature{
......@@ -2623,7 +2623,7 @@ pub const cpu = struct {
26232623 .xsaves,
26242624 }),
26252625 };
2626 pub const grandridge = CpuModel{
2626 pub const grandridge: CpuModel = .{
26272627 .name = "grandridge",
26282628 .llvm_name = "grandridge",
26292629 .features = featureSet(&[_]Feature{
......@@ -2686,7 +2686,7 @@ pub const cpu = struct {
26862686 .xsaves,
26872687 }),
26882688 };
2689 pub const graniterapids = CpuModel{
2689 pub const graniterapids: CpuModel = .{
26902690 .name = "graniterapids",
26912691 .llvm_name = "graniterapids",
26922692 .features = featureSet(&[_]Feature{
......@@ -2773,7 +2773,7 @@ pub const cpu = struct {
27732773 .xsaves,
27742774 }),
27752775 };
2776 pub const graniterapids_d = CpuModel{
2776 pub const graniterapids_d: CpuModel = .{
27772777 .name = "graniterapids_d",
27782778 .llvm_name = "graniterapids-d",
27792779 .features = featureSet(&[_]Feature{
......@@ -2861,7 +2861,7 @@ pub const cpu = struct {
28612861 .xsaves,
28622862 }),
28632863 };
2864 pub const haswell = CpuModel{
2864 pub const haswell: CpuModel = .{
28652865 .name = "haswell",
28662866 .llvm_name = "haswell",
28672867 .features = featureSet(&[_]Feature{
......@@ -2903,7 +2903,7 @@ pub const cpu = struct {
29032903 .xsaveopt,
29042904 }),
29052905 };
2906 pub const @"i386" = CpuModel{
2906 pub const @"i386": CpuModel = .{
29072907 .name = "i386",
29082908 .llvm_name = "i386",
29092909 .features = featureSet(&[_]Feature{
......@@ -2912,7 +2912,7 @@ pub const cpu = struct {
29122912 .x87,
29132913 }),
29142914 };
2915 pub const @"i486" = CpuModel{
2915 pub const @"i486": CpuModel = .{
29162916 .name = "i486",
29172917 .llvm_name = "i486",
29182918 .features = featureSet(&[_]Feature{
......@@ -2921,7 +2921,7 @@ pub const cpu = struct {
29212921 .x87,
29222922 }),
29232923 };
2924 pub const @"i586" = CpuModel{
2924 pub const @"i586": CpuModel = .{
29252925 .name = "i586",
29262926 .llvm_name = "i586",
29272927 .features = featureSet(&[_]Feature{
......@@ -2931,7 +2931,7 @@ pub const cpu = struct {
29312931 .x87,
29322932 }),
29332933 };
2934 pub const @"i686" = CpuModel{
2934 pub const @"i686": CpuModel = .{
29352935 .name = "i686",
29362936 .llvm_name = "i686",
29372937 .features = featureSet(&[_]Feature{
......@@ -2942,7 +2942,7 @@ pub const cpu = struct {
29422942 .x87,
29432943 }),
29442944 };
2945 pub const icelake_client = CpuModel{
2945 pub const icelake_client: CpuModel = .{
29462946 .name = "icelake_client",
29472947 .llvm_name = "icelake-client",
29482948 .features = featureSet(&[_]Feature{
......@@ -3005,7 +3005,7 @@ pub const cpu = struct {
30053005 .xsaves,
30063006 }),
30073007 };
3008 pub const icelake_server = CpuModel{
3008 pub const icelake_server: CpuModel = .{
30093009 .name = "icelake_server",
30103010 .llvm_name = "icelake-server",
30113011 .features = featureSet(&[_]Feature{
......@@ -3071,7 +3071,7 @@ pub const cpu = struct {
30713071 .xsaves,
30723072 }),
30733073 };
3074 pub const ivybridge = CpuModel{
3074 pub const ivybridge: CpuModel = .{
30753075 .name = "ivybridge",
30763076 .llvm_name = "ivybridge",
30773077 .features = featureSet(&[_]Feature{
......@@ -3101,7 +3101,7 @@ pub const cpu = struct {
31013101 .xsaveopt,
31023102 }),
31033103 };
3104 pub const k6 = CpuModel{
3104 pub const k6: CpuModel = .{
31053105 .name = "k6",
31063106 .llvm_name = "k6",
31073107 .features = featureSet(&[_]Feature{
......@@ -3112,7 +3112,7 @@ pub const cpu = struct {
31123112 .x87,
31133113 }),
31143114 };
3115 pub const k6_2 = CpuModel{
3115 pub const k6_2: CpuModel = .{
31163116 .name = "k6_2",
31173117 .llvm_name = "k6-2",
31183118 .features = featureSet(&[_]Feature{
......@@ -3124,7 +3124,7 @@ pub const cpu = struct {
31243124 .x87,
31253125 }),
31263126 };
3127 pub const k6_3 = CpuModel{
3127 pub const k6_3: CpuModel = .{
31283128 .name = "k6_3",
31293129 .llvm_name = "k6-3",
31303130 .features = featureSet(&[_]Feature{
......@@ -3136,7 +3136,7 @@ pub const cpu = struct {
31363136 .x87,
31373137 }),
31383138 };
3139 pub const k8 = CpuModel{
3139 pub const k8: CpuModel = .{
31403140 .name = "k8",
31413141 .llvm_name = "k8",
31423142 .features = featureSet(&[_]Feature{
......@@ -3156,7 +3156,7 @@ pub const cpu = struct {
31563156 .x87,
31573157 }),
31583158 };
3159 pub const k8_sse3 = CpuModel{
3159 pub const k8_sse3: CpuModel = .{
31603160 .name = "k8_sse3",
31613161 .llvm_name = "k8-sse3",
31623162 .features = featureSet(&[_]Feature{
......@@ -3176,7 +3176,7 @@ pub const cpu = struct {
31763176 .x87,
31773177 }),
31783178 };
3179 pub const knl = CpuModel{
3179 pub const knl: CpuModel = .{
31803180 .name = "knl",
31813181 .llvm_name = "knl",
31823182 .features = featureSet(&[_]Feature{
......@@ -3217,7 +3217,7 @@ pub const cpu = struct {
32173217 .xsaveopt,
32183218 }),
32193219 };
3220 pub const knm = CpuModel{
3220 pub const knm: CpuModel = .{
32213221 .name = "knm",
32223222 .llvm_name = "knm",
32233223 .features = featureSet(&[_]Feature{
......@@ -3259,7 +3259,7 @@ pub const cpu = struct {
32593259 .xsaveopt,
32603260 }),
32613261 };
3262 pub const lakemont = CpuModel{
3262 pub const lakemont: CpuModel = .{
32633263 .name = "lakemont",
32643264 .llvm_name = "lakemont",
32653265 .features = featureSet(&[_]Feature{
......@@ -3269,7 +3269,7 @@ pub const cpu = struct {
32693269 .vzeroupper,
32703270 }),
32713271 };
3272 pub const lunarlake = CpuModel{
3272 pub const lunarlake: CpuModel = .{
32733273 .name = "lunarlake",
32743274 .llvm_name = "lunarlake",
32753275 .features = featureSet(&[_]Feature{
......@@ -3347,7 +3347,7 @@ pub const cpu = struct {
33473347 .xsaves,
33483348 }),
33493349 };
3350 pub const meteorlake = CpuModel{
3350 pub const meteorlake: CpuModel = .{
33513351 .name = "meteorlake",
33523352 .llvm_name = "meteorlake",
33533353 .features = featureSet(&[_]Feature{
......@@ -3415,7 +3415,7 @@ pub const cpu = struct {
34153415 .xsaves,
34163416 }),
34173417 };
3418 pub const nehalem = CpuModel{
3418 pub const nehalem: CpuModel = .{
34193419 .name = "nehalem",
34203420 .llvm_name = "nehalem",
34213421 .features = featureSet(&[_]Feature{
......@@ -3435,7 +3435,7 @@ pub const cpu = struct {
34353435 .x87,
34363436 }),
34373437 };
3438 pub const nocona = CpuModel{
3438 pub const nocona: CpuModel = .{
34393439 .name = "nocona",
34403440 .llvm_name = "nocona",
34413441 .features = featureSet(&[_]Feature{
......@@ -3451,7 +3451,7 @@ pub const cpu = struct {
34513451 .x87,
34523452 }),
34533453 };
3454 pub const opteron = CpuModel{
3454 pub const opteron: CpuModel = .{
34553455 .name = "opteron",
34563456 .llvm_name = "opteron",
34573457 .features = featureSet(&[_]Feature{
......@@ -3471,7 +3471,7 @@ pub const cpu = struct {
34713471 .x87,
34723472 }),
34733473 };
3474 pub const opteron_sse3 = CpuModel{
3474 pub const opteron_sse3: CpuModel = .{
34753475 .name = "opteron_sse3",
34763476 .llvm_name = "opteron-sse3",
34773477 .features = featureSet(&[_]Feature{
......@@ -3491,7 +3491,7 @@ pub const cpu = struct {
34913491 .x87,
34923492 }),
34933493 };
3494 pub const pantherlake = CpuModel{
3494 pub const pantherlake: CpuModel = .{
34953495 .name = "pantherlake",
34963496 .llvm_name = "pantherlake",
34973497 .features = featureSet(&[_]Feature{
......@@ -3570,7 +3570,7 @@ pub const cpu = struct {
35703570 .xsaves,
35713571 }),
35723572 };
3573 pub const penryn = CpuModel{
3573 pub const penryn: CpuModel = .{
35743574 .name = "penryn",
35753575 .llvm_name = "penryn",
35763576 .features = featureSet(&[_]Feature{
......@@ -3588,7 +3588,7 @@ pub const cpu = struct {
35883588 .x87,
35893589 }),
35903590 };
3591 pub const pentium = CpuModel{
3591 pub const pentium: CpuModel = .{
35923592 .name = "pentium",
35933593 .llvm_name = "pentium",
35943594 .features = featureSet(&[_]Feature{
......@@ -3598,7 +3598,7 @@ pub const cpu = struct {
35983598 .x87,
35993599 }),
36003600 };
3601 pub const pentium2 = CpuModel{
3601 pub const pentium2: CpuModel = .{
36023602 .name = "pentium2",
36033603 .llvm_name = "pentium2",
36043604 .features = featureSet(&[_]Feature{
......@@ -3612,7 +3612,7 @@ pub const cpu = struct {
36123612 .x87,
36133613 }),
36143614 };
3615 pub const pentium3 = CpuModel{
3615 pub const pentium3: CpuModel = .{
36163616 .name = "pentium3",
36173617 .llvm_name = "pentium3",
36183618 .features = featureSet(&[_]Feature{
......@@ -3627,7 +3627,7 @@ pub const cpu = struct {
36273627 .x87,
36283628 }),
36293629 };
3630 pub const pentium3m = CpuModel{
3630 pub const pentium3m: CpuModel = .{
36313631 .name = "pentium3m",
36323632 .llvm_name = "pentium3m",
36333633 .features = featureSet(&[_]Feature{
......@@ -3642,7 +3642,7 @@ pub const cpu = struct {
36423642 .x87,
36433643 }),
36443644 };
3645 pub const pentium4 = CpuModel{
3645 pub const pentium4: CpuModel = .{
36463646 .name = "pentium4",
36473647 .llvm_name = "pentium4",
36483648 .features = featureSet(&[_]Feature{
......@@ -3657,7 +3657,7 @@ pub const cpu = struct {
36573657 .x87,
36583658 }),
36593659 };
3660 pub const pentium_m = CpuModel{
3660 pub const pentium_m: CpuModel = .{
36613661 .name = "pentium_m",
36623662 .llvm_name = "pentium-m",
36633663 .features = featureSet(&[_]Feature{
......@@ -3672,7 +3672,7 @@ pub const cpu = struct {
36723672 .x87,
36733673 }),
36743674 };
3675 pub const pentium_mmx = CpuModel{
3675 pub const pentium_mmx: CpuModel = .{
36763676 .name = "pentium_mmx",
36773677 .llvm_name = "pentium-mmx",
36783678 .features = featureSet(&[_]Feature{
......@@ -3683,7 +3683,7 @@ pub const cpu = struct {
36833683 .x87,
36843684 }),
36853685 };
3686 pub const pentiumpro = CpuModel{
3686 pub const pentiumpro: CpuModel = .{
36873687 .name = "pentiumpro",
36883688 .llvm_name = "pentiumpro",
36893689 .features = featureSet(&[_]Feature{
......@@ -3695,7 +3695,7 @@ pub const cpu = struct {
36953695 .x87,
36963696 }),
36973697 };
3698 pub const prescott = CpuModel{
3698 pub const prescott: CpuModel = .{
36993699 .name = "prescott",
37003700 .llvm_name = "prescott",
37013701 .features = featureSet(&[_]Feature{
......@@ -3710,7 +3710,7 @@ pub const cpu = struct {
37103710 .x87,
37113711 }),
37123712 };
3713 pub const raptorlake = CpuModel{
3713 pub const raptorlake: CpuModel = .{
37143714 .name = "raptorlake",
37153715 .llvm_name = "raptorlake",
37163716 .features = featureSet(&[_]Feature{
......@@ -3778,7 +3778,7 @@ pub const cpu = struct {
37783778 .xsaves,
37793779 }),
37803780 };
3781 pub const rocketlake = CpuModel{
3781 pub const rocketlake: CpuModel = .{
37823782 .name = "rocketlake",
37833783 .llvm_name = "rocketlake",
37843784 .features = featureSet(&[_]Feature{
......@@ -3841,7 +3841,7 @@ pub const cpu = struct {
38413841 .xsaves,
38423842 }),
38433843 };
3844 pub const sandybridge = CpuModel{
3844 pub const sandybridge: CpuModel = .{
38453845 .name = "sandybridge",
38463846 .llvm_name = "sandybridge",
38473847 .features = featureSet(&[_]Feature{
......@@ -3869,7 +3869,7 @@ pub const cpu = struct {
38693869 .xsaveopt,
38703870 }),
38713871 };
3872 pub const sapphirerapids = CpuModel{
3872 pub const sapphirerapids: CpuModel = .{
38733873 .name = "sapphirerapids",
38743874 .llvm_name = "sapphirerapids",
38753875 .features = featureSet(&[_]Feature{
......@@ -3953,7 +3953,7 @@ pub const cpu = struct {
39533953 .xsaves,
39543954 }),
39553955 };
3956 pub const sierraforest = CpuModel{
3956 pub const sierraforest: CpuModel = .{
39573957 .name = "sierraforest",
39583958 .llvm_name = "sierraforest",
39593959 .features = featureSet(&[_]Feature{
......@@ -4016,7 +4016,7 @@ pub const cpu = struct {
40164016 .xsaves,
40174017 }),
40184018 };
4019 pub const silvermont = CpuModel{
4019 pub const silvermont: CpuModel = .{
40204020 .name = "silvermont",
40214021 .llvm_name = "silvermont",
40224022 .features = featureSet(&[_]Feature{
......@@ -4048,7 +4048,7 @@ pub const cpu = struct {
40484048 .x87,
40494049 }),
40504050 };
4051 pub const skx = CpuModel{
4051 pub const skx: CpuModel = .{
40524052 .name = "skx",
40534053 .llvm_name = "skx",
40544054 .features = featureSet(&[_]Feature{
......@@ -4106,7 +4106,7 @@ pub const cpu = struct {
41064106 .xsaves,
41074107 }),
41084108 };
4109 pub const skylake = CpuModel{
4109 pub const skylake: CpuModel = .{
41104110 .name = "skylake",
41114111 .llvm_name = "skylake",
41124112 .features = featureSet(&[_]Feature{
......@@ -4157,7 +4157,7 @@ pub const cpu = struct {
41574157 .xsaves,
41584158 }),
41594159 };
4160 pub const skylake_avx512 = CpuModel{
4160 pub const skylake_avx512: CpuModel = .{
41614161 .name = "skylake_avx512",
41624162 .llvm_name = "skylake-avx512",
41634163 .features = featureSet(&[_]Feature{
......@@ -4215,7 +4215,7 @@ pub const cpu = struct {
42154215 .xsaves,
42164216 }),
42174217 };
4218 pub const slm = CpuModel{
4218 pub const slm: CpuModel = .{
42194219 .name = "slm",
42204220 .llvm_name = "slm",
42214221 .features = featureSet(&[_]Feature{
......@@ -4247,7 +4247,7 @@ pub const cpu = struct {
42474247 .x87,
42484248 }),
42494249 };
4250 pub const tigerlake = CpuModel{
4250 pub const tigerlake: CpuModel = .{
42514251 .name = "tigerlake",
42524252 .llvm_name = "tigerlake",
42534253 .features = featureSet(&[_]Feature{
......@@ -4315,7 +4315,7 @@ pub const cpu = struct {
43154315 .xsaves,
43164316 }),
43174317 };
4318 pub const tremont = CpuModel{
4318 pub const tremont: CpuModel = .{
43194319 .name = "tremont",
43204320 .llvm_name = "tremont",
43214321 .features = featureSet(&[_]Feature{
......@@ -4355,7 +4355,7 @@ pub const cpu = struct {
43554355 .xsaves,
43564356 }),
43574357 };
4358 pub const westmere = CpuModel{
4358 pub const westmere: CpuModel = .{
43594359 .name = "westmere",
43604360 .llvm_name = "westmere",
43614361 .features = featureSet(&[_]Feature{
......@@ -4376,7 +4376,7 @@ pub const cpu = struct {
43764376 .x87,
43774377 }),
43784378 };
4379 pub const winchip2 = CpuModel{
4379 pub const winchip2: CpuModel = .{
43804380 .name = "winchip2",
43814381 .llvm_name = "winchip2",
43824382 .features = featureSet(&[_]Feature{
......@@ -4387,7 +4387,7 @@ pub const cpu = struct {
43874387 .x87,
43884388 }),
43894389 };
4390 pub const winchip_c6 = CpuModel{
4390 pub const winchip_c6: CpuModel = .{
43914391 .name = "winchip_c6",
43924392 .llvm_name = "winchip-c6",
43934393 .features = featureSet(&[_]Feature{
......@@ -4397,7 +4397,7 @@ pub const cpu = struct {
43974397 .x87,
43984398 }),
43994399 };
4400 pub const x86_64 = CpuModel{
4400 pub const x86_64: CpuModel = .{
44014401 .name = "x86_64",
44024402 .llvm_name = "x86-64",
44034403 .features = featureSet(&[_]Feature{
......@@ -4416,7 +4416,7 @@ pub const cpu = struct {
44164416 .x87,
44174417 }),
44184418 };
4419 pub const x86_64_v2 = CpuModel{
4419 pub const x86_64_v2: CpuModel = .{
44204420 .name = "x86_64_v2",
44214421 .llvm_name = "x86-64-v2",
44224422 .features = featureSet(&[_]Feature{
......@@ -4441,7 +4441,7 @@ pub const cpu = struct {
44414441 .x87,
44424442 }),
44434443 };
4444 pub const x86_64_v3 = CpuModel{
4444 pub const x86_64_v3: CpuModel = .{
44454445 .name = "x86_64_v3",
44464446 .llvm_name = "x86-64-v3",
44474447 .features = featureSet(&[_]Feature{
......@@ -4476,7 +4476,7 @@ pub const cpu = struct {
44764476 .xsave,
44774477 }),
44784478 };
4479 pub const x86_64_v4 = CpuModel{
4479 pub const x86_64_v4: CpuModel = .{
44804480 .name = "x86_64_v4",
44814481 .llvm_name = "x86-64-v4",
44824482 .features = featureSet(&[_]Feature{
......@@ -4515,7 +4515,7 @@ pub const cpu = struct {
45154515 .xsave,
45164516 }),
45174517 };
4518 pub const yonah = CpuModel{
4518 pub const yonah: CpuModel = .{
45194519 .name = "yonah",
45204520 .llvm_name = "yonah",
45214521 .features = featureSet(&[_]Feature{
......@@ -4530,7 +4530,7 @@ pub const cpu = struct {
45304530 .x87,
45314531 }),
45324532 };
4533 pub const znver1 = CpuModel{
4533 pub const znver1: CpuModel = .{
45344534 .name = "znver1",
45354535 .llvm_name = "znver1",
45364536 .features = featureSet(&[_]Feature{
......@@ -4582,7 +4582,7 @@ pub const cpu = struct {
45824582 .xsaves,
45834583 }),
45844584 };
4585 pub const znver2 = CpuModel{
4585 pub const znver2: CpuModel = .{
45864586 .name = "znver2",
45874587 .llvm_name = "znver2",
45884588 .features = featureSet(&[_]Feature{
......@@ -4638,7 +4638,7 @@ pub const cpu = struct {
46384638 .xsaves,
46394639 }),
46404640 };
4641 pub const znver3 = CpuModel{
4641 pub const znver3: CpuModel = .{
46424642 .name = "znver3",
46434643 .llvm_name = "znver3",
46444644 .features = featureSet(&[_]Feature{
......@@ -4697,7 +4697,7 @@ pub const cpu = struct {
46974697 .xsaves,
46984698 }),
46994699 };
4700 pub const znver4 = CpuModel{
4700 pub const znver4: CpuModel = .{
47014701 .name = "znver4",
47024702 .llvm_name = "znver4",
47034703 .features = featureSet(&[_]Feature{
......@@ -4768,7 +4768,7 @@ pub const cpu = struct {
47684768 .xsaves,
47694769 }),
47704770 };
4771 pub const znver5 = CpuModel{
4771 pub const znver5: CpuModel = .{
47724772 .name = "znver5",
47734773 .llvm_name = "znver5",
47744774 .features = featureSet(&[_]Feature{
lib/std/Target/xcore.zig+2-2
......@@ -24,12 +24,12 @@ pub const all_features = blk: {
2424};
2525
2626pub const cpu = struct {
27 pub const generic = CpuModel{
27 pub const generic: CpuModel = .{
2828 .name = "generic",
2929 .llvm_name = "generic",
3030 .features = featureSet(&[_]Feature{}),
3131 };
32 pub const xs1b_generic = CpuModel{
32 pub const xs1b_generic: CpuModel = .{
3333 .name = "xs1b_generic",
3434 .llvm_name = "xs1b-generic",
3535 .features = featureSet(&[_]Feature{}),
lib/std/Target/xtensa.zig+1-1
......@@ -31,7 +31,7 @@ pub const all_features = blk: {
3131};
3232
3333pub const cpu = struct {
34 pub const generic = CpuModel{
34 pub const generic: CpuModel = .{
3535 .name = "generic",
3636 .llvm_name = "generic",
3737 .features = featureSet(&[_]Feature{}),
tools/update_cpu_features.zig+46-49
......@@ -426,23 +426,6 @@ const llvm_targets = [_]LlvmTarget{
426426 .llvm_name = "ARM",
427427 .td_name = "ARM.td",
428428 .branch_quota = 10000,
429 .extra_cpus = &.{
430 .{
431 .llvm_name = "generic",
432 .zig_name = "baseline",
433 .features = &.{"v7a"},
434 },
435 .{
436 .llvm_name = null,
437 .zig_name = "exynos_m1",
438 .features = &.{ "v8a", "exynos" },
439 },
440 .{
441 .llvm_name = null,
442 .zig_name = "exynos_m2",
443 .features = &.{ "v8a", "exynos" },
444 },
445 },
446429 .feature_overrides = &.{
447430 .{
448431 .llvm_name = "exynos",
......@@ -902,6 +885,23 @@ const llvm_targets = [_]LlvmTarget{
902885 .zig_name = "has_v9_5a",
903886 },
904887 },
888 .extra_cpus = &.{
889 .{
890 .llvm_name = "generic",
891 .zig_name = "baseline",
892 .features = &.{"v7a"},
893 },
894 .{
895 .llvm_name = null,
896 .zig_name = "exynos_m1",
897 .features = &.{ "v8a", "exynos" },
898 },
899 .{
900 .llvm_name = null,
901 .zig_name = "exynos_m2",
902 .features = &.{ "v8a", "exynos" },
903 },
904 },
905905 // LLVM removed support for v2 and v3 but zig wants to support targeting old hardware
906906 .extra_features = &.{
907907 .{
......@@ -1224,37 +1224,38 @@ pub fn main() anyerror!void {
12241224 defer arena_state.deinit();
12251225 const arena = arena_state.allocator();
12261226
1227 const stderr = std.io.getStdErr();
12281227 var args = try std.process.argsWithAllocator(arena);
12291228 const args0 = args.next().?;
12301229
12311230 const llvm_tblgen_exe = args.next() orelse
1232 usageAndExit(stderr, args0, 1);
1231 usageAndExit(args0, 1);
12331232
12341233 if (std.mem.eql(u8, llvm_tblgen_exe, "--help")) {
1235 usageAndExit(std.io.getStdOut(), args0, 0);
1234 usageAndExit(args0, 0);
12361235 }
12371236 if (std.mem.startsWith(u8, llvm_tblgen_exe, "-")) {
1238 usageAndExit(stderr, args0, 1);
1237 usageAndExit(args0, 1);
12391238 }
12401239
12411240 const llvm_src_root = args.next() orelse
1242 usageAndExit(stderr, args0, 1);
1241 usageAndExit(args0, 1);
12431242
12441243 if (std.mem.startsWith(u8, llvm_src_root, "-")) {
1245 usageAndExit(stderr, args0, 1);
1244 usageAndExit(args0, 1);
12461245 }
12471246
12481247 const zig_src_root = args.next() orelse
1249 usageAndExit(stderr, args0, 1);
1248 usageAndExit(args0, 1);
1249
12501250 if (std.mem.startsWith(u8, zig_src_root, "-")) {
1251 usageAndExit(stderr, args0, 1);
1251 usageAndExit(args0, 1);
12521252 }
12531253
12541254 var filter: ?[]const u8 = null;
12551255 if (args.next()) |arg| filter = arg;
12561256
1257 if (args.skip()) usageAndExit(stderr, args0, 1);
1257 // there shouldn't be any more argument after the optional filter
1258 if (args.skip()) usageAndExit(args0, 1);
12581259
12591260 var zig_src_dir = try fs.cwd().openDir(zig_src_root, .{});
12601261 defer zig_src_dir.close();
......@@ -1265,7 +1266,7 @@ pub fn main() anyerror!void {
12651266 if (builtin.single_threaded) {
12661267 for (llvm_targets) |llvm_target| {
12671268 if (filter) |zig_name| if (!std.mem.eql(u8, llvm_target.zig_name, zig_name)) continue;
1268 try processOneTarget(Job{
1269 try processOneTarget(.{
12691270 .llvm_tblgen_exe = llvm_tblgen_exe,
12701271 .llvm_src_root = llvm_src_root,
12711272 .zig_src_dir = zig_src_dir,
......@@ -1311,7 +1312,7 @@ fn processOneTarget(job: Job) void {
13111312 const progress_node = job.root_progress.start(llvm_target.zig_name, 3);
13121313 defer progress_node.end();
13131314
1314 const tblgen_progress = progress_node.start("invoke llvm-tblgen", 0);
1315 const tblgen_progress = progress_node.start("running llvm-tblgen", 0);
13151316
13161317 const child_args = [_][]const u8{
13171318 job.llvm_tblgen_exe,
......@@ -1348,16 +1349,16 @@ fn processOneTarget(job: Job) void {
13481349 },
13491350 };
13501351
1351 const json_parse_progress = progress_node.start("parse JSON", 0);
1352 const json_parse_progress = progress_node.start("parsing JSON", 0);
13521353
13531354 const parsed = try json.parseFromSlice(json.Value, arena, json_text, .{});
13541355 defer parsed.deinit();
13551356 const root_map = &parsed.value.object;
13561357 json_parse_progress.end();
13571358
1358 const render_progress = progress_node.start("render zig code", 0);
1359 const render_progress = progress_node.start("rendering Zig code", 0);
13591360
1360 // So far LLVM has only had a few aliases for the same CPU.
1361 // So far, LLVM only has a few aliases for the same CPU.
13611362 var cpu_aliases = std.StringHashMap(std.SegmentedList(struct {
13621363 llvm: []const u8,
13631364 zig: []const u8,
......@@ -1431,7 +1432,7 @@ fn processOneTarget(job: Job) void {
14311432 const implies = kv.value_ptr.object.get("Implies").?.array;
14321433 for (implies.items) |imply| {
14331434 const other_key = imply.object.get("def").?.string;
1434 const other_obj = &root_map.getPtr(other_key).?.object;
1435 const other_obj = root_map.get(other_key).?.object;
14351436 const other_llvm_name = other_obj.get("Name").?.string;
14361437 const other_zig_name = (try llvmFeatureNameToZigNameOmit(
14371438 arena,
......@@ -1448,7 +1449,7 @@ fn processOneTarget(job: Job) void {
14481449 if (kv.value_ptr.object.get("DefaultExts")) |exts_val| {
14491450 for (exts_val.array.items) |ext| {
14501451 const other_key = ext.object.get("def").?.string;
1451 const other_obj = &root_map.getPtr(other_key).?.object;
1452 const other_obj = root_map.get(other_key).?.object;
14521453 const other_llvm_name = other_obj.get("Name").?.string;
14531454 const other_zig_name = (try llvmFeatureNameToZigNameOmit(
14541455 arena,
......@@ -1505,7 +1506,7 @@ fn processOneTarget(job: Job) void {
15051506 const features = kv.value_ptr.object.get("Features").?.array;
15061507 for (features.items) |feature| {
15071508 const feature_key = feature.object.get("def").?.string;
1508 const feature_obj = &root_map.getPtr(feature_key).?.object;
1509 const feature_obj = root_map.get(feature_key).?.object;
15091510 const feature_llvm_name = feature_obj.get("Name").?.string;
15101511 if (feature_llvm_name.len == 0) continue;
15111512 const feature_zig_name = (try llvmFeatureNameToZigNameOmit(
......@@ -1525,7 +1526,7 @@ fn processOneTarget(job: Job) void {
15251526 const tune_features = kv.value_ptr.object.get("TuneFeatures").?.array;
15261527 for (tune_features.items) |feature| {
15271528 const feature_key = feature.object.get("def").?.string;
1528 const feature_obj = &root_map.getPtr(feature_key).?.object;
1529 const feature_obj = root_map.get(feature_key).?.object;
15291530 const feature_llvm_name = feature_obj.get("Name").?.string;
15301531 if (feature_llvm_name.len == 0) continue;
15311532 const feature_zig_name = (try llvmFeatureNameToZigNameOmit(
......@@ -1569,12 +1570,10 @@ fn processOneTarget(job: Job) void {
15691570 mem.sort(Feature, all_features.items, {}, featureLessThan);
15701571 mem.sort(Cpu, all_cpus.items, {}, cpuLessThan);
15711572
1572 const target_sub_path = try fs.path.join(arena, &.{ "lib", "std", "Target" });
1573 var target_dir = try job.zig_src_dir.makeOpenPath(target_sub_path, .{});
1573 var target_dir = try job.zig_src_dir.openDir("lib/std/Target", .{});
15741574 defer target_dir.close();
15751575
15761576 const zig_code_basename = try std.fmt.allocPrint(arena, "{s}.zig", .{llvm_target.zig_name});
1577
15781577 var zig_code_file = try target_dir.createFile(zig_code_basename, .{});
15791578 defer zig_code_file.close();
15801579
......@@ -1705,7 +1704,7 @@ fn processOneTarget(job: Job) void {
17051704 mem.sort([]const u8, cpu_features.items, {}, asciiLessThan);
17061705 if (cpu.llvm_name) |llvm_name| {
17071706 try w.print(
1708 \\ pub const {} = CpuModel{{
1707 \\ pub const {}: CpuModel = .{{
17091708 \\ .name = "{}",
17101709 \\ .llvm_name = "{}",
17111710 \\ .features = featureSet(&[_]Feature{{
......@@ -1716,7 +1715,7 @@ fn processOneTarget(job: Job) void {
17161715 });
17171716 } else {
17181717 try w.print(
1719 \\ pub const {} = CpuModel{{
1718 \\ pub const {}: CpuModel = .{{
17201719 \\ .name = "{}",
17211720 \\ .llvm_name = null,
17221721 \\ .features = featureSet(&[_]Feature{{
......@@ -1753,8 +1752,9 @@ fn processOneTarget(job: Job) void {
17531752 render_progress.end();
17541753}
17551754
1756fn usageAndExit(file: fs.File, arg0: []const u8, code: u8) noreturn {
1757 file.writer().print(
1755fn usageAndExit(arg0: []const u8, code: u8) noreturn {
1756 const stderr = std.io.getStdErr();
1757 stderr.writer().print(
17581758 \\Usage: {s} /path/to/llvm-tblgen /path/git/llvm-project /path/git/zig [zig_name filter]
17591759 \\
17601760 \\Updates lib/std/target/<target>.zig from llvm/lib/Target/<Target>/<Target>.td .
......@@ -1765,18 +1765,15 @@ fn usageAndExit(file: fs.File, arg0: []const u8, code: u8) noreturn {
17651765 std.process.exit(code);
17661766}
17671767
1768fn featureLessThan(context: void, a: Feature, b: Feature) bool {
1769 _ = context;
1768fn featureLessThan(_: void, a: Feature, b: Feature) bool {
17701769 return std.ascii.lessThanIgnoreCase(a.zig_name, b.zig_name);
17711770}
17721771
1773fn cpuLessThan(context: void, a: Cpu, b: Cpu) bool {
1774 _ = context;
1772fn cpuLessThan(_: void, a: Cpu, b: Cpu) bool {
17751773 return std.ascii.lessThanIgnoreCase(a.zig_name, b.zig_name);
17761774}
17771775
1778fn asciiLessThan(context: void, a: []const u8, b: []const u8) bool {
1779 _ = context;
1776fn asciiLessThan(_: void, a: []const u8, b: []const u8) bool {
17801777 return std.ascii.lessThanIgnoreCase(a, b);
17811778}
17821779
......@@ -1803,7 +1800,7 @@ fn llvmFeatureNameToZigNameOmit(
18031800 return try llvmNameToZigName(arena, llvm_name);
18041801}
18051802
1806fn hasSuperclass(obj: *json.ObjectMap, class_name: []const u8) bool {
1803fn hasSuperclass(obj: *const json.ObjectMap, class_name: []const u8) bool {
18071804 const superclasses_json = obj.get("!superclasses") orelse return false;
18081805 for (superclasses_json.array.items) |superclass_json| {
18091806 const superclass = superclass_json.string;