From f36f7d54a7e3aade122a30bac98d1b20d7399148 Mon Sep 17 00:00:00 2001 From: David Rubin Date: Mon, 25 Nov 2024 00:06:14 -0800 Subject: [PATCH] refactor `update_cpu_features.zig` Most of this commit is whitespace changes, moving to use RLS for assigning the `CpuModel` --- lib/std/Target/aarch64.zig | 170 ++++----- lib/std/Target/amdgcn.zig | 140 ++++---- lib/std/Target/arc.zig | 2 +- lib/std/Target/arm.zig | 192 +++++------ lib/std/Target/avr.zig | 630 +++++++++++++++++----------------- lib/std/Target/bpf.zig | 12 +- lib/std/Target/csky.zig | 318 ++++++++--------- lib/std/Target/hexagon.zig | 28 +- lib/std/Target/lanai.zig | 4 +- lib/std/Target/loongarch.zig | 12 +- lib/std/Target/m68k.zig | 14 +- lib/std/Target/mips.zig | 38 +- lib/std/Target/msp430.zig | 6 +- lib/std/Target/nvptx.zig | 42 +-- lib/std/Target/powerpc.zig | 76 ++-- lib/std/Target/riscv.zig | 62 ++-- lib/std/Target/s390x.zig | 30 +- lib/std/Target/sparc.zig | 80 ++--- lib/std/Target/ve.zig | 2 +- lib/std/Target/wasm.zig | 6 +- lib/std/Target/x86.zig | 196 +++++------ lib/std/Target/xcore.zig | 4 +- lib/std/Target/xtensa.zig | 2 +- tools/update_cpu_features.zig | 95 +++-- 24 files changed, 1079 insertions(+), 1082 deletions(-) diff --git a/lib/std/Target/aarch64.zig b/lib/std/Target/aarch64.zig index 8b501e2dc2..6c52fbbb18 100644 --- a/lib/std/Target/aarch64.zig +++ b/lib/std/Target/aarch64.zig @@ -1597,7 +1597,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const a64fx = CpuModel{ + pub const a64fx: CpuModel = .{ .name = "a64fx", .llvm_name = "a64fx", .features = featureSet(&[_]Feature{ @@ -1614,7 +1614,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const ampere1 = CpuModel{ + pub const ampere1: CpuModel = .{ .name = "ampere1", .llvm_name = "ampere1", .features = featureSet(&[_]Feature{ @@ -1638,7 +1638,7 @@ pub const cpu = struct { .v8_6a, }), }; - pub const ampere1a = CpuModel{ + pub const ampere1a: CpuModel = .{ .name = "ampere1a", .llvm_name = "ampere1a", .features = featureSet(&[_]Feature{ @@ -1665,7 +1665,7 @@ pub const cpu = struct { .v8_6a, }), }; - pub const ampere1b = CpuModel{ + pub const ampere1b: CpuModel = .{ .name = "ampere1b", .llvm_name = "ampere1b", .features = featureSet(&[_]Feature{ @@ -1694,7 +1694,7 @@ pub const cpu = struct { .v8_7a, }), }; - pub const apple_a10 = CpuModel{ + pub const apple_a10: CpuModel = .{ .name = "apple_a10", .llvm_name = "apple-a10", .features = featureSet(&[_]Feature{ @@ -1718,7 +1718,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_a11 = CpuModel{ + pub const apple_a11: CpuModel = .{ .name = "apple_a11", .llvm_name = "apple-a11", .features = featureSet(&[_]Feature{ @@ -1738,7 +1738,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_a12 = CpuModel{ + pub const apple_a12: CpuModel = .{ .name = "apple_a12", .llvm_name = "apple-a12", .features = featureSet(&[_]Feature{ @@ -1758,7 +1758,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_a13 = CpuModel{ + pub const apple_a13: CpuModel = .{ .name = "apple_a13", .llvm_name = "apple-a13", .features = featureSet(&[_]Feature{ @@ -1778,7 +1778,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_a14 = CpuModel{ + pub const apple_a14: CpuModel = .{ .name = "apple_a14", .llvm_name = "apple-a14", .features = featureSet(&[_]Feature{ @@ -1810,7 +1810,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_a15 = CpuModel{ + pub const apple_a15: CpuModel = .{ .name = "apple_a15", .llvm_name = "apple-a15", .features = featureSet(&[_]Feature{ @@ -1834,7 +1834,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_a16 = CpuModel{ + pub const apple_a16: CpuModel = .{ .name = "apple_a16", .llvm_name = "apple-a16", .features = featureSet(&[_]Feature{ @@ -1860,7 +1860,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_a17 = CpuModel{ + pub const apple_a17: CpuModel = .{ .name = "apple_a17", .llvm_name = "apple-a17", .features = featureSet(&[_]Feature{ @@ -1886,7 +1886,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_a7 = CpuModel{ + pub const apple_a7: CpuModel = .{ .name = "apple_a7", .llvm_name = "apple-a7", .features = featureSet(&[_]Feature{ @@ -1906,7 +1906,7 @@ pub const cpu = struct { .zcz_fp_workaround, }), }; - pub const apple_a8 = CpuModel{ + pub const apple_a8: CpuModel = .{ .name = "apple_a8", .llvm_name = "apple-a8", .features = featureSet(&[_]Feature{ @@ -1926,7 +1926,7 @@ pub const cpu = struct { .zcz_fp_workaround, }), }; - pub const apple_a9 = CpuModel{ + pub const apple_a9: CpuModel = .{ .name = "apple_a9", .llvm_name = "apple-a9", .features = featureSet(&[_]Feature{ @@ -1946,7 +1946,7 @@ pub const cpu = struct { .zcz_fp_workaround, }), }; - pub const apple_m1 = CpuModel{ + pub const apple_m1: CpuModel = .{ .name = "apple_m1", .llvm_name = "apple-m1", .features = featureSet(&[_]Feature{ @@ -1978,7 +1978,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_m2 = CpuModel{ + pub const apple_m2: CpuModel = .{ .name = "apple_m2", .llvm_name = "apple-m2", .features = featureSet(&[_]Feature{ @@ -2002,7 +2002,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_m3 = CpuModel{ + pub const apple_m3: CpuModel = .{ .name = "apple_m3", .llvm_name = "apple-m3", .features = featureSet(&[_]Feature{ @@ -2028,7 +2028,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_m4 = CpuModel{ + pub const apple_m4: CpuModel = .{ .name = "apple_m4", .llvm_name = "apple-m4", .features = featureSet(&[_]Feature{ @@ -2054,7 +2054,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_s4 = CpuModel{ + pub const apple_s4: CpuModel = .{ .name = "apple_s4", .llvm_name = "apple-s4", .features = featureSet(&[_]Feature{ @@ -2074,7 +2074,7 @@ pub const cpu = struct { .zcz, }), }; - pub const apple_s5 = CpuModel{ + pub const apple_s5: CpuModel = .{ .name = "apple_s5", .llvm_name = "apple-s5", .features = featureSet(&[_]Feature{ @@ -2094,7 +2094,7 @@ pub const cpu = struct { .zcz, }), }; - pub const carmel = CpuModel{ + pub const carmel: CpuModel = .{ .name = "carmel", .llvm_name = "carmel", .features = featureSet(&[_]Feature{ @@ -2104,7 +2104,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cobalt_100 = CpuModel{ + pub const cobalt_100: CpuModel = .{ .name = "cobalt_100", .llvm_name = "cobalt-100", .features = featureSet(&[_]Feature{ @@ -2124,7 +2124,7 @@ pub const cpu = struct { .v9a, }), }; - pub const cortex_a34 = CpuModel{ + pub const cortex_a34: CpuModel = .{ .name = "cortex_a34", .llvm_name = "cortex-a34", .features = featureSet(&[_]Feature{ @@ -2135,7 +2135,7 @@ pub const cpu = struct { .v8a, }), }; - pub const cortex_a35 = CpuModel{ + pub const cortex_a35: CpuModel = .{ .name = "cortex_a35", .llvm_name = "cortex-a35", .features = featureSet(&[_]Feature{ @@ -2146,7 +2146,7 @@ pub const cpu = struct { .v8a, }), }; - pub const cortex_a510 = CpuModel{ + pub const cortex_a510: CpuModel = .{ .name = "cortex_a510", .llvm_name = "cortex-a510", .features = featureSet(&[_]Feature{ @@ -2163,7 +2163,7 @@ pub const cpu = struct { .v9a, }), }; - pub const cortex_a520 = CpuModel{ + pub const cortex_a520: CpuModel = .{ .name = "cortex_a520", .llvm_name = "cortex-a520", .features = featureSet(&[_]Feature{ @@ -2178,7 +2178,7 @@ pub const cpu = struct { .v9_2a, }), }; - pub const cortex_a520ae = CpuModel{ + pub const cortex_a520ae: CpuModel = .{ .name = "cortex_a520ae", .llvm_name = "cortex-a520ae", .features = featureSet(&[_]Feature{ @@ -2193,7 +2193,7 @@ pub const cpu = struct { .v9_2a, }), }; - pub const cortex_a53 = CpuModel{ + pub const cortex_a53: CpuModel = .{ .name = "cortex_a53", .llvm_name = "cortex-a53", .features = featureSet(&[_]Feature{ @@ -2208,7 +2208,7 @@ pub const cpu = struct { .v8a, }), }; - pub const cortex_a55 = CpuModel{ + pub const cortex_a55: CpuModel = .{ .name = "cortex_a55", .llvm_name = "cortex-a55", .features = featureSet(&[_]Feature{ @@ -2225,7 +2225,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a57 = CpuModel{ + pub const cortex_a57: CpuModel = .{ .name = "cortex_a57", .llvm_name = "cortex-a57", .features = featureSet(&[_]Feature{ @@ -2244,7 +2244,7 @@ pub const cpu = struct { .v8a, }), }; - pub const cortex_a65 = CpuModel{ + pub const cortex_a65: CpuModel = .{ .name = "cortex_a65", .llvm_name = "cortex-a65", .features = featureSet(&[_]Feature{ @@ -2264,7 +2264,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a65ae = CpuModel{ + pub const cortex_a65ae: CpuModel = .{ .name = "cortex_a65ae", .llvm_name = "cortex-a65ae", .features = featureSet(&[_]Feature{ @@ -2284,7 +2284,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a710 = CpuModel{ + pub const cortex_a710: CpuModel = .{ .name = "cortex_a710", .llvm_name = "cortex-a710", .features = featureSet(&[_]Feature{ @@ -2305,7 +2305,7 @@ pub const cpu = struct { .v9a, }), }; - pub const cortex_a715 = CpuModel{ + pub const cortex_a715: CpuModel = .{ .name = "cortex_a715", .llvm_name = "cortex-a715", .features = featureSet(&[_]Feature{ @@ -2327,7 +2327,7 @@ pub const cpu = struct { .v9a, }), }; - pub const cortex_a72 = CpuModel{ + pub const cortex_a72: CpuModel = .{ .name = "cortex_a72", .llvm_name = "cortex-a72", .features = featureSet(&[_]Feature{ @@ -2344,7 +2344,7 @@ pub const cpu = struct { .v8a, }), }; - pub const cortex_a720 = CpuModel{ + pub const cortex_a720: CpuModel = .{ .name = "cortex_a720", .llvm_name = "cortex-a720", .features = featureSet(&[_]Feature{ @@ -2365,7 +2365,7 @@ pub const cpu = struct { .v9_2a, }), }; - pub const cortex_a720ae = CpuModel{ + pub const cortex_a720ae: CpuModel = .{ .name = "cortex_a720ae", .llvm_name = "cortex-a720ae", .features = featureSet(&[_]Feature{ @@ -2386,7 +2386,7 @@ pub const cpu = struct { .v9_2a, }), }; - pub const cortex_a725 = CpuModel{ + pub const cortex_a725: CpuModel = .{ .name = "cortex_a725", .llvm_name = "cortex-a725", .features = featureSet(&[_]Feature{ @@ -2407,7 +2407,7 @@ pub const cpu = struct { .v9_2a, }), }; - pub const cortex_a73 = CpuModel{ + pub const cortex_a73: CpuModel = .{ .name = "cortex_a73", .llvm_name = "cortex-a73", .features = featureSet(&[_]Feature{ @@ -2423,7 +2423,7 @@ pub const cpu = struct { .v8a, }), }; - pub const cortex_a75 = CpuModel{ + pub const cortex_a75: CpuModel = .{ .name = "cortex_a75", .llvm_name = "cortex-a75", .features = featureSet(&[_]Feature{ @@ -2441,7 +2441,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a76 = CpuModel{ + pub const cortex_a76: CpuModel = .{ .name = "cortex_a76", .llvm_name = "cortex-a76", .features = featureSet(&[_]Feature{ @@ -2461,7 +2461,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a76ae = CpuModel{ + pub const cortex_a76ae: CpuModel = .{ .name = "cortex_a76ae", .llvm_name = "cortex-a76ae", .features = featureSet(&[_]Feature{ @@ -2481,7 +2481,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a77 = CpuModel{ + pub const cortex_a77: CpuModel = .{ .name = "cortex_a77", .llvm_name = "cortex-a77", .features = featureSet(&[_]Feature{ @@ -2502,7 +2502,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a78 = CpuModel{ + pub const cortex_a78: CpuModel = .{ .name = "cortex_a78", .llvm_name = "cortex-a78", .features = featureSet(&[_]Feature{ @@ -2525,7 +2525,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a78ae = CpuModel{ + pub const cortex_a78ae: CpuModel = .{ .name = "cortex_a78ae", .llvm_name = "cortex-a78ae", .features = featureSet(&[_]Feature{ @@ -2548,7 +2548,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a78c = CpuModel{ + pub const cortex_a78c: CpuModel = .{ .name = "cortex_a78c", .llvm_name = "cortex-a78c", .features = featureSet(&[_]Feature{ @@ -2573,7 +2573,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_r82 = CpuModel{ + pub const cortex_r82: CpuModel = .{ .name = "cortex_r82", .llvm_name = "cortex-r82", .features = featureSet(&[_]Feature{ @@ -2584,7 +2584,7 @@ pub const cpu = struct { .v8r, }), }; - pub const cortex_r82ae = CpuModel{ + pub const cortex_r82ae: CpuModel = .{ .name = "cortex_r82ae", .llvm_name = "cortex-r82ae", .features = featureSet(&[_]Feature{ @@ -2595,7 +2595,7 @@ pub const cpu = struct { .v8r, }), }; - pub const cortex_x1 = CpuModel{ + pub const cortex_x1: CpuModel = .{ .name = "cortex_x1", .llvm_name = "cortex-x1", .features = featureSet(&[_]Feature{ @@ -2618,7 +2618,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_x1c = CpuModel{ + pub const cortex_x1c: CpuModel = .{ .name = "cortex_x1c", .llvm_name = "cortex-x1c", .features = featureSet(&[_]Feature{ @@ -2644,7 +2644,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_x2 = CpuModel{ + pub const cortex_x2: CpuModel = .{ .name = "cortex_x2", .llvm_name = "cortex-x2", .features = featureSet(&[_]Feature{ @@ -2665,7 +2665,7 @@ pub const cpu = struct { .v9a, }), }; - pub const cortex_x3 = CpuModel{ + pub const cortex_x3: CpuModel = .{ .name = "cortex_x3", .llvm_name = "cortex-x3", .features = featureSet(&[_]Feature{ @@ -2686,7 +2686,7 @@ pub const cpu = struct { .v9a, }), }; - pub const cortex_x4 = CpuModel{ + pub const cortex_x4: CpuModel = .{ .name = "cortex_x4", .llvm_name = "cortex-x4", .features = featureSet(&[_]Feature{ @@ -2706,7 +2706,7 @@ pub const cpu = struct { .v9_2a, }), }; - pub const cortex_x925 = CpuModel{ + pub const cortex_x925: CpuModel = .{ .name = "cortex_x925", .llvm_name = "cortex-x925", .features = featureSet(&[_]Feature{ @@ -2726,7 +2726,7 @@ pub const cpu = struct { .v9_2a, }), }; - pub const cyclone = CpuModel{ + pub const cyclone: CpuModel = .{ .name = "cyclone", .llvm_name = "cyclone", .features = featureSet(&[_]Feature{ @@ -2746,7 +2746,7 @@ pub const cpu = struct { .zcz_fp_workaround, }), }; - pub const emag = CpuModel{ + pub const emag: CpuModel = .{ .name = "emag", .llvm_name = null, .features = featureSet(&[_]Feature{ @@ -2756,7 +2756,7 @@ pub const cpu = struct { .v8a, }), }; - pub const exynos_m1 = CpuModel{ + pub const exynos_m1: CpuModel = .{ .name = "exynos_m1", .llvm_name = null, .features = featureSet(&[_]Feature{ @@ -2773,7 +2773,7 @@ pub const cpu = struct { .v8a, }), }; - pub const exynos_m2 = CpuModel{ + pub const exynos_m2: CpuModel = .{ .name = "exynos_m2", .llvm_name = null, .features = featureSet(&[_]Feature{ @@ -2789,7 +2789,7 @@ pub const cpu = struct { .v8a, }), }; - pub const exynos_m3 = CpuModel{ + pub const exynos_m3: CpuModel = .{ .name = "exynos_m3", .llvm_name = "exynos-m3", .features = featureSet(&[_]Feature{ @@ -2811,7 +2811,7 @@ pub const cpu = struct { .v8a, }), }; - pub const exynos_m4 = CpuModel{ + pub const exynos_m4: CpuModel = .{ .name = "exynos_m4", .llvm_name = "exynos-m4", .features = featureSet(&[_]Feature{ @@ -2837,7 +2837,7 @@ pub const cpu = struct { .zcz, }), }; - pub const exynos_m5 = CpuModel{ + pub const exynos_m5: CpuModel = .{ .name = "exynos_m5", .llvm_name = "exynos-m5", .features = featureSet(&[_]Feature{ @@ -2863,7 +2863,7 @@ pub const cpu = struct { .zcz, }), }; - pub const falkor = CpuModel{ + pub const falkor: CpuModel = .{ .name = "falkor", .llvm_name = "falkor", .features = featureSet(&[_]Feature{ @@ -2881,7 +2881,7 @@ pub const cpu = struct { .zcz, }), }; - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{ @@ -2893,7 +2893,7 @@ pub const cpu = struct { .use_postra_scheduler, }), }; - pub const grace = CpuModel{ + pub const grace: CpuModel = .{ .name = "grace", .llvm_name = "grace", .features = featureSet(&[_]Feature{ @@ -2917,7 +2917,7 @@ pub const cpu = struct { .v9a, }), }; - pub const kryo = CpuModel{ + pub const kryo: CpuModel = .{ .name = "kryo", .llvm_name = "kryo", .features = featureSet(&[_]Feature{ @@ -2933,7 +2933,7 @@ pub const cpu = struct { .zcz, }), }; - pub const neoverse_512tvb = CpuModel{ + pub const neoverse_512tvb: CpuModel = .{ .name = "neoverse_512tvb", .llvm_name = "neoverse-512tvb", .features = featureSet(&[_]Feature{ @@ -2958,7 +2958,7 @@ pub const cpu = struct { .v8_4a, }), }; - pub const neoverse_e1 = CpuModel{ + pub const neoverse_e1: CpuModel = .{ .name = "neoverse_e1", .llvm_name = "neoverse-e1", .features = featureSet(&[_]Feature{ @@ -2975,7 +2975,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const neoverse_n1 = CpuModel{ + pub const neoverse_n1: CpuModel = .{ .name = "neoverse_n1", .llvm_name = "neoverse-n1", .features = featureSet(&[_]Feature{ @@ -2997,7 +2997,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const neoverse_n2 = CpuModel{ + pub const neoverse_n2: CpuModel = .{ .name = "neoverse_n2", .llvm_name = "neoverse-n2", .features = featureSet(&[_]Feature{ @@ -3017,7 +3017,7 @@ pub const cpu = struct { .v9a, }), }; - pub const neoverse_n3 = CpuModel{ + pub const neoverse_n3: CpuModel = .{ .name = "neoverse_n3", .llvm_name = "neoverse-n3", .features = featureSet(&[_]Feature{ @@ -3038,7 +3038,7 @@ pub const cpu = struct { .v9_2a, }), }; - pub const neoverse_v1 = CpuModel{ + pub const neoverse_v1: CpuModel = .{ .name = "neoverse_v1", .llvm_name = "neoverse-v1", .features = featureSet(&[_]Feature{ @@ -3065,7 +3065,7 @@ pub const cpu = struct { .v8_4a, }), }; - pub const neoverse_v2 = CpuModel{ + pub const neoverse_v2: CpuModel = .{ .name = "neoverse_v2", .llvm_name = "neoverse-v2", .features = featureSet(&[_]Feature{ @@ -3089,7 +3089,7 @@ pub const cpu = struct { .v9a, }), }; - pub const neoverse_v3 = CpuModel{ + pub const neoverse_v3: CpuModel = .{ .name = "neoverse_v3", .llvm_name = "neoverse-v3", .features = featureSet(&[_]Feature{ @@ -3112,7 +3112,7 @@ pub const cpu = struct { .v9_2a, }), }; - pub const neoverse_v3ae = CpuModel{ + pub const neoverse_v3ae: CpuModel = .{ .name = "neoverse_v3ae", .llvm_name = "neoverse-v3ae", .features = featureSet(&[_]Feature{ @@ -3135,7 +3135,7 @@ pub const cpu = struct { .v9_2a, }), }; - pub const oryon_1 = CpuModel{ + pub const oryon_1: CpuModel = .{ .name = "oryon_1", .llvm_name = "oryon-1", .features = featureSet(&[_]Feature{ @@ -3155,7 +3155,7 @@ pub const cpu = struct { .v8_6a, }), }; - pub const saphira = CpuModel{ + pub const saphira: CpuModel = .{ .name = "saphira", .llvm_name = "saphira", .features = featureSet(&[_]Feature{ @@ -3171,7 +3171,7 @@ pub const cpu = struct { .zcz, }), }; - pub const thunderx = CpuModel{ + pub const thunderx: CpuModel = .{ .name = "thunderx", .llvm_name = "thunderx", .features = featureSet(&[_]Feature{ @@ -3185,7 +3185,7 @@ pub const cpu = struct { .v8a, }), }; - pub const thunderx2t99 = CpuModel{ + pub const thunderx2t99: CpuModel = .{ .name = "thunderx2t99", .llvm_name = "thunderx2t99", .features = featureSet(&[_]Feature{ @@ -3199,7 +3199,7 @@ pub const cpu = struct { .v8_1a, }), }; - pub const thunderx3t110 = CpuModel{ + pub const thunderx3t110: CpuModel = .{ .name = "thunderx3t110", .llvm_name = "thunderx3t110", .features = featureSet(&[_]Feature{ @@ -3216,7 +3216,7 @@ pub const cpu = struct { .v8_3a, }), }; - pub const thunderxt81 = CpuModel{ + pub const thunderxt81: CpuModel = .{ .name = "thunderxt81", .llvm_name = "thunderxt81", .features = featureSet(&[_]Feature{ @@ -3230,7 +3230,7 @@ pub const cpu = struct { .v8a, }), }; - pub const thunderxt83 = CpuModel{ + pub const thunderxt83: CpuModel = .{ .name = "thunderxt83", .llvm_name = "thunderxt83", .features = featureSet(&[_]Feature{ @@ -3244,7 +3244,7 @@ pub const cpu = struct { .v8a, }), }; - pub const thunderxt88 = CpuModel{ + pub const thunderxt88: CpuModel = .{ .name = "thunderxt88", .llvm_name = "thunderxt88", .features = featureSet(&[_]Feature{ @@ -3258,7 +3258,7 @@ pub const cpu = struct { .v8a, }), }; - pub const tsv110 = CpuModel{ + pub const tsv110: CpuModel = .{ .name = "tsv110", .llvm_name = "tsv110", .features = featureSet(&[_]Feature{ @@ -3276,7 +3276,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const xgene1 = CpuModel{ + pub const xgene1: CpuModel = .{ .name = "xgene1", .llvm_name = null, .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/amdgcn.zig b/lib/std/Target/amdgcn.zig index a12e1b0c0b..97ce9edf12 100644 --- a/lib/std/Target/amdgcn.zig +++ b/lib/std/Target/amdgcn.zig @@ -1410,7 +1410,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const bonaire = CpuModel{ + pub const bonaire: CpuModel = .{ .name = "bonaire", .llvm_name = "bonaire", .features = featureSet(&[_]Feature{ @@ -1418,7 +1418,7 @@ pub const cpu = struct { .sea_islands, }), }; - pub const carrizo = CpuModel{ + pub const carrizo: CpuModel = .{ .name = "carrizo", .llvm_name = "carrizo", .features = featureSet(&[_]Feature{ @@ -1430,7 +1430,7 @@ pub const cpu = struct { .xnack_support, }), }; - pub const fiji = CpuModel{ + pub const fiji: CpuModel = .{ .name = "fiji", .llvm_name = "fiji", .features = featureSet(&[_]Feature{ @@ -1439,7 +1439,7 @@ pub const cpu = struct { .volcanic_islands, }), }; - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{ @@ -1448,7 +1448,7 @@ pub const cpu = struct { .wavefrontsize64, }), }; - pub const generic_hsa = CpuModel{ + pub const generic_hsa: CpuModel = .{ .name = "generic_hsa", .llvm_name = "generic-hsa", .features = featureSet(&[_]Feature{ @@ -1458,7 +1458,7 @@ pub const cpu = struct { .wavefrontsize64, }), }; - pub const gfx1010 = CpuModel{ + pub const gfx1010: CpuModel = .{ .name = "gfx1010", .llvm_name = "gfx1010", .features = featureSet(&[_]Feature{ @@ -1488,7 +1488,7 @@ pub const cpu = struct { .xnack_support, }), }; - pub const gfx1011 = CpuModel{ + pub const gfx1011: CpuModel = .{ .name = "gfx1011", .llvm_name = "gfx1011", .features = featureSet(&[_]Feature{ @@ -1524,7 +1524,7 @@ pub const cpu = struct { .xnack_support, }), }; - pub const gfx1012 = CpuModel{ + pub const gfx1012: CpuModel = .{ .name = "gfx1012", .llvm_name = "gfx1012", .features = featureSet(&[_]Feature{ @@ -1560,7 +1560,7 @@ pub const cpu = struct { .xnack_support, }), }; - pub const gfx1013 = CpuModel{ + pub const gfx1013: CpuModel = .{ .name = "gfx1013", .llvm_name = "gfx1013", .features = featureSet(&[_]Feature{ @@ -1591,7 +1591,7 @@ pub const cpu = struct { .xnack_support, }), }; - pub const gfx1030 = CpuModel{ + pub const gfx1030: CpuModel = .{ .name = "gfx1030", .llvm_name = "gfx1030", .features = featureSet(&[_]Feature{ @@ -1612,7 +1612,7 @@ pub const cpu = struct { .shader_cycles_register, }), }; - pub const gfx1031 = CpuModel{ + pub const gfx1031: CpuModel = .{ .name = "gfx1031", .llvm_name = "gfx1031", .features = featureSet(&[_]Feature{ @@ -1633,7 +1633,7 @@ pub const cpu = struct { .shader_cycles_register, }), }; - pub const gfx1032 = CpuModel{ + pub const gfx1032: CpuModel = .{ .name = "gfx1032", .llvm_name = "gfx1032", .features = featureSet(&[_]Feature{ @@ -1654,7 +1654,7 @@ pub const cpu = struct { .shader_cycles_register, }), }; - pub const gfx1033 = CpuModel{ + pub const gfx1033: CpuModel = .{ .name = "gfx1033", .llvm_name = "gfx1033", .features = featureSet(&[_]Feature{ @@ -1675,7 +1675,7 @@ pub const cpu = struct { .shader_cycles_register, }), }; - pub const gfx1034 = CpuModel{ + pub const gfx1034: CpuModel = .{ .name = "gfx1034", .llvm_name = "gfx1034", .features = featureSet(&[_]Feature{ @@ -1696,7 +1696,7 @@ pub const cpu = struct { .shader_cycles_register, }), }; - pub const gfx1035 = CpuModel{ + pub const gfx1035: CpuModel = .{ .name = "gfx1035", .llvm_name = "gfx1035", .features = featureSet(&[_]Feature{ @@ -1717,7 +1717,7 @@ pub const cpu = struct { .shader_cycles_register, }), }; - pub const gfx1036 = CpuModel{ + pub const gfx1036: CpuModel = .{ .name = "gfx1036", .llvm_name = "gfx1036", .features = featureSet(&[_]Feature{ @@ -1738,7 +1738,7 @@ pub const cpu = struct { .shader_cycles_register, }), }; - pub const gfx10_1_generic = CpuModel{ + pub const gfx10_1_generic: CpuModel = .{ .name = "gfx10_1_generic", .llvm_name = "gfx10-1-generic", .features = featureSet(&[_]Feature{ @@ -1769,7 +1769,7 @@ pub const cpu = struct { .xnack_support, }), }; - pub const gfx10_3_generic = CpuModel{ + pub const gfx10_3_generic: CpuModel = .{ .name = "gfx10_3_generic", .llvm_name = "gfx10-3-generic", .features = featureSet(&[_]Feature{ @@ -1791,7 +1791,7 @@ pub const cpu = struct { .shader_cycles_register, }), }; - pub const gfx1100 = CpuModel{ + pub const gfx1100: CpuModel = .{ .name = "gfx1100", .llvm_name = "gfx1100", .features = featureSet(&[_]Feature{ @@ -1822,7 +1822,7 @@ pub const cpu = struct { .vcmpx_permlane_hazard, }), }; - pub const gfx1101 = CpuModel{ + pub const gfx1101: CpuModel = .{ .name = "gfx1101", .llvm_name = "gfx1101", .features = featureSet(&[_]Feature{ @@ -1852,7 +1852,7 @@ pub const cpu = struct { .vcmpx_permlane_hazard, }), }; - pub const gfx1102 = CpuModel{ + pub const gfx1102: CpuModel = .{ .name = "gfx1102", .llvm_name = "gfx1102", .features = featureSet(&[_]Feature{ @@ -1882,7 +1882,7 @@ pub const cpu = struct { .vcmpx_permlane_hazard, }), }; - pub const gfx1103 = CpuModel{ + pub const gfx1103: CpuModel = .{ .name = "gfx1103", .llvm_name = "gfx1103", .features = featureSet(&[_]Feature{ @@ -1911,7 +1911,7 @@ pub const cpu = struct { .vcmpx_permlane_hazard, }), }; - pub const gfx1150 = CpuModel{ + pub const gfx1150: CpuModel = .{ .name = "gfx1150", .llvm_name = "gfx1150", .features = featureSet(&[_]Feature{ @@ -1940,7 +1940,7 @@ pub const cpu = struct { .vgpr_singleuse_hint, }), }; - pub const gfx1151 = CpuModel{ + pub const gfx1151: CpuModel = .{ .name = "gfx1151", .llvm_name = "gfx1151", .features = featureSet(&[_]Feature{ @@ -1970,7 +1970,7 @@ pub const cpu = struct { .vgpr_singleuse_hint, }), }; - pub const gfx1152 = CpuModel{ + pub const gfx1152: CpuModel = .{ .name = "gfx1152", .llvm_name = "gfx1152", .features = featureSet(&[_]Feature{ @@ -1999,7 +1999,7 @@ pub const cpu = struct { .vgpr_singleuse_hint, }), }; - pub const gfx11_generic = CpuModel{ + pub const gfx11_generic: CpuModel = .{ .name = "gfx11_generic", .llvm_name = "gfx11-generic", .features = featureSet(&[_]Feature{ @@ -2031,7 +2031,7 @@ pub const cpu = struct { .vcmpx_permlane_hazard, }), }; - pub const gfx1200 = CpuModel{ + pub const gfx1200: CpuModel = .{ .name = "gfx1200", .llvm_name = "gfx1200", .features = featureSet(&[_]Feature{ @@ -2071,7 +2071,7 @@ pub const cpu = struct { .vgpr_singleuse_hint, }), }; - pub const gfx1201 = CpuModel{ + pub const gfx1201: CpuModel = .{ .name = "gfx1201", .llvm_name = "gfx1201", .features = featureSet(&[_]Feature{ @@ -2111,7 +2111,7 @@ pub const cpu = struct { .vgpr_singleuse_hint, }), }; - pub const gfx12_generic = CpuModel{ + pub const gfx12_generic: CpuModel = .{ .name = "gfx12_generic", .llvm_name = "gfx12-generic", .features = featureSet(&[_]Feature{ @@ -2152,7 +2152,7 @@ pub const cpu = struct { .vgpr_singleuse_hint, }), }; - pub const gfx600 = CpuModel{ + pub const gfx600: CpuModel = .{ .name = "gfx600", .llvm_name = "gfx600", .features = featureSet(&[_]Feature{ @@ -2161,21 +2161,21 @@ pub const cpu = struct { .southern_islands, }), }; - pub const gfx601 = CpuModel{ + pub const gfx601: CpuModel = .{ .name = "gfx601", .llvm_name = "gfx601", .features = featureSet(&[_]Feature{ .southern_islands, }), }; - pub const gfx602 = CpuModel{ + pub const gfx602: CpuModel = .{ .name = "gfx602", .llvm_name = "gfx602", .features = featureSet(&[_]Feature{ .southern_islands, }), }; - pub const gfx700 = CpuModel{ + pub const gfx700: CpuModel = .{ .name = "gfx700", .llvm_name = "gfx700", .features = featureSet(&[_]Feature{ @@ -2183,7 +2183,7 @@ pub const cpu = struct { .sea_islands, }), }; - pub const gfx701 = CpuModel{ + pub const gfx701: CpuModel = .{ .name = "gfx701", .llvm_name = "gfx701", .features = featureSet(&[_]Feature{ @@ -2193,7 +2193,7 @@ pub const cpu = struct { .sea_islands, }), }; - pub const gfx702 = CpuModel{ + pub const gfx702: CpuModel = .{ .name = "gfx702", .llvm_name = "gfx702", .features = featureSet(&[_]Feature{ @@ -2202,7 +2202,7 @@ pub const cpu = struct { .sea_islands, }), }; - pub const gfx703 = CpuModel{ + pub const gfx703: CpuModel = .{ .name = "gfx703", .llvm_name = "gfx703", .features = featureSet(&[_]Feature{ @@ -2210,7 +2210,7 @@ pub const cpu = struct { .sea_islands, }), }; - pub const gfx704 = CpuModel{ + pub const gfx704: CpuModel = .{ .name = "gfx704", .llvm_name = "gfx704", .features = featureSet(&[_]Feature{ @@ -2218,7 +2218,7 @@ pub const cpu = struct { .sea_islands, }), }; - pub const gfx705 = CpuModel{ + pub const gfx705: CpuModel = .{ .name = "gfx705", .llvm_name = "gfx705", .features = featureSet(&[_]Feature{ @@ -2226,7 +2226,7 @@ pub const cpu = struct { .sea_islands, }), }; - pub const gfx801 = CpuModel{ + pub const gfx801: CpuModel = .{ .name = "gfx801", .llvm_name = "gfx801", .features = featureSet(&[_]Feature{ @@ -2238,7 +2238,7 @@ pub const cpu = struct { .xnack_support, }), }; - pub const gfx802 = CpuModel{ + pub const gfx802: CpuModel = .{ .name = "gfx802", .llvm_name = "gfx802", .features = featureSet(&[_]Feature{ @@ -2248,7 +2248,7 @@ pub const cpu = struct { .volcanic_islands, }), }; - pub const gfx803 = CpuModel{ + pub const gfx803: CpuModel = .{ .name = "gfx803", .llvm_name = "gfx803", .features = featureSet(&[_]Feature{ @@ -2257,7 +2257,7 @@ pub const cpu = struct { .volcanic_islands, }), }; - pub const gfx805 = CpuModel{ + pub const gfx805: CpuModel = .{ .name = "gfx805", .llvm_name = "gfx805", .features = featureSet(&[_]Feature{ @@ -2267,7 +2267,7 @@ pub const cpu = struct { .volcanic_islands, }), }; - pub const gfx810 = CpuModel{ + pub const gfx810: CpuModel = .{ .name = "gfx810", .llvm_name = "gfx810", .features = featureSet(&[_]Feature{ @@ -2278,7 +2278,7 @@ pub const cpu = struct { .xnack_support, }), }; - pub const gfx900 = CpuModel{ + pub const gfx900: CpuModel = .{ .name = "gfx900", .llvm_name = "gfx900", .features = featureSet(&[_]Feature{ @@ -2293,7 +2293,7 @@ pub const cpu = struct { .mad_mix_insts, }), }; - pub const gfx902 = CpuModel{ + pub const gfx902: CpuModel = .{ .name = "gfx902", .llvm_name = "gfx902", .features = featureSet(&[_]Feature{ @@ -2308,7 +2308,7 @@ pub const cpu = struct { .mad_mix_insts, }), }; - pub const gfx904 = CpuModel{ + pub const gfx904: CpuModel = .{ .name = "gfx904", .llvm_name = "gfx904", .features = featureSet(&[_]Feature{ @@ -2323,7 +2323,7 @@ pub const cpu = struct { .mad_mac_f32_insts, }), }; - pub const gfx906 = CpuModel{ + pub const gfx906: CpuModel = .{ .name = "gfx906", .llvm_name = "gfx906", .features = featureSet(&[_]Feature{ @@ -2345,7 +2345,7 @@ pub const cpu = struct { .sramecc_support, }), }; - pub const gfx908 = CpuModel{ + pub const gfx908: CpuModel = .{ .name = "gfx908", .llvm_name = "gfx908", .features = featureSet(&[_]Feature{ @@ -2376,7 +2376,7 @@ pub const cpu = struct { .sramecc_support, }), }; - pub const gfx909 = CpuModel{ + pub const gfx909: CpuModel = .{ .name = "gfx909", .llvm_name = "gfx909", .features = featureSet(&[_]Feature{ @@ -2391,7 +2391,7 @@ pub const cpu = struct { .mad_mix_insts, }), }; - pub const gfx90a = CpuModel{ + pub const gfx90a: CpuModel = .{ .name = "gfx90a", .llvm_name = "gfx90a", .features = featureSet(&[_]Feature{ @@ -2428,7 +2428,7 @@ pub const cpu = struct { .sramecc_support, }), }; - pub const gfx90c = CpuModel{ + pub const gfx90c: CpuModel = .{ .name = "gfx90c", .llvm_name = "gfx90c", .features = featureSet(&[_]Feature{ @@ -2443,7 +2443,7 @@ pub const cpu = struct { .mad_mix_insts, }), }; - pub const gfx940 = CpuModel{ + pub const gfx940: CpuModel = .{ .name = "gfx940", .llvm_name = "gfx940", .features = featureSet(&[_]Feature{ @@ -2489,7 +2489,7 @@ pub const cpu = struct { .sramecc_support, }), }; - pub const gfx941 = CpuModel{ + pub const gfx941: CpuModel = .{ .name = "gfx941", .llvm_name = "gfx941", .features = featureSet(&[_]Feature{ @@ -2535,7 +2535,7 @@ pub const cpu = struct { .sramecc_support, }), }; - pub const gfx942 = CpuModel{ + pub const gfx942: CpuModel = .{ .name = "gfx942", .llvm_name = "gfx942", .features = featureSet(&[_]Feature{ @@ -2580,7 +2580,7 @@ pub const cpu = struct { .sramecc_support, }), }; - pub const gfx9_generic = CpuModel{ + pub const gfx9_generic: CpuModel = .{ .name = "gfx9_generic", .llvm_name = "gfx9-generic", .features = featureSet(&[_]Feature{ @@ -2595,14 +2595,14 @@ pub const cpu = struct { .requires_cov6, }), }; - pub const hainan = CpuModel{ + pub const hainan: CpuModel = .{ .name = "hainan", .llvm_name = "hainan", .features = featureSet(&[_]Feature{ .southern_islands, }), }; - pub const hawaii = CpuModel{ + pub const hawaii: CpuModel = .{ .name = "hawaii", .llvm_name = "hawaii", .features = featureSet(&[_]Feature{ @@ -2612,7 +2612,7 @@ pub const cpu = struct { .sea_islands, }), }; - pub const iceland = CpuModel{ + pub const iceland: CpuModel = .{ .name = "iceland", .llvm_name = "iceland", .features = featureSet(&[_]Feature{ @@ -2622,7 +2622,7 @@ pub const cpu = struct { .volcanic_islands, }), }; - pub const kabini = CpuModel{ + pub const kabini: CpuModel = .{ .name = "kabini", .llvm_name = "kabini", .features = featureSet(&[_]Feature{ @@ -2630,7 +2630,7 @@ pub const cpu = struct { .sea_islands, }), }; - pub const kaveri = CpuModel{ + pub const kaveri: CpuModel = .{ .name = "kaveri", .llvm_name = "kaveri", .features = featureSet(&[_]Feature{ @@ -2638,7 +2638,7 @@ pub const cpu = struct { .sea_islands, }), }; - pub const mullins = CpuModel{ + pub const mullins: CpuModel = .{ .name = "mullins", .llvm_name = "mullins", .features = featureSet(&[_]Feature{ @@ -2646,21 +2646,21 @@ pub const cpu = struct { .sea_islands, }), }; - pub const oland = CpuModel{ + pub const oland: CpuModel = .{ .name = "oland", .llvm_name = "oland", .features = featureSet(&[_]Feature{ .southern_islands, }), }; - pub const pitcairn = CpuModel{ + pub const pitcairn: CpuModel = .{ .name = "pitcairn", .llvm_name = "pitcairn", .features = featureSet(&[_]Feature{ .southern_islands, }), }; - pub const polaris10 = CpuModel{ + pub const polaris10: CpuModel = .{ .name = "polaris10", .llvm_name = "polaris10", .features = featureSet(&[_]Feature{ @@ -2669,7 +2669,7 @@ pub const cpu = struct { .volcanic_islands, }), }; - pub const polaris11 = CpuModel{ + pub const polaris11: CpuModel = .{ .name = "polaris11", .llvm_name = "polaris11", .features = featureSet(&[_]Feature{ @@ -2678,7 +2678,7 @@ pub const cpu = struct { .volcanic_islands, }), }; - pub const stoney = CpuModel{ + pub const stoney: CpuModel = .{ .name = "stoney", .llvm_name = "stoney", .features = featureSet(&[_]Feature{ @@ -2689,7 +2689,7 @@ pub const cpu = struct { .xnack_support, }), }; - pub const tahiti = CpuModel{ + pub const tahiti: CpuModel = .{ .name = "tahiti", .llvm_name = "tahiti", .features = featureSet(&[_]Feature{ @@ -2698,7 +2698,7 @@ pub const cpu = struct { .southern_islands, }), }; - pub const tonga = CpuModel{ + pub const tonga: CpuModel = .{ .name = "tonga", .llvm_name = "tonga", .features = featureSet(&[_]Feature{ @@ -2708,7 +2708,7 @@ pub const cpu = struct { .volcanic_islands, }), }; - pub const tongapro = CpuModel{ + pub const tongapro: CpuModel = .{ .name = "tongapro", .llvm_name = "tongapro", .features = featureSet(&[_]Feature{ @@ -2718,7 +2718,7 @@ pub const cpu = struct { .volcanic_islands, }), }; - pub const verde = CpuModel{ + pub const verde: CpuModel = .{ .name = "verde", .llvm_name = "verde", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/arc.zig b/lib/std/Target/arc.zig index 4642a085aa..7cd4e005f1 100644 --- a/lib/std/Target/arc.zig +++ b/lib/std/Target/arc.zig @@ -31,7 +31,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), diff --git a/lib/std/Target/arm.zig b/lib/std/Target/arm.zig index 2fcae7287b..baf60a8863 100644 --- a/lib/std/Target/arm.zig +++ b/lib/std/Target/arm.zig @@ -1668,49 +1668,49 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const arm1020e = CpuModel{ + pub const arm1020e: CpuModel = .{ .name = "arm1020e", .llvm_name = "arm1020e", .features = featureSet(&[_]Feature{ .v5te, }), }; - pub const arm1020t = CpuModel{ + pub const arm1020t: CpuModel = .{ .name = "arm1020t", .llvm_name = "arm1020t", .features = featureSet(&[_]Feature{ .v5t, }), }; - pub const arm1022e = CpuModel{ + pub const arm1022e: CpuModel = .{ .name = "arm1022e", .llvm_name = "arm1022e", .features = featureSet(&[_]Feature{ .v5te, }), }; - pub const arm10e = CpuModel{ + pub const arm10e: CpuModel = .{ .name = "arm10e", .llvm_name = "arm10e", .features = featureSet(&[_]Feature{ .v5te, }), }; - pub const arm10tdmi = CpuModel{ + pub const arm10tdmi: CpuModel = .{ .name = "arm10tdmi", .llvm_name = "arm10tdmi", .features = featureSet(&[_]Feature{ .v5t, }), }; - pub const arm1136j_s = CpuModel{ + pub const arm1136j_s: CpuModel = .{ .name = "arm1136j_s", .llvm_name = "arm1136j-s", .features = featureSet(&[_]Feature{ .v6, }), }; - pub const arm1136jf_s = CpuModel{ + pub const arm1136jf_s: CpuModel = .{ .name = "arm1136jf_s", .llvm_name = "arm1136jf-s", .features = featureSet(&[_]Feature{ @@ -1719,14 +1719,14 @@ pub const cpu = struct { .vfp2, }), }; - pub const arm1156t2_s = CpuModel{ + pub const arm1156t2_s: CpuModel = .{ .name = "arm1156t2_s", .llvm_name = "arm1156t2-s", .features = featureSet(&[_]Feature{ .v6t2, }), }; - pub const arm1156t2f_s = CpuModel{ + pub const arm1156t2f_s: CpuModel = .{ .name = "arm1156t2f_s", .llvm_name = "arm1156t2f-s", .features = featureSet(&[_]Feature{ @@ -1735,14 +1735,14 @@ pub const cpu = struct { .vfp2, }), }; - pub const arm1176jz_s = CpuModel{ + pub const arm1176jz_s: CpuModel = .{ .name = "arm1176jz_s", .llvm_name = "arm1176jz-s", .features = featureSet(&[_]Feature{ .v6kz, }), }; - pub const arm1176jzf_s = CpuModel{ + pub const arm1176jzf_s: CpuModel = .{ .name = "arm1176jzf_s", .llvm_name = "arm1176jzf-s", .features = featureSet(&[_]Feature{ @@ -1751,133 +1751,133 @@ pub const cpu = struct { .vfp2, }), }; - pub const arm710t = CpuModel{ + pub const arm710t: CpuModel = .{ .name = "arm710t", .llvm_name = "arm710t", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const arm720t = CpuModel{ + pub const arm720t: CpuModel = .{ .name = "arm720t", .llvm_name = "arm720t", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const arm7tdmi = CpuModel{ + pub const arm7tdmi: CpuModel = .{ .name = "arm7tdmi", .llvm_name = "arm7tdmi", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const arm7tdmi_s = CpuModel{ + pub const arm7tdmi_s: CpuModel = .{ .name = "arm7tdmi_s", .llvm_name = "arm7tdmi-s", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const arm8 = CpuModel{ + pub const arm8: CpuModel = .{ .name = "arm8", .llvm_name = "arm8", .features = featureSet(&[_]Feature{ .v4, }), }; - pub const arm810 = CpuModel{ + pub const arm810: CpuModel = .{ .name = "arm810", .llvm_name = "arm810", .features = featureSet(&[_]Feature{ .v4, }), }; - pub const arm9 = CpuModel{ + pub const arm9: CpuModel = .{ .name = "arm9", .llvm_name = "arm9", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const arm920 = CpuModel{ + pub const arm920: CpuModel = .{ .name = "arm920", .llvm_name = "arm920", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const arm920t = CpuModel{ + pub const arm920t: CpuModel = .{ .name = "arm920t", .llvm_name = "arm920t", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const arm922t = CpuModel{ + pub const arm922t: CpuModel = .{ .name = "arm922t", .llvm_name = "arm922t", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const arm926ej_s = CpuModel{ + pub const arm926ej_s: CpuModel = .{ .name = "arm926ej_s", .llvm_name = "arm926ej-s", .features = featureSet(&[_]Feature{ .v5te, }), }; - pub const arm940t = CpuModel{ + pub const arm940t: CpuModel = .{ .name = "arm940t", .llvm_name = "arm940t", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const arm946e_s = CpuModel{ + pub const arm946e_s: CpuModel = .{ .name = "arm946e_s", .llvm_name = "arm946e-s", .features = featureSet(&[_]Feature{ .v5te, }), }; - pub const arm966e_s = CpuModel{ + pub const arm966e_s: CpuModel = .{ .name = "arm966e_s", .llvm_name = "arm966e-s", .features = featureSet(&[_]Feature{ .v5te, }), }; - pub const arm968e_s = CpuModel{ + pub const arm968e_s: CpuModel = .{ .name = "arm968e_s", .llvm_name = "arm968e-s", .features = featureSet(&[_]Feature{ .v5te, }), }; - pub const arm9e = CpuModel{ + pub const arm9e: CpuModel = .{ .name = "arm9e", .llvm_name = "arm9e", .features = featureSet(&[_]Feature{ .v5te, }), }; - pub const arm9tdmi = CpuModel{ + pub const arm9tdmi: CpuModel = .{ .name = "arm9tdmi", .llvm_name = "arm9tdmi", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const baseline = CpuModel{ + pub const baseline: CpuModel = .{ .name = "baseline", .llvm_name = "generic", .features = featureSet(&[_]Feature{ .v7a, }), }; - pub const cortex_a12 = CpuModel{ + pub const cortex_a12: CpuModel = .{ .name = "cortex_a12", .llvm_name = "cortex-a12", .features = featureSet(&[_]Feature{ @@ -1891,7 +1891,7 @@ pub const cpu = struct { .vmlx_forwarding, }), }; - pub const cortex_a15 = CpuModel{ + pub const cortex_a15: CpuModel = .{ .name = "cortex_a15", .llvm_name = "cortex-a15", .features = featureSet(&[_]Feature{ @@ -1907,7 +1907,7 @@ pub const cpu = struct { .vldn_align, }), }; - pub const cortex_a17 = CpuModel{ + pub const cortex_a17: CpuModel = .{ .name = "cortex_a17", .llvm_name = "cortex-a17", .features = featureSet(&[_]Feature{ @@ -1921,21 +1921,21 @@ pub const cpu = struct { .vmlx_forwarding, }), }; - pub const cortex_a32 = CpuModel{ + pub const cortex_a32: CpuModel = .{ .name = "cortex_a32", .llvm_name = "cortex-a32", .features = featureSet(&[_]Feature{ .v8a, }), }; - pub const cortex_a35 = CpuModel{ + pub const cortex_a35: CpuModel = .{ .name = "cortex_a35", .llvm_name = "cortex-a35", .features = featureSet(&[_]Feature{ .v8a, }), }; - pub const cortex_a5 = CpuModel{ + pub const cortex_a5: CpuModel = .{ .name = "cortex_a5", .llvm_name = "cortex-a5", .features = featureSet(&[_]Feature{ @@ -1950,7 +1950,7 @@ pub const cpu = struct { .vmlx_forwarding, }), }; - pub const cortex_a53 = CpuModel{ + pub const cortex_a53: CpuModel = .{ .name = "cortex_a53", .llvm_name = "cortex-a53", .features = featureSet(&[_]Feature{ @@ -1958,7 +1958,7 @@ pub const cpu = struct { .v8a, }), }; - pub const cortex_a55 = CpuModel{ + pub const cortex_a55: CpuModel = .{ .name = "cortex_a55", .llvm_name = "cortex-a55", .features = featureSet(&[_]Feature{ @@ -1966,7 +1966,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a57 = CpuModel{ + pub const cortex_a57: CpuModel = .{ .name = "cortex_a57", .llvm_name = "cortex-a57", .features = featureSet(&[_]Feature{ @@ -1977,7 +1977,7 @@ pub const cpu = struct { .v8a, }), }; - pub const cortex_a7 = CpuModel{ + pub const cortex_a7: CpuModel = .{ .name = "cortex_a7", .llvm_name = "cortex-a7", .features = featureSet(&[_]Feature{ @@ -1994,7 +1994,7 @@ pub const cpu = struct { .vmlx_hazards, }), }; - pub const cortex_a710 = CpuModel{ + pub const cortex_a710: CpuModel = .{ .name = "cortex_a710", .llvm_name = "cortex-a710", .features = featureSet(&[_]Feature{ @@ -2004,7 +2004,7 @@ pub const cpu = struct { .v9a, }), }; - pub const cortex_a72 = CpuModel{ + pub const cortex_a72: CpuModel = .{ .name = "cortex_a72", .llvm_name = "cortex-a72", .features = featureSet(&[_]Feature{ @@ -2012,14 +2012,14 @@ pub const cpu = struct { .v8a, }), }; - pub const cortex_a73 = CpuModel{ + pub const cortex_a73: CpuModel = .{ .name = "cortex_a73", .llvm_name = "cortex-a73", .features = featureSet(&[_]Feature{ .v8a, }), }; - pub const cortex_a75 = CpuModel{ + pub const cortex_a75: CpuModel = .{ .name = "cortex_a75", .llvm_name = "cortex-a75", .features = featureSet(&[_]Feature{ @@ -2027,7 +2027,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a76 = CpuModel{ + pub const cortex_a76: CpuModel = .{ .name = "cortex_a76", .llvm_name = "cortex-a76", .features = featureSet(&[_]Feature{ @@ -2036,7 +2036,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a76ae = CpuModel{ + pub const cortex_a76ae: CpuModel = .{ .name = "cortex_a76ae", .llvm_name = "cortex-a76ae", .features = featureSet(&[_]Feature{ @@ -2045,7 +2045,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a77 = CpuModel{ + pub const cortex_a77: CpuModel = .{ .name = "cortex_a77", .llvm_name = "cortex-a77", .features = featureSet(&[_]Feature{ @@ -2054,7 +2054,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a78 = CpuModel{ + pub const cortex_a78: CpuModel = .{ .name = "cortex_a78", .llvm_name = "cortex-a78", .features = featureSet(&[_]Feature{ @@ -2063,7 +2063,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a78ae = CpuModel{ + pub const cortex_a78ae: CpuModel = .{ .name = "cortex_a78ae", .llvm_name = "cortex-a78ae", .features = featureSet(&[_]Feature{ @@ -2072,7 +2072,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a78c = CpuModel{ + pub const cortex_a78c: CpuModel = .{ .name = "cortex_a78c", .llvm_name = "cortex-a78c", .features = featureSet(&[_]Feature{ @@ -2081,7 +2081,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_a8 = CpuModel{ + pub const cortex_a8: CpuModel = .{ .name = "cortex_a8", .llvm_name = "cortex-a8", .features = featureSet(&[_]Feature{ @@ -2096,7 +2096,7 @@ pub const cpu = struct { .vmlx_hazards, }), }; - pub const cortex_a9 = CpuModel{ + pub const cortex_a9: CpuModel = .{ .name = "cortex_a9", .llvm_name = "cortex-a9", .features = featureSet(&[_]Feature{ @@ -2115,7 +2115,7 @@ pub const cpu = struct { .vmlx_hazards, }), }; - pub const cortex_m0 = CpuModel{ + pub const cortex_m0: CpuModel = .{ .name = "cortex_m0", .llvm_name = "cortex-m0", .features = featureSet(&[_]Feature{ @@ -2123,7 +2123,7 @@ pub const cpu = struct { .v6m, }), }; - pub const cortex_m0plus = CpuModel{ + pub const cortex_m0plus: CpuModel = .{ .name = "cortex_m0plus", .llvm_name = "cortex-m0plus", .features = featureSet(&[_]Feature{ @@ -2131,7 +2131,7 @@ pub const cpu = struct { .v6m, }), }; - pub const cortex_m1 = CpuModel{ + pub const cortex_m1: CpuModel = .{ .name = "cortex_m1", .llvm_name = "cortex-m1", .features = featureSet(&[_]Feature{ @@ -2139,7 +2139,7 @@ pub const cpu = struct { .v6m, }), }; - pub const cortex_m23 = CpuModel{ + pub const cortex_m23: CpuModel = .{ .name = "cortex_m23", .llvm_name = "cortex-m23", .features = featureSet(&[_]Feature{ @@ -2148,7 +2148,7 @@ pub const cpu = struct { .v8m, }), }; - pub const cortex_m3 = CpuModel{ + pub const cortex_m3: CpuModel = .{ .name = "cortex_m3", .llvm_name = "cortex-m3", .features = featureSet(&[_]Feature{ @@ -2158,7 +2158,7 @@ pub const cpu = struct { .v7m, }), }; - pub const cortex_m33 = CpuModel{ + pub const cortex_m33: CpuModel = .{ .name = "cortex_m33", .llvm_name = "cortex-m33", .features = featureSet(&[_]Feature{ @@ -2171,7 +2171,7 @@ pub const cpu = struct { .v8m_main, }), }; - pub const cortex_m35p = CpuModel{ + pub const cortex_m35p: CpuModel = .{ .name = "cortex_m35p", .llvm_name = "cortex-m35p", .features = featureSet(&[_]Feature{ @@ -2184,7 +2184,7 @@ pub const cpu = struct { .v8m_main, }), }; - pub const cortex_m4 = CpuModel{ + pub const cortex_m4: CpuModel = .{ .name = "cortex_m4", .llvm_name = "cortex-m4", .features = featureSet(&[_]Feature{ @@ -2196,7 +2196,7 @@ pub const cpu = struct { .v7em, }), }; - pub const cortex_m52 = CpuModel{ + pub const cortex_m52: CpuModel = .{ .name = "cortex_m52", .llvm_name = "cortex-m52", .features = featureSet(&[_]Feature{ @@ -2211,7 +2211,7 @@ pub const cpu = struct { .v8_1m_main, }), }; - pub const cortex_m55 = CpuModel{ + pub const cortex_m55: CpuModel = .{ .name = "cortex_m55", .llvm_name = "cortex-m55", .features = featureSet(&[_]Feature{ @@ -2224,7 +2224,7 @@ pub const cpu = struct { .v8_1m_main, }), }; - pub const cortex_m7 = CpuModel{ + pub const cortex_m7: CpuModel = .{ .name = "cortex_m7", .llvm_name = "cortex-m7", .features = featureSet(&[_]Feature{ @@ -2233,7 +2233,7 @@ pub const cpu = struct { .v7em, }), }; - pub const cortex_m85 = CpuModel{ + pub const cortex_m85: CpuModel = .{ .name = "cortex_m85", .llvm_name = "cortex-m85", .features = featureSet(&[_]Feature{ @@ -2242,7 +2242,7 @@ pub const cpu = struct { .v8_1m_main, }), }; - pub const cortex_r4 = CpuModel{ + pub const cortex_r4: CpuModel = .{ .name = "cortex_r4", .llvm_name = "cortex-r4", .features = featureSet(&[_]Feature{ @@ -2251,7 +2251,7 @@ pub const cpu = struct { .v7r, }), }; - pub const cortex_r4f = CpuModel{ + pub const cortex_r4f: CpuModel = .{ .name = "cortex_r4f", .llvm_name = "cortex-r4f", .features = featureSet(&[_]Feature{ @@ -2264,7 +2264,7 @@ pub const cpu = struct { .vfp3d16, }), }; - pub const cortex_r5 = CpuModel{ + pub const cortex_r5: CpuModel = .{ .name = "cortex_r5", .llvm_name = "cortex-r5", .features = featureSet(&[_]Feature{ @@ -2278,7 +2278,7 @@ pub const cpu = struct { .vfp3d16, }), }; - pub const cortex_r52 = CpuModel{ + pub const cortex_r52: CpuModel = .{ .name = "cortex_r52", .llvm_name = "cortex-r52", .features = featureSet(&[_]Feature{ @@ -2289,7 +2289,7 @@ pub const cpu = struct { .v8r, }), }; - pub const cortex_r52plus = CpuModel{ + pub const cortex_r52plus: CpuModel = .{ .name = "cortex_r52plus", .llvm_name = "cortex-r52plus", .features = featureSet(&[_]Feature{ @@ -2300,7 +2300,7 @@ pub const cpu = struct { .v8r, }), }; - pub const cortex_r7 = CpuModel{ + pub const cortex_r7: CpuModel = .{ .name = "cortex_r7", .llvm_name = "cortex-r7", .features = featureSet(&[_]Feature{ @@ -2316,7 +2316,7 @@ pub const cpu = struct { .vfp3d16, }), }; - pub const cortex_r8 = CpuModel{ + pub const cortex_r8: CpuModel = .{ .name = "cortex_r8", .llvm_name = "cortex-r8", .features = featureSet(&[_]Feature{ @@ -2332,7 +2332,7 @@ pub const cpu = struct { .vfp3d16, }), }; - pub const cortex_x1 = CpuModel{ + pub const cortex_x1: CpuModel = .{ .name = "cortex_x1", .llvm_name = "cortex-x1", .features = featureSet(&[_]Feature{ @@ -2341,7 +2341,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cortex_x1c = CpuModel{ + pub const cortex_x1c: CpuModel = .{ .name = "cortex_x1c", .llvm_name = "cortex-x1c", .features = featureSet(&[_]Feature{ @@ -2350,7 +2350,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const cyclone = CpuModel{ + pub const cyclone: CpuModel = .{ .name = "cyclone", .llvm_name = "cyclone", .features = featureSet(&[_]Feature{ @@ -2366,14 +2366,14 @@ pub const cpu = struct { .zcz, }), }; - pub const ep9312 = CpuModel{ + pub const ep9312: CpuModel = .{ .name = "ep9312", .llvm_name = "ep9312", .features = featureSet(&[_]Feature{ .v4t, }), }; - pub const exynos_m1 = CpuModel{ + pub const exynos_m1: CpuModel = .{ .name = "exynos_m1", .llvm_name = null, .features = featureSet(&[_]Feature{ @@ -2393,7 +2393,7 @@ pub const cpu = struct { .zcz, }), }; - pub const exynos_m2 = CpuModel{ + pub const exynos_m2: CpuModel = .{ .name = "exynos_m2", .llvm_name = null, .features = featureSet(&[_]Feature{ @@ -2413,7 +2413,7 @@ pub const cpu = struct { .zcz, }), }; - pub const exynos_m3 = CpuModel{ + pub const exynos_m3: CpuModel = .{ .name = "exynos_m3", .llvm_name = "exynos-m3", .features = featureSet(&[_]Feature{ @@ -2433,7 +2433,7 @@ pub const cpu = struct { .zcz, }), }; - pub const exynos_m4 = CpuModel{ + pub const exynos_m4: CpuModel = .{ .name = "exynos_m4", .llvm_name = "exynos-m4", .features = featureSet(&[_]Feature{ @@ -2455,7 +2455,7 @@ pub const cpu = struct { .zcz, }), }; - pub const exynos_m5 = CpuModel{ + pub const exynos_m5: CpuModel = .{ .name = "exynos_m5", .llvm_name = "exynos-m5", .features = featureSet(&[_]Feature{ @@ -2477,19 +2477,19 @@ pub const cpu = struct { .zcz, }), }; - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), }; - pub const iwmmxt = CpuModel{ + pub const iwmmxt: CpuModel = .{ .name = "iwmmxt", .llvm_name = "iwmmxt", .features = featureSet(&[_]Feature{ .v5te, }), }; - pub const krait = CpuModel{ + pub const krait: CpuModel = .{ .name = "krait", .llvm_name = "krait", .features = featureSet(&[_]Feature{ @@ -2504,14 +2504,14 @@ pub const cpu = struct { .vmlx_forwarding, }), }; - pub const kryo = CpuModel{ + pub const kryo: CpuModel = .{ .name = "kryo", .llvm_name = "kryo", .features = featureSet(&[_]Feature{ .v8a, }), }; - pub const mpcore = CpuModel{ + pub const mpcore: CpuModel = .{ .name = "mpcore", .llvm_name = "mpcore", .features = featureSet(&[_]Feature{ @@ -2520,14 +2520,14 @@ pub const cpu = struct { .vfp2, }), }; - pub const mpcorenovfp = CpuModel{ + pub const mpcorenovfp: CpuModel = .{ .name = "mpcorenovfp", .llvm_name = "mpcorenovfp", .features = featureSet(&[_]Feature{ .v6k, }), }; - pub const neoverse_n1 = CpuModel{ + pub const neoverse_n1: CpuModel = .{ .name = "neoverse_n1", .llvm_name = "neoverse-n1", .features = featureSet(&[_]Feature{ @@ -2535,7 +2535,7 @@ pub const cpu = struct { .v8_2a, }), }; - pub const neoverse_n2 = CpuModel{ + pub const neoverse_n2: CpuModel = .{ .name = "neoverse_n2", .llvm_name = "neoverse-n2", .features = featureSet(&[_]Feature{ @@ -2545,7 +2545,7 @@ pub const cpu = struct { .v9a, }), }; - pub const neoverse_v1 = CpuModel{ + pub const neoverse_v1: CpuModel = .{ .name = "neoverse_v1", .llvm_name = "neoverse-v1", .features = featureSet(&[_]Feature{ @@ -2555,7 +2555,7 @@ pub const cpu = struct { .v8_4a, }), }; - pub const sc000 = CpuModel{ + pub const sc000: CpuModel = .{ .name = "sc000", .llvm_name = "sc000", .features = featureSet(&[_]Feature{ @@ -2563,7 +2563,7 @@ pub const cpu = struct { .v6m, }), }; - pub const sc300 = CpuModel{ + pub const sc300: CpuModel = .{ .name = "sc300", .llvm_name = "sc300", .features = featureSet(&[_]Feature{ @@ -2572,35 +2572,35 @@ pub const cpu = struct { .v7m, }), }; - pub const strongarm = CpuModel{ + pub const strongarm: CpuModel = .{ .name = "strongarm", .llvm_name = "strongarm", .features = featureSet(&[_]Feature{ .v4, }), }; - pub const strongarm110 = CpuModel{ + pub const strongarm110: CpuModel = .{ .name = "strongarm110", .llvm_name = "strongarm110", .features = featureSet(&[_]Feature{ .v4, }), }; - pub const strongarm1100 = CpuModel{ + pub const strongarm1100: CpuModel = .{ .name = "strongarm1100", .llvm_name = "strongarm1100", .features = featureSet(&[_]Feature{ .v4, }), }; - pub const strongarm1110 = CpuModel{ + pub const strongarm1110: CpuModel = .{ .name = "strongarm1110", .llvm_name = "strongarm1110", .features = featureSet(&[_]Feature{ .v4, }), }; - pub const swift = CpuModel{ + pub const swift: CpuModel = .{ .name = "swift", .llvm_name = "swift", .features = featureSet(&[_]Feature{ @@ -2627,7 +2627,7 @@ pub const cpu = struct { .wide_stride_vfp, }), }; - pub const xscale = CpuModel{ + pub const xscale: CpuModel = .{ .name = "xscale", .llvm_name = "xscale", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/avr.zig b/lib/std/Target/avr.zig index 3183aa4f4d..247adc1687 100644 --- a/lib/std/Target/avr.zig +++ b/lib/std/Target/avr.zig @@ -346,28 +346,28 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const at43usb320 = CpuModel{ + pub const at43usb320: CpuModel = .{ .name = "at43usb320", .llvm_name = "at43usb320", .features = featureSet(&[_]Feature{ .avr31, }), }; - pub const at43usb355 = CpuModel{ + pub const at43usb355: CpuModel = .{ .name = "at43usb355", .llvm_name = "at43usb355", .features = featureSet(&[_]Feature{ .avr3, }), }; - pub const at76c711 = CpuModel{ + pub const at76c711: CpuModel = .{ .name = "at76c711", .llvm_name = "at76c711", .features = featureSet(&[_]Feature{ .avr3, }), }; - pub const at86rf401 = CpuModel{ + pub const at86rf401: CpuModel = .{ .name = "at86rf401", .llvm_name = "at86rf401", .features = featureSet(&[_]Feature{ @@ -376,98 +376,98 @@ pub const cpu = struct { .movw, }), }; - pub const at90c8534 = CpuModel{ + pub const at90c8534: CpuModel = .{ .name = "at90c8534", .llvm_name = "at90c8534", .features = featureSet(&[_]Feature{ .avr2, }), }; - pub const at90can128 = CpuModel{ + pub const at90can128: CpuModel = .{ .name = "at90can128", .llvm_name = "at90can128", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const at90can32 = CpuModel{ + pub const at90can32: CpuModel = .{ .name = "at90can32", .llvm_name = "at90can32", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const at90can64 = CpuModel{ + pub const at90can64: CpuModel = .{ .name = "at90can64", .llvm_name = "at90can64", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const at90pwm1 = CpuModel{ + pub const at90pwm1: CpuModel = .{ .name = "at90pwm1", .llvm_name = "at90pwm1", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const at90pwm161 = CpuModel{ + pub const at90pwm161: CpuModel = .{ .name = "at90pwm161", .llvm_name = "at90pwm161", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const at90pwm2 = CpuModel{ + pub const at90pwm2: CpuModel = .{ .name = "at90pwm2", .llvm_name = "at90pwm2", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const at90pwm216 = CpuModel{ + pub const at90pwm216: CpuModel = .{ .name = "at90pwm216", .llvm_name = "at90pwm216", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const at90pwm2b = CpuModel{ + pub const at90pwm2b: CpuModel = .{ .name = "at90pwm2b", .llvm_name = "at90pwm2b", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const at90pwm3 = CpuModel{ + pub const at90pwm3: CpuModel = .{ .name = "at90pwm3", .llvm_name = "at90pwm3", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const at90pwm316 = CpuModel{ + pub const at90pwm316: CpuModel = .{ .name = "at90pwm316", .llvm_name = "at90pwm316", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const at90pwm3b = CpuModel{ + pub const at90pwm3b: CpuModel = .{ .name = "at90pwm3b", .llvm_name = "at90pwm3b", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const at90pwm81 = CpuModel{ + pub const at90pwm81: CpuModel = .{ .name = "at90pwm81", .llvm_name = "at90pwm81", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const at90s1200 = CpuModel{ + pub const at90s1200: CpuModel = .{ .name = "at90s1200", .llvm_name = "at90s1200", .features = featureSet(&[_]Feature{ @@ -475,7 +475,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const at90s2313 = CpuModel{ + pub const at90s2313: CpuModel = .{ .name = "at90s2313", .llvm_name = "at90s2313", .features = featureSet(&[_]Feature{ @@ -483,7 +483,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const at90s2323 = CpuModel{ + pub const at90s2323: CpuModel = .{ .name = "at90s2323", .llvm_name = "at90s2323", .features = featureSet(&[_]Feature{ @@ -491,7 +491,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const at90s2333 = CpuModel{ + pub const at90s2333: CpuModel = .{ .name = "at90s2333", .llvm_name = "at90s2333", .features = featureSet(&[_]Feature{ @@ -499,7 +499,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const at90s2343 = CpuModel{ + pub const at90s2343: CpuModel = .{ .name = "at90s2343", .llvm_name = "at90s2343", .features = featureSet(&[_]Feature{ @@ -507,7 +507,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const at90s4414 = CpuModel{ + pub const at90s4414: CpuModel = .{ .name = "at90s4414", .llvm_name = "at90s4414", .features = featureSet(&[_]Feature{ @@ -515,7 +515,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const at90s4433 = CpuModel{ + pub const at90s4433: CpuModel = .{ .name = "at90s4433", .llvm_name = "at90s4433", .features = featureSet(&[_]Feature{ @@ -523,7 +523,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const at90s4434 = CpuModel{ + pub const at90s4434: CpuModel = .{ .name = "at90s4434", .llvm_name = "at90s4434", .features = featureSet(&[_]Feature{ @@ -531,70 +531,70 @@ pub const cpu = struct { .smallstack, }), }; - pub const at90s8515 = CpuModel{ + pub const at90s8515: CpuModel = .{ .name = "at90s8515", .llvm_name = "at90s8515", .features = featureSet(&[_]Feature{ .avr2, }), }; - pub const at90s8535 = CpuModel{ + pub const at90s8535: CpuModel = .{ .name = "at90s8535", .llvm_name = "at90s8535", .features = featureSet(&[_]Feature{ .avr2, }), }; - pub const at90scr100 = CpuModel{ + pub const at90scr100: CpuModel = .{ .name = "at90scr100", .llvm_name = "at90scr100", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const at90usb1286 = CpuModel{ + pub const at90usb1286: CpuModel = .{ .name = "at90usb1286", .llvm_name = "at90usb1286", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const at90usb1287 = CpuModel{ + pub const at90usb1287: CpuModel = .{ .name = "at90usb1287", .llvm_name = "at90usb1287", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const at90usb162 = CpuModel{ + pub const at90usb162: CpuModel = .{ .name = "at90usb162", .llvm_name = "at90usb162", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const at90usb646 = CpuModel{ + pub const at90usb646: CpuModel = .{ .name = "at90usb646", .llvm_name = "at90usb646", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const at90usb647 = CpuModel{ + pub const at90usb647: CpuModel = .{ .name = "at90usb647", .llvm_name = "at90usb647", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const at90usb82 = CpuModel{ + pub const at90usb82: CpuModel = .{ .name = "at90usb82", .llvm_name = "at90usb82", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const at94k = CpuModel{ + pub const at94k: CpuModel = .{ .name = "at94k", .llvm_name = "at94k", .features = featureSet(&[_]Feature{ @@ -604,238 +604,238 @@ pub const cpu = struct { .mul, }), }; - pub const ata5272 = CpuModel{ + pub const ata5272: CpuModel = .{ .name = "ata5272", .llvm_name = "ata5272", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const ata5505 = CpuModel{ + pub const ata5505: CpuModel = .{ .name = "ata5505", .llvm_name = "ata5505", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const ata5702m322 = CpuModel{ + pub const ata5702m322: CpuModel = .{ .name = "ata5702m322", .llvm_name = "ata5702m322", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const ata5782 = CpuModel{ + pub const ata5782: CpuModel = .{ .name = "ata5782", .llvm_name = "ata5782", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const ata5790 = CpuModel{ + pub const ata5790: CpuModel = .{ .name = "ata5790", .llvm_name = "ata5790", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const ata5790n = CpuModel{ + pub const ata5790n: CpuModel = .{ .name = "ata5790n", .llvm_name = "ata5790n", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const ata5791 = CpuModel{ + pub const ata5791: CpuModel = .{ .name = "ata5791", .llvm_name = "ata5791", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const ata5795 = CpuModel{ + pub const ata5795: CpuModel = .{ .name = "ata5795", .llvm_name = "ata5795", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const ata5831 = CpuModel{ + pub const ata5831: CpuModel = .{ .name = "ata5831", .llvm_name = "ata5831", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const ata6285 = CpuModel{ + pub const ata6285: CpuModel = .{ .name = "ata6285", .llvm_name = "ata6285", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const ata6286 = CpuModel{ + pub const ata6286: CpuModel = .{ .name = "ata6286", .llvm_name = "ata6286", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const ata6289 = CpuModel{ + pub const ata6289: CpuModel = .{ .name = "ata6289", .llvm_name = "ata6289", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const ata6612c = CpuModel{ + pub const ata6612c: CpuModel = .{ .name = "ata6612c", .llvm_name = "ata6612c", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const ata6613c = CpuModel{ + pub const ata6613c: CpuModel = .{ .name = "ata6613c", .llvm_name = "ata6613c", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const ata6614q = CpuModel{ + pub const ata6614q: CpuModel = .{ .name = "ata6614q", .llvm_name = "ata6614q", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const ata6616c = CpuModel{ + pub const ata6616c: CpuModel = .{ .name = "ata6616c", .llvm_name = "ata6616c", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const ata6617c = CpuModel{ + pub const ata6617c: CpuModel = .{ .name = "ata6617c", .llvm_name = "ata6617c", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const ata664251 = CpuModel{ + pub const ata664251: CpuModel = .{ .name = "ata664251", .llvm_name = "ata664251", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const ata8210 = CpuModel{ + pub const ata8210: CpuModel = .{ .name = "ata8210", .llvm_name = "ata8210", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const ata8510 = CpuModel{ + pub const ata8510: CpuModel = .{ .name = "ata8510", .llvm_name = "ata8510", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega103 = CpuModel{ + pub const atmega103: CpuModel = .{ .name = "atmega103", .llvm_name = "atmega103", .features = featureSet(&[_]Feature{ .avr31, }), }; - pub const atmega128 = CpuModel{ + pub const atmega128: CpuModel = .{ .name = "atmega128", .llvm_name = "atmega128", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const atmega1280 = CpuModel{ + pub const atmega1280: CpuModel = .{ .name = "atmega1280", .llvm_name = "atmega1280", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const atmega1281 = CpuModel{ + pub const atmega1281: CpuModel = .{ .name = "atmega1281", .llvm_name = "atmega1281", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const atmega1284 = CpuModel{ + pub const atmega1284: CpuModel = .{ .name = "atmega1284", .llvm_name = "atmega1284", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const atmega1284p = CpuModel{ + pub const atmega1284p: CpuModel = .{ .name = "atmega1284p", .llvm_name = "atmega1284p", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const atmega1284rfr2 = CpuModel{ + pub const atmega1284rfr2: CpuModel = .{ .name = "atmega1284rfr2", .llvm_name = "atmega1284rfr2", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const atmega128a = CpuModel{ + pub const atmega128a: CpuModel = .{ .name = "atmega128a", .llvm_name = "atmega128a", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const atmega128rfa1 = CpuModel{ + pub const atmega128rfa1: CpuModel = .{ .name = "atmega128rfa1", .llvm_name = "atmega128rfa1", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const atmega128rfr2 = CpuModel{ + pub const atmega128rfr2: CpuModel = .{ .name = "atmega128rfr2", .llvm_name = "atmega128rfr2", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const atmega16 = CpuModel{ + pub const atmega16: CpuModel = .{ .name = "atmega16", .llvm_name = "atmega16", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega1608 = CpuModel{ + pub const atmega1608: CpuModel = .{ .name = "atmega1608", .llvm_name = "atmega1608", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const atmega1609 = CpuModel{ + pub const atmega1609: CpuModel = .{ .name = "atmega1609", .llvm_name = "atmega1609", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const atmega161 = CpuModel{ + pub const atmega161: CpuModel = .{ .name = "atmega161", .llvm_name = "atmega161", .features = featureSet(&[_]Feature{ @@ -846,14 +846,14 @@ pub const cpu = struct { .spm, }), }; - pub const atmega162 = CpuModel{ + pub const atmega162: CpuModel = .{ .name = "atmega162", .llvm_name = "atmega162", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega163 = CpuModel{ + pub const atmega163: CpuModel = .{ .name = "atmega163", .llvm_name = "atmega163", .features = featureSet(&[_]Feature{ @@ -864,679 +864,679 @@ pub const cpu = struct { .spm, }), }; - pub const atmega164a = CpuModel{ + pub const atmega164a: CpuModel = .{ .name = "atmega164a", .llvm_name = "atmega164a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega164p = CpuModel{ + pub const atmega164p: CpuModel = .{ .name = "atmega164p", .llvm_name = "atmega164p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega164pa = CpuModel{ + pub const atmega164pa: CpuModel = .{ .name = "atmega164pa", .llvm_name = "atmega164pa", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega165 = CpuModel{ + pub const atmega165: CpuModel = .{ .name = "atmega165", .llvm_name = "atmega165", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega165a = CpuModel{ + pub const atmega165a: CpuModel = .{ .name = "atmega165a", .llvm_name = "atmega165a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega165p = CpuModel{ + pub const atmega165p: CpuModel = .{ .name = "atmega165p", .llvm_name = "atmega165p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega165pa = CpuModel{ + pub const atmega165pa: CpuModel = .{ .name = "atmega165pa", .llvm_name = "atmega165pa", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega168 = CpuModel{ + pub const atmega168: CpuModel = .{ .name = "atmega168", .llvm_name = "atmega168", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega168a = CpuModel{ + pub const atmega168a: CpuModel = .{ .name = "atmega168a", .llvm_name = "atmega168a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega168p = CpuModel{ + pub const atmega168p: CpuModel = .{ .name = "atmega168p", .llvm_name = "atmega168p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega168pa = CpuModel{ + pub const atmega168pa: CpuModel = .{ .name = "atmega168pa", .llvm_name = "atmega168pa", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega168pb = CpuModel{ + pub const atmega168pb: CpuModel = .{ .name = "atmega168pb", .llvm_name = "atmega168pb", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega169 = CpuModel{ + pub const atmega169: CpuModel = .{ .name = "atmega169", .llvm_name = "atmega169", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega169a = CpuModel{ + pub const atmega169a: CpuModel = .{ .name = "atmega169a", .llvm_name = "atmega169a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega169p = CpuModel{ + pub const atmega169p: CpuModel = .{ .name = "atmega169p", .llvm_name = "atmega169p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega169pa = CpuModel{ + pub const atmega169pa: CpuModel = .{ .name = "atmega169pa", .llvm_name = "atmega169pa", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega16a = CpuModel{ + pub const atmega16a: CpuModel = .{ .name = "atmega16a", .llvm_name = "atmega16a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega16hva = CpuModel{ + pub const atmega16hva: CpuModel = .{ .name = "atmega16hva", .llvm_name = "atmega16hva", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega16hva2 = CpuModel{ + pub const atmega16hva2: CpuModel = .{ .name = "atmega16hva2", .llvm_name = "atmega16hva2", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega16hvb = CpuModel{ + pub const atmega16hvb: CpuModel = .{ .name = "atmega16hvb", .llvm_name = "atmega16hvb", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega16hvbrevb = CpuModel{ + pub const atmega16hvbrevb: CpuModel = .{ .name = "atmega16hvbrevb", .llvm_name = "atmega16hvbrevb", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega16m1 = CpuModel{ + pub const atmega16m1: CpuModel = .{ .name = "atmega16m1", .llvm_name = "atmega16m1", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega16u2 = CpuModel{ + pub const atmega16u2: CpuModel = .{ .name = "atmega16u2", .llvm_name = "atmega16u2", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const atmega16u4 = CpuModel{ + pub const atmega16u4: CpuModel = .{ .name = "atmega16u4", .llvm_name = "atmega16u4", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega2560 = CpuModel{ + pub const atmega2560: CpuModel = .{ .name = "atmega2560", .llvm_name = "atmega2560", .features = featureSet(&[_]Feature{ .avr6, }), }; - pub const atmega2561 = CpuModel{ + pub const atmega2561: CpuModel = .{ .name = "atmega2561", .llvm_name = "atmega2561", .features = featureSet(&[_]Feature{ .avr6, }), }; - pub const atmega2564rfr2 = CpuModel{ + pub const atmega2564rfr2: CpuModel = .{ .name = "atmega2564rfr2", .llvm_name = "atmega2564rfr2", .features = featureSet(&[_]Feature{ .avr6, }), }; - pub const atmega256rfr2 = CpuModel{ + pub const atmega256rfr2: CpuModel = .{ .name = "atmega256rfr2", .llvm_name = "atmega256rfr2", .features = featureSet(&[_]Feature{ .avr6, }), }; - pub const atmega32 = CpuModel{ + pub const atmega32: CpuModel = .{ .name = "atmega32", .llvm_name = "atmega32", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega3208 = CpuModel{ + pub const atmega3208: CpuModel = .{ .name = "atmega3208", .llvm_name = "atmega3208", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const atmega3209 = CpuModel{ + pub const atmega3209: CpuModel = .{ .name = "atmega3209", .llvm_name = "atmega3209", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const atmega323 = CpuModel{ + pub const atmega323: CpuModel = .{ .name = "atmega323", .llvm_name = "atmega323", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega324a = CpuModel{ + pub const atmega324a: CpuModel = .{ .name = "atmega324a", .llvm_name = "atmega324a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega324p = CpuModel{ + pub const atmega324p: CpuModel = .{ .name = "atmega324p", .llvm_name = "atmega324p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega324pa = CpuModel{ + pub const atmega324pa: CpuModel = .{ .name = "atmega324pa", .llvm_name = "atmega324pa", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega324pb = CpuModel{ + pub const atmega324pb: CpuModel = .{ .name = "atmega324pb", .llvm_name = "atmega324pb", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega325 = CpuModel{ + pub const atmega325: CpuModel = .{ .name = "atmega325", .llvm_name = "atmega325", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega3250 = CpuModel{ + pub const atmega3250: CpuModel = .{ .name = "atmega3250", .llvm_name = "atmega3250", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega3250a = CpuModel{ + pub const atmega3250a: CpuModel = .{ .name = "atmega3250a", .llvm_name = "atmega3250a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega3250p = CpuModel{ + pub const atmega3250p: CpuModel = .{ .name = "atmega3250p", .llvm_name = "atmega3250p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega3250pa = CpuModel{ + pub const atmega3250pa: CpuModel = .{ .name = "atmega3250pa", .llvm_name = "atmega3250pa", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega325a = CpuModel{ + pub const atmega325a: CpuModel = .{ .name = "atmega325a", .llvm_name = "atmega325a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega325p = CpuModel{ + pub const atmega325p: CpuModel = .{ .name = "atmega325p", .llvm_name = "atmega325p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega325pa = CpuModel{ + pub const atmega325pa: CpuModel = .{ .name = "atmega325pa", .llvm_name = "atmega325pa", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega328 = CpuModel{ + pub const atmega328: CpuModel = .{ .name = "atmega328", .llvm_name = "atmega328", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega328p = CpuModel{ + pub const atmega328p: CpuModel = .{ .name = "atmega328p", .llvm_name = "atmega328p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega328pb = CpuModel{ + pub const atmega328pb: CpuModel = .{ .name = "atmega328pb", .llvm_name = "atmega328pb", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega329 = CpuModel{ + pub const atmega329: CpuModel = .{ .name = "atmega329", .llvm_name = "atmega329", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega3290 = CpuModel{ + pub const atmega3290: CpuModel = .{ .name = "atmega3290", .llvm_name = "atmega3290", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega3290a = CpuModel{ + pub const atmega3290a: CpuModel = .{ .name = "atmega3290a", .llvm_name = "atmega3290a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega3290p = CpuModel{ + pub const atmega3290p: CpuModel = .{ .name = "atmega3290p", .llvm_name = "atmega3290p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega3290pa = CpuModel{ + pub const atmega3290pa: CpuModel = .{ .name = "atmega3290pa", .llvm_name = "atmega3290pa", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega329a = CpuModel{ + pub const atmega329a: CpuModel = .{ .name = "atmega329a", .llvm_name = "atmega329a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega329p = CpuModel{ + pub const atmega329p: CpuModel = .{ .name = "atmega329p", .llvm_name = "atmega329p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega329pa = CpuModel{ + pub const atmega329pa: CpuModel = .{ .name = "atmega329pa", .llvm_name = "atmega329pa", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega32a = CpuModel{ + pub const atmega32a: CpuModel = .{ .name = "atmega32a", .llvm_name = "atmega32a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega32c1 = CpuModel{ + pub const atmega32c1: CpuModel = .{ .name = "atmega32c1", .llvm_name = "atmega32c1", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega32hvb = CpuModel{ + pub const atmega32hvb: CpuModel = .{ .name = "atmega32hvb", .llvm_name = "atmega32hvb", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega32hvbrevb = CpuModel{ + pub const atmega32hvbrevb: CpuModel = .{ .name = "atmega32hvbrevb", .llvm_name = "atmega32hvbrevb", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega32m1 = CpuModel{ + pub const atmega32m1: CpuModel = .{ .name = "atmega32m1", .llvm_name = "atmega32m1", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega32u2 = CpuModel{ + pub const atmega32u2: CpuModel = .{ .name = "atmega32u2", .llvm_name = "atmega32u2", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const atmega32u4 = CpuModel{ + pub const atmega32u4: CpuModel = .{ .name = "atmega32u4", .llvm_name = "atmega32u4", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega32u6 = CpuModel{ + pub const atmega32u6: CpuModel = .{ .name = "atmega32u6", .llvm_name = "atmega32u6", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega406 = CpuModel{ + pub const atmega406: CpuModel = .{ .name = "atmega406", .llvm_name = "atmega406", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega48 = CpuModel{ + pub const atmega48: CpuModel = .{ .name = "atmega48", .llvm_name = "atmega48", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega4808 = CpuModel{ + pub const atmega4808: CpuModel = .{ .name = "atmega4808", .llvm_name = "atmega4808", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const atmega4809 = CpuModel{ + pub const atmega4809: CpuModel = .{ .name = "atmega4809", .llvm_name = "atmega4809", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const atmega48a = CpuModel{ + pub const atmega48a: CpuModel = .{ .name = "atmega48a", .llvm_name = "atmega48a", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega48p = CpuModel{ + pub const atmega48p: CpuModel = .{ .name = "atmega48p", .llvm_name = "atmega48p", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega48pa = CpuModel{ + pub const atmega48pa: CpuModel = .{ .name = "atmega48pa", .llvm_name = "atmega48pa", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega48pb = CpuModel{ + pub const atmega48pb: CpuModel = .{ .name = "atmega48pb", .llvm_name = "atmega48pb", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega64 = CpuModel{ + pub const atmega64: CpuModel = .{ .name = "atmega64", .llvm_name = "atmega64", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega640 = CpuModel{ + pub const atmega640: CpuModel = .{ .name = "atmega640", .llvm_name = "atmega640", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega644 = CpuModel{ + pub const atmega644: CpuModel = .{ .name = "atmega644", .llvm_name = "atmega644", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega644a = CpuModel{ + pub const atmega644a: CpuModel = .{ .name = "atmega644a", .llvm_name = "atmega644a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega644p = CpuModel{ + pub const atmega644p: CpuModel = .{ .name = "atmega644p", .llvm_name = "atmega644p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega644pa = CpuModel{ + pub const atmega644pa: CpuModel = .{ .name = "atmega644pa", .llvm_name = "atmega644pa", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega644rfr2 = CpuModel{ + pub const atmega644rfr2: CpuModel = .{ .name = "atmega644rfr2", .llvm_name = "atmega644rfr2", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega645 = CpuModel{ + pub const atmega645: CpuModel = .{ .name = "atmega645", .llvm_name = "atmega645", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega6450 = CpuModel{ + pub const atmega6450: CpuModel = .{ .name = "atmega6450", .llvm_name = "atmega6450", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega6450a = CpuModel{ + pub const atmega6450a: CpuModel = .{ .name = "atmega6450a", .llvm_name = "atmega6450a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega6450p = CpuModel{ + pub const atmega6450p: CpuModel = .{ .name = "atmega6450p", .llvm_name = "atmega6450p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega645a = CpuModel{ + pub const atmega645a: CpuModel = .{ .name = "atmega645a", .llvm_name = "atmega645a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega645p = CpuModel{ + pub const atmega645p: CpuModel = .{ .name = "atmega645p", .llvm_name = "atmega645p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega649 = CpuModel{ + pub const atmega649: CpuModel = .{ .name = "atmega649", .llvm_name = "atmega649", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega6490 = CpuModel{ + pub const atmega6490: CpuModel = .{ .name = "atmega6490", .llvm_name = "atmega6490", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega6490a = CpuModel{ + pub const atmega6490a: CpuModel = .{ .name = "atmega6490a", .llvm_name = "atmega6490a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega6490p = CpuModel{ + pub const atmega6490p: CpuModel = .{ .name = "atmega6490p", .llvm_name = "atmega6490p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega649a = CpuModel{ + pub const atmega649a: CpuModel = .{ .name = "atmega649a", .llvm_name = "atmega649a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega649p = CpuModel{ + pub const atmega649p: CpuModel = .{ .name = "atmega649p", .llvm_name = "atmega649p", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega64a = CpuModel{ + pub const atmega64a: CpuModel = .{ .name = "atmega64a", .llvm_name = "atmega64a", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega64c1 = CpuModel{ + pub const atmega64c1: CpuModel = .{ .name = "atmega64c1", .llvm_name = "atmega64c1", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega64hve = CpuModel{ + pub const atmega64hve: CpuModel = .{ .name = "atmega64hve", .llvm_name = "atmega64hve", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega64hve2 = CpuModel{ + pub const atmega64hve2: CpuModel = .{ .name = "atmega64hve2", .llvm_name = "atmega64hve2", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega64m1 = CpuModel{ + pub const atmega64m1: CpuModel = .{ .name = "atmega64m1", .llvm_name = "atmega64m1", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega64rfr2 = CpuModel{ + pub const atmega64rfr2: CpuModel = .{ .name = "atmega64rfr2", .llvm_name = "atmega64rfr2", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const atmega8 = CpuModel{ + pub const atmega8: CpuModel = .{ .name = "atmega8", .llvm_name = "atmega8", .features = featureSet(&[_]Feature{ @@ -1547,21 +1547,21 @@ pub const cpu = struct { .spm, }), }; - pub const atmega808 = CpuModel{ + pub const atmega808: CpuModel = .{ .name = "atmega808", .llvm_name = "atmega808", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const atmega809 = CpuModel{ + pub const atmega809: CpuModel = .{ .name = "atmega809", .llvm_name = "atmega809", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const atmega8515 = CpuModel{ + pub const atmega8515: CpuModel = .{ .name = "atmega8515", .llvm_name = "atmega8515", .features = featureSet(&[_]Feature{ @@ -1572,7 +1572,7 @@ pub const cpu = struct { .spm, }), }; - pub const atmega8535 = CpuModel{ + pub const atmega8535: CpuModel = .{ .name = "atmega8535", .llvm_name = "atmega8535", .features = featureSet(&[_]Feature{ @@ -1583,42 +1583,42 @@ pub const cpu = struct { .spm, }), }; - pub const atmega88 = CpuModel{ + pub const atmega88: CpuModel = .{ .name = "atmega88", .llvm_name = "atmega88", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega88a = CpuModel{ + pub const atmega88a: CpuModel = .{ .name = "atmega88a", .llvm_name = "atmega88a", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega88p = CpuModel{ + pub const atmega88p: CpuModel = .{ .name = "atmega88p", .llvm_name = "atmega88p", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega88pa = CpuModel{ + pub const atmega88pa: CpuModel = .{ .name = "atmega88pa", .llvm_name = "atmega88pa", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega88pb = CpuModel{ + pub const atmega88pb: CpuModel = .{ .name = "atmega88pb", .llvm_name = "atmega88pb", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega8a = CpuModel{ + pub const atmega8a: CpuModel = .{ .name = "atmega8a", .llvm_name = "atmega8a", .features = featureSet(&[_]Feature{ @@ -1629,42 +1629,42 @@ pub const cpu = struct { .spm, }), }; - pub const atmega8hva = CpuModel{ + pub const atmega8hva: CpuModel = .{ .name = "atmega8hva", .llvm_name = "atmega8hva", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const atmega8u2 = CpuModel{ + pub const atmega8u2: CpuModel = .{ .name = "atmega8u2", .llvm_name = "atmega8u2", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const attiny10 = CpuModel{ + pub const attiny10: CpuModel = .{ .name = "attiny10", .llvm_name = "attiny10", .features = featureSet(&[_]Feature{ .avrtiny, }), }; - pub const attiny102 = CpuModel{ + pub const attiny102: CpuModel = .{ .name = "attiny102", .llvm_name = "attiny102", .features = featureSet(&[_]Feature{ .avrtiny, }), }; - pub const attiny104 = CpuModel{ + pub const attiny104: CpuModel = .{ .name = "attiny104", .llvm_name = "attiny104", .features = featureSet(&[_]Feature{ .avrtiny, }), }; - pub const attiny11 = CpuModel{ + pub const attiny11: CpuModel = .{ .name = "attiny11", .llvm_name = "attiny11", .features = featureSet(&[_]Feature{ @@ -1672,7 +1672,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny12 = CpuModel{ + pub const attiny12: CpuModel = .{ .name = "attiny12", .llvm_name = "attiny12", .features = featureSet(&[_]Feature{ @@ -1680,7 +1680,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny13 = CpuModel{ + pub const attiny13: CpuModel = .{ .name = "attiny13", .llvm_name = "attiny13", .features = featureSet(&[_]Feature{ @@ -1688,7 +1688,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny13a = CpuModel{ + pub const attiny13a: CpuModel = .{ .name = "attiny13a", .llvm_name = "attiny13a", .features = featureSet(&[_]Feature{ @@ -1696,7 +1696,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny15 = CpuModel{ + pub const attiny15: CpuModel = .{ .name = "attiny15", .llvm_name = "attiny15", .features = featureSet(&[_]Feature{ @@ -1704,119 +1704,119 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny1604 = CpuModel{ + pub const attiny1604: CpuModel = .{ .name = "attiny1604", .llvm_name = "attiny1604", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny1606 = CpuModel{ + pub const attiny1606: CpuModel = .{ .name = "attiny1606", .llvm_name = "attiny1606", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny1607 = CpuModel{ + pub const attiny1607: CpuModel = .{ .name = "attiny1607", .llvm_name = "attiny1607", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny1614 = CpuModel{ + pub const attiny1614: CpuModel = .{ .name = "attiny1614", .llvm_name = "attiny1614", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny1616 = CpuModel{ + pub const attiny1616: CpuModel = .{ .name = "attiny1616", .llvm_name = "attiny1616", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny1617 = CpuModel{ + pub const attiny1617: CpuModel = .{ .name = "attiny1617", .llvm_name = "attiny1617", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny1624 = CpuModel{ + pub const attiny1624: CpuModel = .{ .name = "attiny1624", .llvm_name = "attiny1624", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny1626 = CpuModel{ + pub const attiny1626: CpuModel = .{ .name = "attiny1626", .llvm_name = "attiny1626", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny1627 = CpuModel{ + pub const attiny1627: CpuModel = .{ .name = "attiny1627", .llvm_name = "attiny1627", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny1634 = CpuModel{ + pub const attiny1634: CpuModel = .{ .name = "attiny1634", .llvm_name = "attiny1634", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const attiny167 = CpuModel{ + pub const attiny167: CpuModel = .{ .name = "attiny167", .llvm_name = "attiny167", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const attiny20 = CpuModel{ + pub const attiny20: CpuModel = .{ .name = "attiny20", .llvm_name = "attiny20", .features = featureSet(&[_]Feature{ .avrtiny, }), }; - pub const attiny202 = CpuModel{ + pub const attiny202: CpuModel = .{ .name = "attiny202", .llvm_name = "attiny202", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny204 = CpuModel{ + pub const attiny204: CpuModel = .{ .name = "attiny204", .llvm_name = "attiny204", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny212 = CpuModel{ + pub const attiny212: CpuModel = .{ .name = "attiny212", .llvm_name = "attiny212", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny214 = CpuModel{ + pub const attiny214: CpuModel = .{ .name = "attiny214", .llvm_name = "attiny214", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny22 = CpuModel{ + pub const attiny22: CpuModel = .{ .name = "attiny22", .llvm_name = "attiny22", .features = featureSet(&[_]Feature{ @@ -1824,7 +1824,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny2313 = CpuModel{ + pub const attiny2313: CpuModel = .{ .name = "attiny2313", .llvm_name = "attiny2313", .features = featureSet(&[_]Feature{ @@ -1832,7 +1832,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny2313a = CpuModel{ + pub const attiny2313a: CpuModel = .{ .name = "attiny2313a", .llvm_name = "attiny2313a", .features = featureSet(&[_]Feature{ @@ -1840,7 +1840,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny24 = CpuModel{ + pub const attiny24: CpuModel = .{ .name = "attiny24", .llvm_name = "attiny24", .features = featureSet(&[_]Feature{ @@ -1848,7 +1848,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny24a = CpuModel{ + pub const attiny24a: CpuModel = .{ .name = "attiny24a", .llvm_name = "attiny24a", .features = featureSet(&[_]Feature{ @@ -1856,7 +1856,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny25 = CpuModel{ + pub const attiny25: CpuModel = .{ .name = "attiny25", .llvm_name = "attiny25", .features = featureSet(&[_]Feature{ @@ -1864,7 +1864,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny26 = CpuModel{ + pub const attiny26: CpuModel = .{ .name = "attiny26", .llvm_name = "attiny26", .features = featureSet(&[_]Feature{ @@ -1873,7 +1873,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny261 = CpuModel{ + pub const attiny261: CpuModel = .{ .name = "attiny261", .llvm_name = "attiny261", .features = featureSet(&[_]Feature{ @@ -1881,7 +1881,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny261a = CpuModel{ + pub const attiny261a: CpuModel = .{ .name = "attiny261a", .llvm_name = "attiny261a", .features = featureSet(&[_]Feature{ @@ -1889,7 +1889,7 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny28 = CpuModel{ + pub const attiny28: CpuModel = .{ .name = "attiny28", .llvm_name = "attiny28", .features = featureSet(&[_]Feature{ @@ -1897,707 +1897,707 @@ pub const cpu = struct { .smallstack, }), }; - pub const attiny3216 = CpuModel{ + pub const attiny3216: CpuModel = .{ .name = "attiny3216", .llvm_name = "attiny3216", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny3217 = CpuModel{ + pub const attiny3217: CpuModel = .{ .name = "attiny3217", .llvm_name = "attiny3217", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny4 = CpuModel{ + pub const attiny4: CpuModel = .{ .name = "attiny4", .llvm_name = "attiny4", .features = featureSet(&[_]Feature{ .avrtiny, }), }; - pub const attiny40 = CpuModel{ + pub const attiny40: CpuModel = .{ .name = "attiny40", .llvm_name = "attiny40", .features = featureSet(&[_]Feature{ .avrtiny, }), }; - pub const attiny402 = CpuModel{ + pub const attiny402: CpuModel = .{ .name = "attiny402", .llvm_name = "attiny402", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny404 = CpuModel{ + pub const attiny404: CpuModel = .{ .name = "attiny404", .llvm_name = "attiny404", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny406 = CpuModel{ + pub const attiny406: CpuModel = .{ .name = "attiny406", .llvm_name = "attiny406", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny412 = CpuModel{ + pub const attiny412: CpuModel = .{ .name = "attiny412", .llvm_name = "attiny412", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny414 = CpuModel{ + pub const attiny414: CpuModel = .{ .name = "attiny414", .llvm_name = "attiny414", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny416 = CpuModel{ + pub const attiny416: CpuModel = .{ .name = "attiny416", .llvm_name = "attiny416", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny417 = CpuModel{ + pub const attiny417: CpuModel = .{ .name = "attiny417", .llvm_name = "attiny417", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny4313 = CpuModel{ + pub const attiny4313: CpuModel = .{ .name = "attiny4313", .llvm_name = "attiny4313", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny43u = CpuModel{ + pub const attiny43u: CpuModel = .{ .name = "attiny43u", .llvm_name = "attiny43u", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny44 = CpuModel{ + pub const attiny44: CpuModel = .{ .name = "attiny44", .llvm_name = "attiny44", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny441 = CpuModel{ + pub const attiny441: CpuModel = .{ .name = "attiny441", .llvm_name = "attiny441", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny44a = CpuModel{ + pub const attiny44a: CpuModel = .{ .name = "attiny44a", .llvm_name = "attiny44a", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny45 = CpuModel{ + pub const attiny45: CpuModel = .{ .name = "attiny45", .llvm_name = "attiny45", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny461 = CpuModel{ + pub const attiny461: CpuModel = .{ .name = "attiny461", .llvm_name = "attiny461", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny461a = CpuModel{ + pub const attiny461a: CpuModel = .{ .name = "attiny461a", .llvm_name = "attiny461a", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny48 = CpuModel{ + pub const attiny48: CpuModel = .{ .name = "attiny48", .llvm_name = "attiny48", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny5 = CpuModel{ + pub const attiny5: CpuModel = .{ .name = "attiny5", .llvm_name = "attiny5", .features = featureSet(&[_]Feature{ .avrtiny, }), }; - pub const attiny804 = CpuModel{ + pub const attiny804: CpuModel = .{ .name = "attiny804", .llvm_name = "attiny804", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny806 = CpuModel{ + pub const attiny806: CpuModel = .{ .name = "attiny806", .llvm_name = "attiny806", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny807 = CpuModel{ + pub const attiny807: CpuModel = .{ .name = "attiny807", .llvm_name = "attiny807", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny814 = CpuModel{ + pub const attiny814: CpuModel = .{ .name = "attiny814", .llvm_name = "attiny814", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny816 = CpuModel{ + pub const attiny816: CpuModel = .{ .name = "attiny816", .llvm_name = "attiny816", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny817 = CpuModel{ + pub const attiny817: CpuModel = .{ .name = "attiny817", .llvm_name = "attiny817", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const attiny828 = CpuModel{ + pub const attiny828: CpuModel = .{ .name = "attiny828", .llvm_name = "attiny828", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny84 = CpuModel{ + pub const attiny84: CpuModel = .{ .name = "attiny84", .llvm_name = "attiny84", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny841 = CpuModel{ + pub const attiny841: CpuModel = .{ .name = "attiny841", .llvm_name = "attiny841", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny84a = CpuModel{ + pub const attiny84a: CpuModel = .{ .name = "attiny84a", .llvm_name = "attiny84a", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny85 = CpuModel{ + pub const attiny85: CpuModel = .{ .name = "attiny85", .llvm_name = "attiny85", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny861 = CpuModel{ + pub const attiny861: CpuModel = .{ .name = "attiny861", .llvm_name = "attiny861", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny861a = CpuModel{ + pub const attiny861a: CpuModel = .{ .name = "attiny861a", .llvm_name = "attiny861a", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny87 = CpuModel{ + pub const attiny87: CpuModel = .{ .name = "attiny87", .llvm_name = "attiny87", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny88 = CpuModel{ + pub const attiny88: CpuModel = .{ .name = "attiny88", .llvm_name = "attiny88", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const attiny9 = CpuModel{ + pub const attiny9: CpuModel = .{ .name = "attiny9", .llvm_name = "attiny9", .features = featureSet(&[_]Feature{ .avrtiny, }), }; - pub const atxmega128a1 = CpuModel{ + pub const atxmega128a1: CpuModel = .{ .name = "atxmega128a1", .llvm_name = "atxmega128a1", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega128a1u = CpuModel{ + pub const atxmega128a1u: CpuModel = .{ .name = "atxmega128a1u", .llvm_name = "atxmega128a1u", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega128a3 = CpuModel{ + pub const atxmega128a3: CpuModel = .{ .name = "atxmega128a3", .llvm_name = "atxmega128a3", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega128a3u = CpuModel{ + pub const atxmega128a3u: CpuModel = .{ .name = "atxmega128a3u", .llvm_name = "atxmega128a3u", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega128a4u = CpuModel{ + pub const atxmega128a4u: CpuModel = .{ .name = "atxmega128a4u", .llvm_name = "atxmega128a4u", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega128b1 = CpuModel{ + pub const atxmega128b1: CpuModel = .{ .name = "atxmega128b1", .llvm_name = "atxmega128b1", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega128b3 = CpuModel{ + pub const atxmega128b3: CpuModel = .{ .name = "atxmega128b3", .llvm_name = "atxmega128b3", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega128c3 = CpuModel{ + pub const atxmega128c3: CpuModel = .{ .name = "atxmega128c3", .llvm_name = "atxmega128c3", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega128d3 = CpuModel{ + pub const atxmega128d3: CpuModel = .{ .name = "atxmega128d3", .llvm_name = "atxmega128d3", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega128d4 = CpuModel{ + pub const atxmega128d4: CpuModel = .{ .name = "atxmega128d4", .llvm_name = "atxmega128d4", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega16a4 = CpuModel{ + pub const atxmega16a4: CpuModel = .{ .name = "atxmega16a4", .llvm_name = "atxmega16a4", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega16a4u = CpuModel{ + pub const atxmega16a4u: CpuModel = .{ .name = "atxmega16a4u", .llvm_name = "atxmega16a4u", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega16c4 = CpuModel{ + pub const atxmega16c4: CpuModel = .{ .name = "atxmega16c4", .llvm_name = "atxmega16c4", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega16d4 = CpuModel{ + pub const atxmega16d4: CpuModel = .{ .name = "atxmega16d4", .llvm_name = "atxmega16d4", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega16e5 = CpuModel{ + pub const atxmega16e5: CpuModel = .{ .name = "atxmega16e5", .llvm_name = "atxmega16e5", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega192a3 = CpuModel{ + pub const atxmega192a3: CpuModel = .{ .name = "atxmega192a3", .llvm_name = "atxmega192a3", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega192a3u = CpuModel{ + pub const atxmega192a3u: CpuModel = .{ .name = "atxmega192a3u", .llvm_name = "atxmega192a3u", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega192c3 = CpuModel{ + pub const atxmega192c3: CpuModel = .{ .name = "atxmega192c3", .llvm_name = "atxmega192c3", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega192d3 = CpuModel{ + pub const atxmega192d3: CpuModel = .{ .name = "atxmega192d3", .llvm_name = "atxmega192d3", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega256a3 = CpuModel{ + pub const atxmega256a3: CpuModel = .{ .name = "atxmega256a3", .llvm_name = "atxmega256a3", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega256a3b = CpuModel{ + pub const atxmega256a3b: CpuModel = .{ .name = "atxmega256a3b", .llvm_name = "atxmega256a3b", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega256a3bu = CpuModel{ + pub const atxmega256a3bu: CpuModel = .{ .name = "atxmega256a3bu", .llvm_name = "atxmega256a3bu", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega256a3u = CpuModel{ + pub const atxmega256a3u: CpuModel = .{ .name = "atxmega256a3u", .llvm_name = "atxmega256a3u", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega256c3 = CpuModel{ + pub const atxmega256c3: CpuModel = .{ .name = "atxmega256c3", .llvm_name = "atxmega256c3", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega256d3 = CpuModel{ + pub const atxmega256d3: CpuModel = .{ .name = "atxmega256d3", .llvm_name = "atxmega256d3", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega32a4 = CpuModel{ + pub const atxmega32a4: CpuModel = .{ .name = "atxmega32a4", .llvm_name = "atxmega32a4", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega32a4u = CpuModel{ + pub const atxmega32a4u: CpuModel = .{ .name = "atxmega32a4u", .llvm_name = "atxmega32a4u", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega32c3 = CpuModel{ + pub const atxmega32c3: CpuModel = .{ .name = "atxmega32c3", .llvm_name = "atxmega32c3", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega32c4 = CpuModel{ + pub const atxmega32c4: CpuModel = .{ .name = "atxmega32c4", .llvm_name = "atxmega32c4", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega32d3 = CpuModel{ + pub const atxmega32d3: CpuModel = .{ .name = "atxmega32d3", .llvm_name = "atxmega32d3", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega32d4 = CpuModel{ + pub const atxmega32d4: CpuModel = .{ .name = "atxmega32d4", .llvm_name = "atxmega32d4", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega32e5 = CpuModel{ + pub const atxmega32e5: CpuModel = .{ .name = "atxmega32e5", .llvm_name = "atxmega32e5", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega384c3 = CpuModel{ + pub const atxmega384c3: CpuModel = .{ .name = "atxmega384c3", .llvm_name = "atxmega384c3", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega384d3 = CpuModel{ + pub const atxmega384d3: CpuModel = .{ .name = "atxmega384d3", .llvm_name = "atxmega384d3", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega64a1 = CpuModel{ + pub const atxmega64a1: CpuModel = .{ .name = "atxmega64a1", .llvm_name = "atxmega64a1", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega64a1u = CpuModel{ + pub const atxmega64a1u: CpuModel = .{ .name = "atxmega64a1u", .llvm_name = "atxmega64a1u", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega64a3 = CpuModel{ + pub const atxmega64a3: CpuModel = .{ .name = "atxmega64a3", .llvm_name = "atxmega64a3", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega64a3u = CpuModel{ + pub const atxmega64a3u: CpuModel = .{ .name = "atxmega64a3u", .llvm_name = "atxmega64a3u", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega64a4u = CpuModel{ + pub const atxmega64a4u: CpuModel = .{ .name = "atxmega64a4u", .llvm_name = "atxmega64a4u", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega64b1 = CpuModel{ + pub const atxmega64b1: CpuModel = .{ .name = "atxmega64b1", .llvm_name = "atxmega64b1", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega64b3 = CpuModel{ + pub const atxmega64b3: CpuModel = .{ .name = "atxmega64b3", .llvm_name = "atxmega64b3", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega64c3 = CpuModel{ + pub const atxmega64c3: CpuModel = .{ .name = "atxmega64c3", .llvm_name = "atxmega64c3", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const atxmega64d3 = CpuModel{ + pub const atxmega64d3: CpuModel = .{ .name = "atxmega64d3", .llvm_name = "atxmega64d3", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega64d4 = CpuModel{ + pub const atxmega64d4: CpuModel = .{ .name = "atxmega64d4", .llvm_name = "atxmega64d4", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const atxmega8e5 = CpuModel{ + pub const atxmega8e5: CpuModel = .{ .name = "atxmega8e5", .llvm_name = "atxmega8e5", .features = featureSet(&[_]Feature{ .xmegau, }), }; - pub const avr1 = CpuModel{ + pub const avr1: CpuModel = .{ .name = "avr1", .llvm_name = "avr1", .features = featureSet(&[_]Feature{ .avr1, }), }; - pub const avr2 = CpuModel{ + pub const avr2: CpuModel = .{ .name = "avr2", .llvm_name = "avr2", .features = featureSet(&[_]Feature{ .avr2, }), }; - pub const avr25 = CpuModel{ + pub const avr25: CpuModel = .{ .name = "avr25", .llvm_name = "avr25", .features = featureSet(&[_]Feature{ .avr25, }), }; - pub const avr3 = CpuModel{ + pub const avr3: CpuModel = .{ .name = "avr3", .llvm_name = "avr3", .features = featureSet(&[_]Feature{ .avr3, }), }; - pub const avr31 = CpuModel{ + pub const avr31: CpuModel = .{ .name = "avr31", .llvm_name = "avr31", .features = featureSet(&[_]Feature{ .avr31, }), }; - pub const avr35 = CpuModel{ + pub const avr35: CpuModel = .{ .name = "avr35", .llvm_name = "avr35", .features = featureSet(&[_]Feature{ .avr35, }), }; - pub const avr4 = CpuModel{ + pub const avr4: CpuModel = .{ .name = "avr4", .llvm_name = "avr4", .features = featureSet(&[_]Feature{ .avr4, }), }; - pub const avr5 = CpuModel{ + pub const avr5: CpuModel = .{ .name = "avr5", .llvm_name = "avr5", .features = featureSet(&[_]Feature{ .avr5, }), }; - pub const avr51 = CpuModel{ + pub const avr51: CpuModel = .{ .name = "avr51", .llvm_name = "avr51", .features = featureSet(&[_]Feature{ .avr51, }), }; - pub const avr6 = CpuModel{ + pub const avr6: CpuModel = .{ .name = "avr6", .llvm_name = "avr6", .features = featureSet(&[_]Feature{ .avr6, }), }; - pub const avrtiny = CpuModel{ + pub const avrtiny: CpuModel = .{ .name = "avrtiny", .llvm_name = "avrtiny", .features = featureSet(&[_]Feature{ .avrtiny, }), }; - pub const avrxmega1 = CpuModel{ + pub const avrxmega1: CpuModel = .{ .name = "avrxmega1", .llvm_name = "avrxmega1", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const avrxmega2 = CpuModel{ + pub const avrxmega2: CpuModel = .{ .name = "avrxmega2", .llvm_name = "avrxmega2", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const avrxmega3 = CpuModel{ + pub const avrxmega3: CpuModel = .{ .name = "avrxmega3", .llvm_name = "avrxmega3", .features = featureSet(&[_]Feature{ .xmega3, }), }; - pub const avrxmega4 = CpuModel{ + pub const avrxmega4: CpuModel = .{ .name = "avrxmega4", .llvm_name = "avrxmega4", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const avrxmega5 = CpuModel{ + pub const avrxmega5: CpuModel = .{ .name = "avrxmega5", .llvm_name = "avrxmega5", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const avrxmega6 = CpuModel{ + pub const avrxmega6: CpuModel = .{ .name = "avrxmega6", .llvm_name = "avrxmega6", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const avrxmega7 = CpuModel{ + pub const avrxmega7: CpuModel = .{ .name = "avrxmega7", .llvm_name = "avrxmega7", .features = featureSet(&[_]Feature{ .xmega, }), }; - pub const m3000 = CpuModel{ + pub const m3000: CpuModel = .{ .name = "m3000", .llvm_name = "m3000", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/bpf.zig b/lib/std/Target/bpf.zig index 5f314a5455..3f72eb65e2 100644 --- a/lib/std/Target/bpf.zig +++ b/lib/std/Target/bpf.zig @@ -43,34 +43,34 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), }; - pub const probe = CpuModel{ + pub const probe: CpuModel = .{ .name = "probe", .llvm_name = "probe", .features = featureSet(&[_]Feature{}), }; - pub const v1 = CpuModel{ + pub const v1: CpuModel = .{ .name = "v1", .llvm_name = "v1", .features = featureSet(&[_]Feature{}), }; - pub const v2 = CpuModel{ + pub const v2: CpuModel = .{ .name = "v2", .llvm_name = "v2", .features = featureSet(&[_]Feature{}), }; - pub const v3 = CpuModel{ + pub const v3: CpuModel = .{ .name = "v3", .llvm_name = "v3", .features = featureSet(&[_]Feature{ .alu32, }), }; - pub const v4 = CpuModel{ + pub const v4: CpuModel = .{ .name = "v4", .llvm_name = "v4", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/csky.zig b/lib/std/Target/csky.zig index 9ea4c3f41e..ff03bf7f7d 100644 --- a/lib/std/Target/csky.zig +++ b/lib/std/Target/csky.zig @@ -214,7 +214,7 @@ pub const all_features = blk: { }; result[@intFromEnum(Feature.dsp_silan)] = .{ .llvm_name = "dsp_silan", - .description = "Enable DSP Silan instructions", + .description = "Enable DSP Silan instrutions", .dependencies = featureSet(&[_]Feature{}), }; result[@intFromEnum(Feature.dspe60)] = .{ @@ -224,7 +224,7 @@ pub const all_features = blk: { }; result[@intFromEnum(Feature.dspv2)] = .{ .llvm_name = "dspv2", - .description = "Enable DSP V2.0 instructions", + .description = "Enable DSP V2.0 instrutions", .dependencies = featureSet(&[_]Feature{}), }; result[@intFromEnum(Feature.e1)] = .{ @@ -243,7 +243,7 @@ pub const all_features = blk: { }; result[@intFromEnum(Feature.edsp)] = .{ .llvm_name = "edsp", - .description = "Enable DSP instructions", + .description = "Enable DSP instrutions", .dependencies = featureSet(&[_]Feature{}), }; result[@intFromEnum(Feature.elrw)] = .{ @@ -333,12 +333,12 @@ pub const all_features = blk: { }; result[@intFromEnum(Feature.hwdiv)] = .{ .llvm_name = "hwdiv", - .description = "Enable divide instructions", + .description = "Enable divide instrutions", .dependencies = featureSet(&[_]Feature{}), }; result[@intFromEnum(Feature.istack)] = .{ .llvm_name = "istack", - .description = "Enable interrupt attribute", + .description = "Enable interrput attribute", .dependencies = featureSet(&[_]Feature{}), }; result[@intFromEnum(Feature.java)] = .{ @@ -362,7 +362,7 @@ pub const all_features = blk: { }; result[@intFromEnum(Feature.multiple_stld)] = .{ .llvm_name = "multiple_stld", - .description = "Enable multiple load/store instructions", + .description = "Enable multiple load/store instrutions", .dependencies = featureSet(&[_]Feature{}), }; result[@intFromEnum(Feature.nvic)] = .{ @@ -372,7 +372,7 @@ pub const all_features = blk: { }; result[@intFromEnum(Feature.pushpop)] = .{ .llvm_name = "pushpop", - .description = "Enable push/pop instructions", + .description = "Enable push/pop instrutions", .dependencies = featureSet(&[_]Feature{}), }; result[@intFromEnum(Feature.smart)] = .{ @@ -424,7 +424,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const c807 = CpuModel{ + pub const c807: CpuModel = .{ .name = "c807", .llvm_name = "c807", .features = featureSet(&[_]Feature{ @@ -442,7 +442,7 @@ pub const cpu = struct { .trust, }), }; - pub const c807f = CpuModel{ + pub const c807f: CpuModel = .{ .name = "c807f", .llvm_name = "c807f", .features = featureSet(&[_]Feature{ @@ -467,7 +467,7 @@ pub const cpu = struct { .trust, }), }; - pub const c810 = CpuModel{ + pub const c810: CpuModel = .{ .name = "c810", .llvm_name = "c810", .features = featureSet(&[_]Feature{ @@ -491,7 +491,7 @@ pub const cpu = struct { .trust, }), }; - pub const c810t = CpuModel{ + pub const c810t: CpuModel = .{ .name = "c810t", .llvm_name = "c810t", .features = featureSet(&[_]Feature{ @@ -515,7 +515,7 @@ pub const cpu = struct { .trust, }), }; - pub const c810tv = CpuModel{ + pub const c810tv: CpuModel = .{ .name = "c810tv", .llvm_name = "c810tv", .features = featureSet(&[_]Feature{ @@ -541,7 +541,7 @@ pub const cpu = struct { .vdspv1, }), }; - pub const c810v = CpuModel{ + pub const c810v: CpuModel = .{ .name = "c810v", .llvm_name = "c810v", .features = featureSet(&[_]Feature{ @@ -567,7 +567,7 @@ pub const cpu = struct { .vdspv1, }), }; - pub const c860 = CpuModel{ + pub const c860: CpuModel = .{ .name = "c860", .llvm_name = "c860", .features = featureSet(&[_]Feature{ @@ -592,7 +592,7 @@ pub const cpu = struct { .trust, }), }; - pub const c860v = CpuModel{ + pub const c860v: CpuModel = .{ .name = "c860v", .llvm_name = "c860v", .features = featureSet(&[_]Feature{ @@ -620,7 +620,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const ck801 = CpuModel{ + pub const ck801: CpuModel = .{ .name = "ck801", .llvm_name = "ck801", .features = featureSet(&[_]Feature{ @@ -630,7 +630,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck801t = CpuModel{ + pub const ck801t: CpuModel = .{ .name = "ck801t", .llvm_name = "ck801t", .features = featureSet(&[_]Feature{ @@ -640,7 +640,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck802 = CpuModel{ + pub const ck802: CpuModel = .{ .name = "ck802", .llvm_name = "ck802", .features = featureSet(&[_]Feature{ @@ -651,7 +651,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck802j = CpuModel{ + pub const ck802j: CpuModel = .{ .name = "ck802j", .llvm_name = "ck802j", .features = featureSet(&[_]Feature{ @@ -663,7 +663,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck802t = CpuModel{ + pub const ck802t: CpuModel = .{ .name = "ck802t", .llvm_name = "ck802t", .features = featureSet(&[_]Feature{ @@ -674,7 +674,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803 = CpuModel{ + pub const ck803: CpuModel = .{ .name = "ck803", .llvm_name = "ck803", .features = featureSet(&[_]Feature{ @@ -686,7 +686,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803e = CpuModel{ + pub const ck803e: CpuModel = .{ .name = "ck803e", .llvm_name = "ck803e", .features = featureSet(&[_]Feature{ @@ -701,7 +701,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ef = CpuModel{ + pub const ck803ef: CpuModel = .{ .name = "ck803ef", .llvm_name = "ck803ef", .features = featureSet(&[_]Feature{ @@ -719,7 +719,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efh = CpuModel{ + pub const ck803efh: CpuModel = .{ .name = "ck803efh", .llvm_name = "ck803efh", .features = featureSet(&[_]Feature{ @@ -737,7 +737,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efhr1 = CpuModel{ + pub const ck803efhr1: CpuModel = .{ .name = "ck803efhr1", .llvm_name = "ck803efhr1", .features = featureSet(&[_]Feature{ @@ -758,7 +758,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efhr2 = CpuModel{ + pub const ck803efhr2: CpuModel = .{ .name = "ck803efhr2", .llvm_name = "ck803efhr2", .features = featureSet(&[_]Feature{ @@ -780,7 +780,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efhr3 = CpuModel{ + pub const ck803efhr3: CpuModel = .{ .name = "ck803efhr3", .llvm_name = "ck803efhr3", .features = featureSet(&[_]Feature{ @@ -802,7 +802,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efht = CpuModel{ + pub const ck803efht: CpuModel = .{ .name = "ck803efht", .llvm_name = "ck803efht", .features = featureSet(&[_]Feature{ @@ -820,7 +820,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efhtr1 = CpuModel{ + pub const ck803efhtr1: CpuModel = .{ .name = "ck803efhtr1", .llvm_name = "ck803efhtr1", .features = featureSet(&[_]Feature{ @@ -841,7 +841,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efhtr2 = CpuModel{ + pub const ck803efhtr2: CpuModel = .{ .name = "ck803efhtr2", .llvm_name = "ck803efhtr2", .features = featureSet(&[_]Feature{ @@ -863,7 +863,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efhtr3 = CpuModel{ + pub const ck803efhtr3: CpuModel = .{ .name = "ck803efhtr3", .llvm_name = "ck803efhtr3", .features = featureSet(&[_]Feature{ @@ -885,7 +885,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efr1 = CpuModel{ + pub const ck803efr1: CpuModel = .{ .name = "ck803efr1", .llvm_name = "ck803efr1", .features = featureSet(&[_]Feature{ @@ -906,7 +906,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efr2 = CpuModel{ + pub const ck803efr2: CpuModel = .{ .name = "ck803efr2", .llvm_name = "ck803efr2", .features = featureSet(&[_]Feature{ @@ -928,7 +928,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803efr3 = CpuModel{ + pub const ck803efr3: CpuModel = .{ .name = "ck803efr3", .llvm_name = "ck803efr3", .features = featureSet(&[_]Feature{ @@ -950,7 +950,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803eft = CpuModel{ + pub const ck803eft: CpuModel = .{ .name = "ck803eft", .llvm_name = "ck803eft", .features = featureSet(&[_]Feature{ @@ -968,7 +968,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803eftr1 = CpuModel{ + pub const ck803eftr1: CpuModel = .{ .name = "ck803eftr1", .llvm_name = "ck803eftr1", .features = featureSet(&[_]Feature{ @@ -989,7 +989,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803eftr2 = CpuModel{ + pub const ck803eftr2: CpuModel = .{ .name = "ck803eftr2", .llvm_name = "ck803eftr2", .features = featureSet(&[_]Feature{ @@ -1011,7 +1011,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803eftr3 = CpuModel{ + pub const ck803eftr3: CpuModel = .{ .name = "ck803eftr3", .llvm_name = "ck803eftr3", .features = featureSet(&[_]Feature{ @@ -1033,7 +1033,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803eh = CpuModel{ + pub const ck803eh: CpuModel = .{ .name = "ck803eh", .llvm_name = "ck803eh", .features = featureSet(&[_]Feature{ @@ -1048,7 +1048,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ehr1 = CpuModel{ + pub const ck803ehr1: CpuModel = .{ .name = "ck803ehr1", .llvm_name = "ck803ehr1", .features = featureSet(&[_]Feature{ @@ -1067,7 +1067,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ehr2 = CpuModel{ + pub const ck803ehr2: CpuModel = .{ .name = "ck803ehr2", .llvm_name = "ck803ehr2", .features = featureSet(&[_]Feature{ @@ -1086,7 +1086,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ehr3 = CpuModel{ + pub const ck803ehr3: CpuModel = .{ .name = "ck803ehr3", .llvm_name = "ck803ehr3", .features = featureSet(&[_]Feature{ @@ -1105,7 +1105,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803eht = CpuModel{ + pub const ck803eht: CpuModel = .{ .name = "ck803eht", .llvm_name = "ck803eht", .features = featureSet(&[_]Feature{ @@ -1120,7 +1120,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ehtr1 = CpuModel{ + pub const ck803ehtr1: CpuModel = .{ .name = "ck803ehtr1", .llvm_name = "ck803ehtr1", .features = featureSet(&[_]Feature{ @@ -1139,7 +1139,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ehtr2 = CpuModel{ + pub const ck803ehtr2: CpuModel = .{ .name = "ck803ehtr2", .llvm_name = "ck803ehtr2", .features = featureSet(&[_]Feature{ @@ -1158,7 +1158,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ehtr3 = CpuModel{ + pub const ck803ehtr3: CpuModel = .{ .name = "ck803ehtr3", .llvm_name = "ck803ehtr3", .features = featureSet(&[_]Feature{ @@ -1177,7 +1177,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803er1 = CpuModel{ + pub const ck803er1: CpuModel = .{ .name = "ck803er1", .llvm_name = "ck803er1", .features = featureSet(&[_]Feature{ @@ -1196,7 +1196,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803er2 = CpuModel{ + pub const ck803er2: CpuModel = .{ .name = "ck803er2", .llvm_name = "ck803er2", .features = featureSet(&[_]Feature{ @@ -1215,7 +1215,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803er3 = CpuModel{ + pub const ck803er3: CpuModel = .{ .name = "ck803er3", .llvm_name = "ck803er3", .features = featureSet(&[_]Feature{ @@ -1234,7 +1234,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803et = CpuModel{ + pub const ck803et: CpuModel = .{ .name = "ck803et", .llvm_name = "ck803et", .features = featureSet(&[_]Feature{ @@ -1249,7 +1249,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803etr1 = CpuModel{ + pub const ck803etr1: CpuModel = .{ .name = "ck803etr1", .llvm_name = "ck803etr1", .features = featureSet(&[_]Feature{ @@ -1268,7 +1268,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803etr2 = CpuModel{ + pub const ck803etr2: CpuModel = .{ .name = "ck803etr2", .llvm_name = "ck803etr2", .features = featureSet(&[_]Feature{ @@ -1287,7 +1287,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803etr3 = CpuModel{ + pub const ck803etr3: CpuModel = .{ .name = "ck803etr3", .llvm_name = "ck803etr3", .features = featureSet(&[_]Feature{ @@ -1306,7 +1306,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803f = CpuModel{ + pub const ck803f: CpuModel = .{ .name = "ck803f", .llvm_name = "ck803f", .features = featureSet(&[_]Feature{ @@ -1321,7 +1321,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803fh = CpuModel{ + pub const ck803fh: CpuModel = .{ .name = "ck803fh", .llvm_name = "ck803fh", .features = featureSet(&[_]Feature{ @@ -1336,7 +1336,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803fhr1 = CpuModel{ + pub const ck803fhr1: CpuModel = .{ .name = "ck803fhr1", .llvm_name = "ck803fhr1", .features = featureSet(&[_]Feature{ @@ -1354,7 +1354,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803fhr2 = CpuModel{ + pub const ck803fhr2: CpuModel = .{ .name = "ck803fhr2", .llvm_name = "ck803fhr2", .features = featureSet(&[_]Feature{ @@ -1372,7 +1372,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803fhr3 = CpuModel{ + pub const ck803fhr3: CpuModel = .{ .name = "ck803fhr3", .llvm_name = "ck803fhr3", .features = featureSet(&[_]Feature{ @@ -1390,7 +1390,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803fr1 = CpuModel{ + pub const ck803fr1: CpuModel = .{ .name = "ck803fr1", .llvm_name = "ck803fr1", .features = featureSet(&[_]Feature{ @@ -1408,7 +1408,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803fr2 = CpuModel{ + pub const ck803fr2: CpuModel = .{ .name = "ck803fr2", .llvm_name = "ck803fr2", .features = featureSet(&[_]Feature{ @@ -1426,7 +1426,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803fr3 = CpuModel{ + pub const ck803fr3: CpuModel = .{ .name = "ck803fr3", .llvm_name = "ck803fr3", .features = featureSet(&[_]Feature{ @@ -1444,7 +1444,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ft = CpuModel{ + pub const ck803ft: CpuModel = .{ .name = "ck803ft", .llvm_name = "ck803ft", .features = featureSet(&[_]Feature{ @@ -1459,7 +1459,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ftr1 = CpuModel{ + pub const ck803ftr1: CpuModel = .{ .name = "ck803ftr1", .llvm_name = "ck803ftr1", .features = featureSet(&[_]Feature{ @@ -1476,7 +1476,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ftr2 = CpuModel{ + pub const ck803ftr2: CpuModel = .{ .name = "ck803ftr2", .llvm_name = "ck803ftr2", .features = featureSet(&[_]Feature{ @@ -1494,7 +1494,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ftr3 = CpuModel{ + pub const ck803ftr3: CpuModel = .{ .name = "ck803ftr3", .llvm_name = "ck803ftr3", .features = featureSet(&[_]Feature{ @@ -1512,7 +1512,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803h = CpuModel{ + pub const ck803h: CpuModel = .{ .name = "ck803h", .llvm_name = "ck803h", .features = featureSet(&[_]Feature{ @@ -1524,7 +1524,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803hr1 = CpuModel{ + pub const ck803hr1: CpuModel = .{ .name = "ck803hr1", .llvm_name = "ck803hr1", .features = featureSet(&[_]Feature{ @@ -1539,7 +1539,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803hr2 = CpuModel{ + pub const ck803hr2: CpuModel = .{ .name = "ck803hr2", .llvm_name = "ck803hr2", .features = featureSet(&[_]Feature{ @@ -1554,7 +1554,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803hr3 = CpuModel{ + pub const ck803hr3: CpuModel = .{ .name = "ck803hr3", .llvm_name = "ck803hr3", .features = featureSet(&[_]Feature{ @@ -1569,7 +1569,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803ht = CpuModel{ + pub const ck803ht: CpuModel = .{ .name = "ck803ht", .llvm_name = "ck803ht", .features = featureSet(&[_]Feature{ @@ -1581,7 +1581,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803htr1 = CpuModel{ + pub const ck803htr1: CpuModel = .{ .name = "ck803htr1", .llvm_name = "ck803htr1", .features = featureSet(&[_]Feature{ @@ -1596,7 +1596,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803htr2 = CpuModel{ + pub const ck803htr2: CpuModel = .{ .name = "ck803htr2", .llvm_name = "ck803htr2", .features = featureSet(&[_]Feature{ @@ -1611,7 +1611,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803htr3 = CpuModel{ + pub const ck803htr3: CpuModel = .{ .name = "ck803htr3", .llvm_name = "ck803htr3", .features = featureSet(&[_]Feature{ @@ -1626,7 +1626,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803r1 = CpuModel{ + pub const ck803r1: CpuModel = .{ .name = "ck803r1", .llvm_name = "ck803r1", .features = featureSet(&[_]Feature{ @@ -1641,7 +1641,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803r2 = CpuModel{ + pub const ck803r2: CpuModel = .{ .name = "ck803r2", .llvm_name = "ck803r2", .features = featureSet(&[_]Feature{ @@ -1656,7 +1656,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803r3 = CpuModel{ + pub const ck803r3: CpuModel = .{ .name = "ck803r3", .llvm_name = "ck803r3", .features = featureSet(&[_]Feature{ @@ -1671,7 +1671,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803s = CpuModel{ + pub const ck803s: CpuModel = .{ .name = "ck803s", .llvm_name = "ck803s", .features = featureSet(&[_]Feature{ @@ -1685,7 +1685,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803se = CpuModel{ + pub const ck803se: CpuModel = .{ .name = "ck803se", .llvm_name = "ck803se", .features = featureSet(&[_]Feature{ @@ -1702,7 +1702,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803sef = CpuModel{ + pub const ck803sef: CpuModel = .{ .name = "ck803sef", .llvm_name = "ck803sef", .features = featureSet(&[_]Feature{ @@ -1722,7 +1722,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803sefn = CpuModel{ + pub const ck803sefn: CpuModel = .{ .name = "ck803sefn", .llvm_name = "ck803sefn", .features = featureSet(&[_]Feature{ @@ -1743,7 +1743,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803sefnt = CpuModel{ + pub const ck803sefnt: CpuModel = .{ .name = "ck803sefnt", .llvm_name = "ck803sefnt", .features = featureSet(&[_]Feature{ @@ -1764,7 +1764,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803seft = CpuModel{ + pub const ck803seft: CpuModel = .{ .name = "ck803seft", .llvm_name = "ck803seft", .features = featureSet(&[_]Feature{ @@ -1784,7 +1784,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803sen = CpuModel{ + pub const ck803sen: CpuModel = .{ .name = "ck803sen", .llvm_name = "ck803sen", .features = featureSet(&[_]Feature{ @@ -1802,7 +1802,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803sf = CpuModel{ + pub const ck803sf: CpuModel = .{ .name = "ck803sf", .llvm_name = "ck803sf", .features = featureSet(&[_]Feature{ @@ -1819,7 +1819,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803sfn = CpuModel{ + pub const ck803sfn: CpuModel = .{ .name = "ck803sfn", .llvm_name = "ck803sfn", .features = featureSet(&[_]Feature{ @@ -1837,7 +1837,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803sn = CpuModel{ + pub const ck803sn: CpuModel = .{ .name = "ck803sn", .llvm_name = "ck803sn", .features = featureSet(&[_]Feature{ @@ -1852,7 +1852,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803snt = CpuModel{ + pub const ck803snt: CpuModel = .{ .name = "ck803snt", .llvm_name = "ck803snt", .features = featureSet(&[_]Feature{ @@ -1867,7 +1867,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803st = CpuModel{ + pub const ck803st: CpuModel = .{ .name = "ck803st", .llvm_name = "ck803st", .features = featureSet(&[_]Feature{ @@ -1881,7 +1881,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803t = CpuModel{ + pub const ck803t: CpuModel = .{ .name = "ck803t", .llvm_name = "ck803t", .features = featureSet(&[_]Feature{ @@ -1893,7 +1893,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803tr1 = CpuModel{ + pub const ck803tr1: CpuModel = .{ .name = "ck803tr1", .llvm_name = "ck803tr1", .features = featureSet(&[_]Feature{ @@ -1908,7 +1908,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803tr2 = CpuModel{ + pub const ck803tr2: CpuModel = .{ .name = "ck803tr2", .llvm_name = "ck803tr2", .features = featureSet(&[_]Feature{ @@ -1923,7 +1923,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck803tr3 = CpuModel{ + pub const ck803tr3: CpuModel = .{ .name = "ck803tr3", .llvm_name = "ck803tr3", .features = featureSet(&[_]Feature{ @@ -1938,7 +1938,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804 = CpuModel{ + pub const ck804: CpuModel = .{ .name = "ck804", .llvm_name = "ck804", .features = featureSet(&[_]Feature{ @@ -1953,7 +1953,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804e = CpuModel{ + pub const ck804e: CpuModel = .{ .name = "ck804e", .llvm_name = "ck804e", .features = featureSet(&[_]Feature{ @@ -1970,7 +1970,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804ef = CpuModel{ + pub const ck804ef: CpuModel = .{ .name = "ck804ef", .llvm_name = "ck804ef", .features = featureSet(&[_]Feature{ @@ -1990,7 +1990,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804efh = CpuModel{ + pub const ck804efh: CpuModel = .{ .name = "ck804efh", .llvm_name = "ck804efh", .features = featureSet(&[_]Feature{ @@ -2010,7 +2010,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804efht = CpuModel{ + pub const ck804efht: CpuModel = .{ .name = "ck804efht", .llvm_name = "ck804efht", .features = featureSet(&[_]Feature{ @@ -2030,7 +2030,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804eft = CpuModel{ + pub const ck804eft: CpuModel = .{ .name = "ck804eft", .llvm_name = "ck804eft", .features = featureSet(&[_]Feature{ @@ -2050,7 +2050,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804eh = CpuModel{ + pub const ck804eh: CpuModel = .{ .name = "ck804eh", .llvm_name = "ck804eh", .features = featureSet(&[_]Feature{ @@ -2067,7 +2067,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804eht = CpuModel{ + pub const ck804eht: CpuModel = .{ .name = "ck804eht", .llvm_name = "ck804eht", .features = featureSet(&[_]Feature{ @@ -2084,7 +2084,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804et = CpuModel{ + pub const ck804et: CpuModel = .{ .name = "ck804et", .llvm_name = "ck804et", .features = featureSet(&[_]Feature{ @@ -2101,7 +2101,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804f = CpuModel{ + pub const ck804f: CpuModel = .{ .name = "ck804f", .llvm_name = "ck804f", .features = featureSet(&[_]Feature{ @@ -2119,7 +2119,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804fh = CpuModel{ + pub const ck804fh: CpuModel = .{ .name = "ck804fh", .llvm_name = "ck804fh", .features = featureSet(&[_]Feature{ @@ -2137,7 +2137,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804ft = CpuModel{ + pub const ck804ft: CpuModel = .{ .name = "ck804ft", .llvm_name = "ck804ft", .features = featureSet(&[_]Feature{ @@ -2155,7 +2155,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804h = CpuModel{ + pub const ck804h: CpuModel = .{ .name = "ck804h", .llvm_name = "ck804h", .features = featureSet(&[_]Feature{ @@ -2170,7 +2170,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804ht = CpuModel{ + pub const ck804ht: CpuModel = .{ .name = "ck804ht", .llvm_name = "ck804ht", .features = featureSet(&[_]Feature{ @@ -2185,7 +2185,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck804t = CpuModel{ + pub const ck804t: CpuModel = .{ .name = "ck804t", .llvm_name = "ck804t", .features = featureSet(&[_]Feature{ @@ -2200,7 +2200,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck805 = CpuModel{ + pub const ck805: CpuModel = .{ .name = "ck805", .llvm_name = "ck805", .features = featureSet(&[_]Feature{ @@ -2218,7 +2218,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const ck805e = CpuModel{ + pub const ck805e: CpuModel = .{ .name = "ck805e", .llvm_name = "ck805e", .features = featureSet(&[_]Feature{ @@ -2237,7 +2237,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const ck805ef = CpuModel{ + pub const ck805ef: CpuModel = .{ .name = "ck805ef", .llvm_name = "ck805ef", .features = featureSet(&[_]Feature{ @@ -2259,7 +2259,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const ck805eft = CpuModel{ + pub const ck805eft: CpuModel = .{ .name = "ck805eft", .llvm_name = "ck805eft", .features = featureSet(&[_]Feature{ @@ -2281,7 +2281,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const ck805et = CpuModel{ + pub const ck805et: CpuModel = .{ .name = "ck805et", .llvm_name = "ck805et", .features = featureSet(&[_]Feature{ @@ -2300,7 +2300,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const ck805f = CpuModel{ + pub const ck805f: CpuModel = .{ .name = "ck805f", .llvm_name = "ck805f", .features = featureSet(&[_]Feature{ @@ -2321,7 +2321,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const ck805ft = CpuModel{ + pub const ck805ft: CpuModel = .{ .name = "ck805ft", .llvm_name = "ck805ft", .features = featureSet(&[_]Feature{ @@ -2342,7 +2342,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const ck805t = CpuModel{ + pub const ck805t: CpuModel = .{ .name = "ck805t", .llvm_name = "ck805t", .features = featureSet(&[_]Feature{ @@ -2360,7 +2360,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const ck807 = CpuModel{ + pub const ck807: CpuModel = .{ .name = "ck807", .llvm_name = "ck807", .features = featureSet(&[_]Feature{ @@ -2378,7 +2378,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck807e = CpuModel{ + pub const ck807e: CpuModel = .{ .name = "ck807e", .llvm_name = "ck807e", .features = featureSet(&[_]Feature{ @@ -2396,7 +2396,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck807ef = CpuModel{ + pub const ck807ef: CpuModel = .{ .name = "ck807ef", .llvm_name = "ck807ef", .features = featureSet(&[_]Feature{ @@ -2421,7 +2421,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck807f = CpuModel{ + pub const ck807f: CpuModel = .{ .name = "ck807f", .llvm_name = "ck807f", .features = featureSet(&[_]Feature{ @@ -2446,7 +2446,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck810 = CpuModel{ + pub const ck810: CpuModel = .{ .name = "ck810", .llvm_name = "ck810", .features = featureSet(&[_]Feature{ @@ -2465,7 +2465,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck810e = CpuModel{ + pub const ck810e: CpuModel = .{ .name = "ck810e", .llvm_name = "ck810e", .features = featureSet(&[_]Feature{ @@ -2484,7 +2484,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck810ef = CpuModel{ + pub const ck810ef: CpuModel = .{ .name = "ck810ef", .llvm_name = "ck810ef", .features = featureSet(&[_]Feature{ @@ -2508,7 +2508,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck810eft = CpuModel{ + pub const ck810eft: CpuModel = .{ .name = "ck810eft", .llvm_name = "ck810eft", .features = featureSet(&[_]Feature{ @@ -2532,7 +2532,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck810eftv = CpuModel{ + pub const ck810eftv: CpuModel = .{ .name = "ck810eftv", .llvm_name = "ck810eftv", .features = featureSet(&[_]Feature{ @@ -2558,7 +2558,7 @@ pub const cpu = struct { .vdspv1, }), }; - pub const ck810efv = CpuModel{ + pub const ck810efv: CpuModel = .{ .name = "ck810efv", .llvm_name = "ck810efv", .features = featureSet(&[_]Feature{ @@ -2584,7 +2584,7 @@ pub const cpu = struct { .vdspv1, }), }; - pub const ck810et = CpuModel{ + pub const ck810et: CpuModel = .{ .name = "ck810et", .llvm_name = "ck810et", .features = featureSet(&[_]Feature{ @@ -2603,7 +2603,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck810etv = CpuModel{ + pub const ck810etv: CpuModel = .{ .name = "ck810etv", .llvm_name = "ck810etv", .features = featureSet(&[_]Feature{ @@ -2624,7 +2624,7 @@ pub const cpu = struct { .vdspv1, }), }; - pub const ck810ev = CpuModel{ + pub const ck810ev: CpuModel = .{ .name = "ck810ev", .llvm_name = "ck810ev", .features = featureSet(&[_]Feature{ @@ -2645,7 +2645,7 @@ pub const cpu = struct { .vdspv1, }), }; - pub const ck810f = CpuModel{ + pub const ck810f: CpuModel = .{ .name = "ck810f", .llvm_name = "ck810f", .features = featureSet(&[_]Feature{ @@ -2669,7 +2669,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck810ft = CpuModel{ + pub const ck810ft: CpuModel = .{ .name = "ck810ft", .llvm_name = "ck810ft", .features = featureSet(&[_]Feature{ @@ -2693,7 +2693,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck810ftv = CpuModel{ + pub const ck810ftv: CpuModel = .{ .name = "ck810ftv", .llvm_name = "ck810ftv", .features = featureSet(&[_]Feature{ @@ -2719,7 +2719,7 @@ pub const cpu = struct { .vdspv1, }), }; - pub const ck810fv = CpuModel{ + pub const ck810fv: CpuModel = .{ .name = "ck810fv", .llvm_name = "ck810fv", .features = featureSet(&[_]Feature{ @@ -2745,7 +2745,7 @@ pub const cpu = struct { .vdspv1, }), }; - pub const ck810t = CpuModel{ + pub const ck810t: CpuModel = .{ .name = "ck810t", .llvm_name = "ck810t", .features = featureSet(&[_]Feature{ @@ -2764,7 +2764,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck810tv = CpuModel{ + pub const ck810tv: CpuModel = .{ .name = "ck810tv", .llvm_name = "ck810tv", .features = featureSet(&[_]Feature{ @@ -2785,7 +2785,7 @@ pub const cpu = struct { .vdspv1, }), }; - pub const ck810v = CpuModel{ + pub const ck810v: CpuModel = .{ .name = "ck810v", .llvm_name = "ck810v", .features = featureSet(&[_]Feature{ @@ -2806,7 +2806,7 @@ pub const cpu = struct { .vdspv1, }), }; - pub const ck860 = CpuModel{ + pub const ck860: CpuModel = .{ .name = "ck860", .llvm_name = "ck860", .features = featureSet(&[_]Feature{ @@ -2826,7 +2826,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck860f = CpuModel{ + pub const ck860f: CpuModel = .{ .name = "ck860f", .llvm_name = "ck860f", .features = featureSet(&[_]Feature{ @@ -2851,7 +2851,7 @@ pub const cpu = struct { .trust, }), }; - pub const ck860fv = CpuModel{ + pub const ck860fv: CpuModel = .{ .name = "ck860fv", .llvm_name = "ck860fv", .features = featureSet(&[_]Feature{ @@ -2879,7 +2879,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const ck860v = CpuModel{ + pub const ck860v: CpuModel = .{ .name = "ck860v", .llvm_name = "ck860v", .features = featureSet(&[_]Feature{ @@ -2902,7 +2902,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const e801 = CpuModel{ + pub const e801: CpuModel = .{ .name = "e801", .llvm_name = "e801", .features = featureSet(&[_]Feature{ @@ -2912,7 +2912,7 @@ pub const cpu = struct { .trust, }), }; - pub const e802 = CpuModel{ + pub const e802: CpuModel = .{ .name = "e802", .llvm_name = "e802", .features = featureSet(&[_]Feature{ @@ -2923,7 +2923,7 @@ pub const cpu = struct { .trust, }), }; - pub const e802t = CpuModel{ + pub const e802t: CpuModel = .{ .name = "e802t", .llvm_name = "e802t", .features = featureSet(&[_]Feature{ @@ -2934,7 +2934,7 @@ pub const cpu = struct { .trust, }), }; - pub const e803 = CpuModel{ + pub const e803: CpuModel = .{ .name = "e803", .llvm_name = "e803", .features = featureSet(&[_]Feature{ @@ -2948,7 +2948,7 @@ pub const cpu = struct { .trust, }), }; - pub const e803t = CpuModel{ + pub const e803t: CpuModel = .{ .name = "e803t", .llvm_name = "e803t", .features = featureSet(&[_]Feature{ @@ -2962,7 +2962,7 @@ pub const cpu = struct { .trust, }), }; - pub const e804d = CpuModel{ + pub const e804d: CpuModel = .{ .name = "e804d", .llvm_name = "e804d", .features = featureSet(&[_]Feature{ @@ -2979,7 +2979,7 @@ pub const cpu = struct { .trust, }), }; - pub const e804df = CpuModel{ + pub const e804df: CpuModel = .{ .name = "e804df", .llvm_name = "e804df", .features = featureSet(&[_]Feature{ @@ -2999,7 +2999,7 @@ pub const cpu = struct { .trust, }), }; - pub const e804dft = CpuModel{ + pub const e804dft: CpuModel = .{ .name = "e804dft", .llvm_name = "e804dft", .features = featureSet(&[_]Feature{ @@ -3019,7 +3019,7 @@ pub const cpu = struct { .trust, }), }; - pub const e804dt = CpuModel{ + pub const e804dt: CpuModel = .{ .name = "e804dt", .llvm_name = "e804dt", .features = featureSet(&[_]Feature{ @@ -3036,7 +3036,7 @@ pub const cpu = struct { .trust, }), }; - pub const e804f = CpuModel{ + pub const e804f: CpuModel = .{ .name = "e804f", .llvm_name = "e804f", .features = featureSet(&[_]Feature{ @@ -3054,7 +3054,7 @@ pub const cpu = struct { .trust, }), }; - pub const e804ft = CpuModel{ + pub const e804ft: CpuModel = .{ .name = "e804ft", .llvm_name = "e804ft", .features = featureSet(&[_]Feature{ @@ -3072,14 +3072,14 @@ pub const cpu = struct { .trust, }), }; - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{ .btst16, }), }; - pub const @"i805" = CpuModel{ + pub const @"i805": CpuModel = .{ .name = "i805", .llvm_name = "i805", .features = featureSet(&[_]Feature{ @@ -3097,7 +3097,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const i805f = CpuModel{ + pub const i805f: CpuModel = .{ .name = "i805f", .llvm_name = "i805f", .features = featureSet(&[_]Feature{ @@ -3118,7 +3118,7 @@ pub const cpu = struct { .vdspv2, }), }; - pub const r807 = CpuModel{ + pub const r807: CpuModel = .{ .name = "r807", .llvm_name = "r807", .features = featureSet(&[_]Feature{ @@ -3136,7 +3136,7 @@ pub const cpu = struct { .trust, }), }; - pub const r807f = CpuModel{ + pub const r807f: CpuModel = .{ .name = "r807f", .llvm_name = "r807f", .features = featureSet(&[_]Feature{ @@ -3161,7 +3161,7 @@ pub const cpu = struct { .trust, }), }; - pub const s802 = CpuModel{ + pub const s802: CpuModel = .{ .name = "s802", .llvm_name = "s802", .features = featureSet(&[_]Feature{ @@ -3172,7 +3172,7 @@ pub const cpu = struct { .trust, }), }; - pub const s802t = CpuModel{ + pub const s802t: CpuModel = .{ .name = "s802t", .llvm_name = "s802t", .features = featureSet(&[_]Feature{ @@ -3183,7 +3183,7 @@ pub const cpu = struct { .trust, }), }; - pub const s803 = CpuModel{ + pub const s803: CpuModel = .{ .name = "s803", .llvm_name = "s803", .features = featureSet(&[_]Feature{ @@ -3197,7 +3197,7 @@ pub const cpu = struct { .trust, }), }; - pub const s803t = CpuModel{ + pub const s803t: CpuModel = .{ .name = "s803t", .llvm_name = "s803t", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/hexagon.zig b/lib/std/Target/hexagon.zig index 7b1d619e87..983086bc18 100644 --- a/lib/std/Target/hexagon.zig +++ b/lib/std/Target/hexagon.zig @@ -304,7 +304,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{ @@ -321,7 +321,7 @@ pub const cpu = struct { .v60, }), }; - pub const hexagonv5 = CpuModel{ + pub const hexagonv5: CpuModel = .{ .name = "hexagonv5", .llvm_name = "hexagonv5", .features = featureSet(&[_]Feature{ @@ -336,7 +336,7 @@ pub const cpu = struct { .v5, }), }; - pub const hexagonv55 = CpuModel{ + pub const hexagonv55: CpuModel = .{ .name = "hexagonv55", .llvm_name = "hexagonv55", .features = featureSet(&[_]Feature{ @@ -352,7 +352,7 @@ pub const cpu = struct { .v55, }), }; - pub const hexagonv60 = CpuModel{ + pub const hexagonv60: CpuModel = .{ .name = "hexagonv60", .llvm_name = "hexagonv60", .features = featureSet(&[_]Feature{ @@ -369,7 +369,7 @@ pub const cpu = struct { .v60, }), }; - pub const hexagonv62 = CpuModel{ + pub const hexagonv62: CpuModel = .{ .name = "hexagonv62", .llvm_name = "hexagonv62", .features = featureSet(&[_]Feature{ @@ -387,7 +387,7 @@ pub const cpu = struct { .v62, }), }; - pub const hexagonv65 = CpuModel{ + pub const hexagonv65: CpuModel = .{ .name = "hexagonv65", .llvm_name = "hexagonv65", .features = featureSet(&[_]Feature{ @@ -406,7 +406,7 @@ pub const cpu = struct { .v65, }), }; - pub const hexagonv66 = CpuModel{ + pub const hexagonv66: CpuModel = .{ .name = "hexagonv66", .llvm_name = "hexagonv66", .features = featureSet(&[_]Feature{ @@ -426,7 +426,7 @@ pub const cpu = struct { .v66, }), }; - pub const hexagonv67 = CpuModel{ + pub const hexagonv67: CpuModel = .{ .name = "hexagonv67", .llvm_name = "hexagonv67", .features = featureSet(&[_]Feature{ @@ -447,7 +447,7 @@ pub const cpu = struct { .v67, }), }; - pub const hexagonv67t = CpuModel{ + pub const hexagonv67t: CpuModel = .{ .name = "hexagonv67t", .llvm_name = "hexagonv67t", .features = featureSet(&[_]Feature{ @@ -467,7 +467,7 @@ pub const cpu = struct { .v67, }), }; - pub const hexagonv68 = CpuModel{ + pub const hexagonv68: CpuModel = .{ .name = "hexagonv68", .llvm_name = "hexagonv68", .features = featureSet(&[_]Feature{ @@ -489,7 +489,7 @@ pub const cpu = struct { .v68, }), }; - pub const hexagonv69 = CpuModel{ + pub const hexagonv69: CpuModel = .{ .name = "hexagonv69", .llvm_name = "hexagonv69", .features = featureSet(&[_]Feature{ @@ -512,7 +512,7 @@ pub const cpu = struct { .v69, }), }; - pub const hexagonv71 = CpuModel{ + pub const hexagonv71: CpuModel = .{ .name = "hexagonv71", .llvm_name = "hexagonv71", .features = featureSet(&[_]Feature{ @@ -536,7 +536,7 @@ pub const cpu = struct { .v71, }), }; - pub const hexagonv71t = CpuModel{ + pub const hexagonv71t: CpuModel = .{ .name = "hexagonv71t", .llvm_name = "hexagonv71t", .features = featureSet(&[_]Feature{ @@ -559,7 +559,7 @@ pub const cpu = struct { .v71, }), }; - pub const hexagonv73 = CpuModel{ + pub const hexagonv73: CpuModel = .{ .name = "hexagonv73", .llvm_name = "hexagonv73", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/lanai.zig b/lib/std/Target/lanai.zig index 041934b6d4..f4a83d610b 100644 --- a/lib/std/Target/lanai.zig +++ b/lib/std/Target/lanai.zig @@ -24,12 +24,12 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), }; - pub const v11 = CpuModel{ + pub const v11: CpuModel = .{ .name = "v11", .llvm_name = "v11", .features = featureSet(&[_]Feature{}), diff --git a/lib/std/Target/loongarch.zig b/lib/std/Target/loongarch.zig index a6c19d4450..04a4b60fdf 100644 --- a/lib/std/Target/loongarch.zig +++ b/lib/std/Target/loongarch.zig @@ -121,19 +121,19 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), }; - pub const generic_la32 = CpuModel{ + pub const generic_la32: CpuModel = .{ .name = "generic_la32", .llvm_name = "generic-la32", .features = featureSet(&[_]Feature{ .@"32bit", }), }; - pub const generic_la64 = CpuModel{ + pub const generic_la64: CpuModel = .{ .name = "generic_la64", .llvm_name = "generic-la64", .features = featureSet(&[_]Feature{ @@ -141,7 +141,7 @@ pub const cpu = struct { .ual, }), }; - pub const la464 = CpuModel{ + pub const la464: CpuModel = .{ .name = "la464", .llvm_name = "la464", .features = featureSet(&[_]Feature{ @@ -152,7 +152,7 @@ pub const cpu = struct { .ual, }), }; - pub const la664 = CpuModel{ + pub const la664: CpuModel = .{ .name = "la664", .llvm_name = "la664", .features = featureSet(&[_]Feature{ @@ -164,7 +164,7 @@ pub const cpu = struct { .ual, }), }; - pub const loongarch64 = CpuModel{ + pub const loongarch64: CpuModel = .{ .name = "loongarch64", .llvm_name = "loongarch64", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/m68k.zig b/lib/std/Target/m68k.zig index a9fcf9e231..fd4a8029c3 100644 --- a/lib/std/Target/m68k.zig +++ b/lib/std/Target/m68k.zig @@ -176,49 +176,49 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{ .isa_68000, }), }; - pub const M68000 = CpuModel{ + pub const M68000: CpuModel = .{ .name = "M68000", .llvm_name = "M68000", .features = featureSet(&[_]Feature{ .isa_68000, }), }; - pub const M68010 = CpuModel{ + pub const M68010: CpuModel = .{ .name = "M68010", .llvm_name = "M68010", .features = featureSet(&[_]Feature{ .isa_68010, }), }; - pub const M68020 = CpuModel{ + pub const M68020: CpuModel = .{ .name = "M68020", .llvm_name = "M68020", .features = featureSet(&[_]Feature{ .isa_68020, }), }; - pub const M68030 = CpuModel{ + pub const M68030: CpuModel = .{ .name = "M68030", .llvm_name = "M68030", .features = featureSet(&[_]Feature{ .isa_68030, }), }; - pub const M68040 = CpuModel{ + pub const M68040: CpuModel = .{ .name = "M68040", .llvm_name = "M68040", .features = featureSet(&[_]Feature{ .isa_68040, }), }; - pub const M68060 = CpuModel{ + pub const M68060: CpuModel = .{ .name = "M68060", .llvm_name = "M68060", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/mips.zig b/lib/std/Target/mips.zig index d37d21d313..bd507f290d 100644 --- a/lib/std/Target/mips.zig +++ b/lib/std/Target/mips.zig @@ -401,133 +401,133 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{ .mips32, }), }; - pub const mips1 = CpuModel{ + pub const mips1: CpuModel = .{ .name = "mips1", .llvm_name = "mips1", .features = featureSet(&[_]Feature{ .mips1, }), }; - pub const mips2 = CpuModel{ + pub const mips2: CpuModel = .{ .name = "mips2", .llvm_name = "mips2", .features = featureSet(&[_]Feature{ .mips2, }), }; - pub const mips3 = CpuModel{ + pub const mips3: CpuModel = .{ .name = "mips3", .llvm_name = "mips3", .features = featureSet(&[_]Feature{ .mips3, }), }; - pub const mips32 = CpuModel{ + pub const mips32: CpuModel = .{ .name = "mips32", .llvm_name = "mips32", .features = featureSet(&[_]Feature{ .mips32, }), }; - pub const mips32r2 = CpuModel{ + pub const mips32r2: CpuModel = .{ .name = "mips32r2", .llvm_name = "mips32r2", .features = featureSet(&[_]Feature{ .mips32r2, }), }; - pub const mips32r3 = CpuModel{ + pub const mips32r3: CpuModel = .{ .name = "mips32r3", .llvm_name = "mips32r3", .features = featureSet(&[_]Feature{ .mips32r3, }), }; - pub const mips32r5 = CpuModel{ + pub const mips32r5: CpuModel = .{ .name = "mips32r5", .llvm_name = "mips32r5", .features = featureSet(&[_]Feature{ .mips32r5, }), }; - pub const mips32r6 = CpuModel{ + pub const mips32r6: CpuModel = .{ .name = "mips32r6", .llvm_name = "mips32r6", .features = featureSet(&[_]Feature{ .mips32r6, }), }; - pub const mips4 = CpuModel{ + pub const mips4: CpuModel = .{ .name = "mips4", .llvm_name = "mips4", .features = featureSet(&[_]Feature{ .mips4, }), }; - pub const mips5 = CpuModel{ + pub const mips5: CpuModel = .{ .name = "mips5", .llvm_name = "mips5", .features = featureSet(&[_]Feature{ .mips5, }), }; - pub const mips64 = CpuModel{ + pub const mips64: CpuModel = .{ .name = "mips64", .llvm_name = "mips64", .features = featureSet(&[_]Feature{ .mips64, }), }; - pub const mips64r2 = CpuModel{ + pub const mips64r2: CpuModel = .{ .name = "mips64r2", .llvm_name = "mips64r2", .features = featureSet(&[_]Feature{ .mips64r2, }), }; - pub const mips64r3 = CpuModel{ + pub const mips64r3: CpuModel = .{ .name = "mips64r3", .llvm_name = "mips64r3", .features = featureSet(&[_]Feature{ .mips64r3, }), }; - pub const mips64r5 = CpuModel{ + pub const mips64r5: CpuModel = .{ .name = "mips64r5", .llvm_name = "mips64r5", .features = featureSet(&[_]Feature{ .mips64r5, }), }; - pub const mips64r6 = CpuModel{ + pub const mips64r6: CpuModel = .{ .name = "mips64r6", .llvm_name = "mips64r6", .features = featureSet(&[_]Feature{ .mips64r6, }), }; - pub const octeon = CpuModel{ + pub const octeon: CpuModel = .{ .name = "octeon", .llvm_name = "octeon", .features = featureSet(&[_]Feature{ .cnmips, }), }; - pub const @"octeon+" = CpuModel{ + pub const @"octeon+": CpuModel = .{ .name = "octeon+", .llvm_name = "octeon+", .features = featureSet(&[_]Feature{ .cnmipsp, }), }; - pub const p5600 = CpuModel{ + pub const p5600: CpuModel = .{ .name = "p5600", .llvm_name = "p5600", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/msp430.zig b/lib/std/Target/msp430.zig index 9ee76ca894..36f2dde126 100644 --- a/lib/std/Target/msp430.zig +++ b/lib/std/Target/msp430.zig @@ -49,17 +49,17 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), }; - pub const msp430 = CpuModel{ + pub const msp430: CpuModel = .{ .name = "msp430", .llvm_name = "msp430", .features = featureSet(&[_]Feature{}), }; - pub const msp430x = CpuModel{ + pub const msp430x: CpuModel = .{ .name = "msp430x", .llvm_name = "msp430x", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/nvptx.zig b/lib/std/Target/nvptx.zig index 1005d6e829..0eced29fd6 100644 --- a/lib/std/Target/nvptx.zig +++ b/lib/std/Target/nvptx.zig @@ -313,7 +313,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const sm_20 = CpuModel{ + pub const sm_20: CpuModel = .{ .name = "sm_20", .llvm_name = "sm_20", .features = featureSet(&[_]Feature{ @@ -321,7 +321,7 @@ pub const cpu = struct { .sm_20, }), }; - pub const sm_21 = CpuModel{ + pub const sm_21: CpuModel = .{ .name = "sm_21", .llvm_name = "sm_21", .features = featureSet(&[_]Feature{ @@ -329,14 +329,14 @@ pub const cpu = struct { .sm_21, }), }; - pub const sm_30 = CpuModel{ + pub const sm_30: CpuModel = .{ .name = "sm_30", .llvm_name = "sm_30", .features = featureSet(&[_]Feature{ .sm_30, }), }; - pub const sm_32 = CpuModel{ + pub const sm_32: CpuModel = .{ .name = "sm_32", .llvm_name = "sm_32", .features = featureSet(&[_]Feature{ @@ -344,7 +344,7 @@ pub const cpu = struct { .sm_32, }), }; - pub const sm_35 = CpuModel{ + pub const sm_35: CpuModel = .{ .name = "sm_35", .llvm_name = "sm_35", .features = featureSet(&[_]Feature{ @@ -352,7 +352,7 @@ pub const cpu = struct { .sm_35, }), }; - pub const sm_37 = CpuModel{ + pub const sm_37: CpuModel = .{ .name = "sm_37", .llvm_name = "sm_37", .features = featureSet(&[_]Feature{ @@ -360,7 +360,7 @@ pub const cpu = struct { .sm_37, }), }; - pub const sm_50 = CpuModel{ + pub const sm_50: CpuModel = .{ .name = "sm_50", .llvm_name = "sm_50", .features = featureSet(&[_]Feature{ @@ -368,7 +368,7 @@ pub const cpu = struct { .sm_50, }), }; - pub const sm_52 = CpuModel{ + pub const sm_52: CpuModel = .{ .name = "sm_52", .llvm_name = "sm_52", .features = featureSet(&[_]Feature{ @@ -376,7 +376,7 @@ pub const cpu = struct { .sm_52, }), }; - pub const sm_53 = CpuModel{ + pub const sm_53: CpuModel = .{ .name = "sm_53", .llvm_name = "sm_53", .features = featureSet(&[_]Feature{ @@ -384,7 +384,7 @@ pub const cpu = struct { .sm_53, }), }; - pub const sm_60 = CpuModel{ + pub const sm_60: CpuModel = .{ .name = "sm_60", .llvm_name = "sm_60", .features = featureSet(&[_]Feature{ @@ -392,7 +392,7 @@ pub const cpu = struct { .sm_60, }), }; - pub const sm_61 = CpuModel{ + pub const sm_61: CpuModel = .{ .name = "sm_61", .llvm_name = "sm_61", .features = featureSet(&[_]Feature{ @@ -400,7 +400,7 @@ pub const cpu = struct { .sm_61, }), }; - pub const sm_62 = CpuModel{ + pub const sm_62: CpuModel = .{ .name = "sm_62", .llvm_name = "sm_62", .features = featureSet(&[_]Feature{ @@ -408,7 +408,7 @@ pub const cpu = struct { .sm_62, }), }; - pub const sm_70 = CpuModel{ + pub const sm_70: CpuModel = .{ .name = "sm_70", .llvm_name = "sm_70", .features = featureSet(&[_]Feature{ @@ -416,7 +416,7 @@ pub const cpu = struct { .sm_70, }), }; - pub const sm_72 = CpuModel{ + pub const sm_72: CpuModel = .{ .name = "sm_72", .llvm_name = "sm_72", .features = featureSet(&[_]Feature{ @@ -424,7 +424,7 @@ pub const cpu = struct { .sm_72, }), }; - pub const sm_75 = CpuModel{ + pub const sm_75: CpuModel = .{ .name = "sm_75", .llvm_name = "sm_75", .features = featureSet(&[_]Feature{ @@ -432,7 +432,7 @@ pub const cpu = struct { .sm_75, }), }; - pub const sm_80 = CpuModel{ + pub const sm_80: CpuModel = .{ .name = "sm_80", .llvm_name = "sm_80", .features = featureSet(&[_]Feature{ @@ -440,7 +440,7 @@ pub const cpu = struct { .sm_80, }), }; - pub const sm_86 = CpuModel{ + pub const sm_86: CpuModel = .{ .name = "sm_86", .llvm_name = "sm_86", .features = featureSet(&[_]Feature{ @@ -448,7 +448,7 @@ pub const cpu = struct { .sm_86, }), }; - pub const sm_87 = CpuModel{ + pub const sm_87: CpuModel = .{ .name = "sm_87", .llvm_name = "sm_87", .features = featureSet(&[_]Feature{ @@ -456,7 +456,7 @@ pub const cpu = struct { .sm_87, }), }; - pub const sm_89 = CpuModel{ + pub const sm_89: CpuModel = .{ .name = "sm_89", .llvm_name = "sm_89", .features = featureSet(&[_]Feature{ @@ -464,7 +464,7 @@ pub const cpu = struct { .sm_89, }), }; - pub const sm_90 = CpuModel{ + pub const sm_90: CpuModel = .{ .name = "sm_90", .llvm_name = "sm_90", .features = featureSet(&[_]Feature{ @@ -472,7 +472,7 @@ pub const cpu = struct { .sm_90, }), }; - pub const sm_90a = CpuModel{ + pub const sm_90a: CpuModel = .{ .name = "sm_90a", .llvm_name = "sm_90a", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/powerpc.zig b/lib/std/Target/powerpc.zig index 2be1fca0bb..644702f57a 100644 --- a/lib/std/Target/powerpc.zig +++ b/lib/std/Target/powerpc.zig @@ -623,7 +623,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const @"440" = CpuModel{ + pub const @"440": CpuModel = .{ .name = "440", .llvm_name = "440", .features = featureSet(&[_]Feature{ @@ -633,7 +633,7 @@ pub const cpu = struct { .msync, }), }; - pub const @"450" = CpuModel{ + pub const @"450": CpuModel = .{ .name = "450", .llvm_name = "450", .features = featureSet(&[_]Feature{ @@ -643,21 +643,21 @@ pub const cpu = struct { .msync, }), }; - pub const @"601" = CpuModel{ + pub const @"601": CpuModel = .{ .name = "601", .llvm_name = "601", .features = featureSet(&[_]Feature{ .fpu, }), }; - pub const @"602" = CpuModel{ + pub const @"602": CpuModel = .{ .name = "602", .llvm_name = "602", .features = featureSet(&[_]Feature{ .fpu, }), }; - pub const @"603" = CpuModel{ + pub const @"603": CpuModel = .{ .name = "603", .llvm_name = "603", .features = featureSet(&[_]Feature{ @@ -665,7 +665,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const @"603e" = CpuModel{ + pub const @"603e": CpuModel = .{ .name = "603e", .llvm_name = "603e", .features = featureSet(&[_]Feature{ @@ -673,7 +673,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const @"603ev" = CpuModel{ + pub const @"603ev": CpuModel = .{ .name = "603ev", .llvm_name = "603ev", .features = featureSet(&[_]Feature{ @@ -681,7 +681,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const @"604" = CpuModel{ + pub const @"604": CpuModel = .{ .name = "604", .llvm_name = "604", .features = featureSet(&[_]Feature{ @@ -689,7 +689,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const @"604e" = CpuModel{ + pub const @"604e": CpuModel = .{ .name = "604e", .llvm_name = "604e", .features = featureSet(&[_]Feature{ @@ -697,7 +697,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const @"620" = CpuModel{ + pub const @"620": CpuModel = .{ .name = "620", .llvm_name = "620", .features = featureSet(&[_]Feature{ @@ -705,7 +705,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const @"7400" = CpuModel{ + pub const @"7400": CpuModel = .{ .name = "7400", .llvm_name = "7400", .features = featureSet(&[_]Feature{ @@ -714,7 +714,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const @"7450" = CpuModel{ + pub const @"7450": CpuModel = .{ .name = "7450", .llvm_name = "7450", .features = featureSet(&[_]Feature{ @@ -723,7 +723,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const @"750" = CpuModel{ + pub const @"750": CpuModel = .{ .name = "750", .llvm_name = "750", .features = featureSet(&[_]Feature{ @@ -731,7 +731,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const @"970" = CpuModel{ + pub const @"970": CpuModel = .{ .name = "970", .llvm_name = "970", .features = featureSet(&[_]Feature{ @@ -744,7 +744,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const a2 = CpuModel{ + pub const a2: CpuModel = .{ .name = "a2", .llvm_name = "a2", .features = featureSet(&[_]Feature{ @@ -769,7 +769,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const e500 = CpuModel{ + pub const e500: CpuModel = .{ .name = "e500", .llvm_name = "e500", .features = featureSet(&[_]Feature{ @@ -778,7 +778,7 @@ pub const cpu = struct { .spe, }), }; - pub const e500mc = CpuModel{ + pub const e500mc: CpuModel = .{ .name = "e500mc", .llvm_name = "e500mc", .features = featureSet(&[_]Feature{ @@ -787,7 +787,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const e5500 = CpuModel{ + pub const e5500: CpuModel = .{ .name = "e5500", .llvm_name = "e5500", .features = featureSet(&[_]Feature{ @@ -798,7 +798,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const future = CpuModel{ + pub const future: CpuModel = .{ .name = "future", .llvm_name = "future", .features = featureSet(&[_]Feature{ @@ -847,7 +847,7 @@ pub const cpu = struct { .two_const_nr, }), }; - pub const g3 = CpuModel{ + pub const g3: CpuModel = .{ .name = "g3", .llvm_name = "g3", .features = featureSet(&[_]Feature{ @@ -855,7 +855,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const g4 = CpuModel{ + pub const g4: CpuModel = .{ .name = "g4", .llvm_name = "g4", .features = featureSet(&[_]Feature{ @@ -864,7 +864,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const @"g4+" = CpuModel{ + pub const @"g4+": CpuModel = .{ .name = "g4+", .llvm_name = "g4+", .features = featureSet(&[_]Feature{ @@ -873,7 +873,7 @@ pub const cpu = struct { .frsqrte, }), }; - pub const g5 = CpuModel{ + pub const g5: CpuModel = .{ .name = "g5", .llvm_name = "g5", .features = featureSet(&[_]Feature{ @@ -886,21 +886,21 @@ pub const cpu = struct { .stfiwx, }), }; - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{ .hard_float, }), }; - pub const ppc = CpuModel{ + pub const ppc: CpuModel = .{ .name = "ppc", .llvm_name = "ppc", .features = featureSet(&[_]Feature{ .hard_float, }), }; - pub const ppc64 = CpuModel{ + pub const ppc64: CpuModel = .{ .name = "ppc64", .llvm_name = "ppc64", .features = featureSet(&[_]Feature{ @@ -913,7 +913,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const ppc64le = CpuModel{ + pub const ppc64le: CpuModel = .{ .name = "ppc64le", .llvm_name = "ppc64le", .features = featureSet(&[_]Feature{ @@ -953,7 +953,7 @@ pub const cpu = struct { .two_const_nr, }), }; - pub const pwr10 = CpuModel{ + pub const pwr10: CpuModel = .{ .name = "pwr10", .llvm_name = "pwr10", .features = featureSet(&[_]Feature{ @@ -1001,7 +1001,7 @@ pub const cpu = struct { .two_const_nr, }), }; - pub const pwr11 = CpuModel{ + pub const pwr11: CpuModel = .{ .name = "pwr11", .llvm_name = "pwr11", .features = featureSet(&[_]Feature{ @@ -1049,7 +1049,7 @@ pub const cpu = struct { .two_const_nr, }), }; - pub const pwr3 = CpuModel{ + pub const pwr3: CpuModel = .{ .name = "pwr3", .llvm_name = "pwr3", .features = featureSet(&[_]Feature{ @@ -1061,7 +1061,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const pwr4 = CpuModel{ + pub const pwr4: CpuModel = .{ .name = "pwr4", .llvm_name = "pwr4", .features = featureSet(&[_]Feature{ @@ -1074,7 +1074,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const pwr5 = CpuModel{ + pub const pwr5: CpuModel = .{ .name = "pwr5", .llvm_name = "pwr5", .features = featureSet(&[_]Feature{ @@ -1089,7 +1089,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const pwr5x = CpuModel{ + pub const pwr5x: CpuModel = .{ .name = "pwr5x", .llvm_name = "pwr5x", .features = featureSet(&[_]Feature{ @@ -1105,7 +1105,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const pwr6 = CpuModel{ + pub const pwr6: CpuModel = .{ .name = "pwr6", .llvm_name = "pwr6", .features = featureSet(&[_]Feature{ @@ -1125,7 +1125,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const pwr6x = CpuModel{ + pub const pwr6x: CpuModel = .{ .name = "pwr6x", .llvm_name = "pwr6x", .features = featureSet(&[_]Feature{ @@ -1145,7 +1145,7 @@ pub const cpu = struct { .stfiwx, }), }; - pub const pwr7 = CpuModel{ + pub const pwr7: CpuModel = .{ .name = "pwr7", .llvm_name = "pwr7", .features = featureSet(&[_]Feature{ @@ -1174,7 +1174,7 @@ pub const cpu = struct { .vsx, }), }; - pub const pwr8 = CpuModel{ + pub const pwr8: CpuModel = .{ .name = "pwr8", .llvm_name = "pwr8", .features = featureSet(&[_]Feature{ @@ -1214,7 +1214,7 @@ pub const cpu = struct { .two_const_nr, }), }; - pub const pwr9 = CpuModel{ + pub const pwr9: CpuModel = .{ .name = "pwr9", .llvm_name = "pwr9", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/riscv.zig b/lib/std/Target/riscv.zig index 6d212dbf12..7a08d3d268 100644 --- a/lib/std/Target/riscv.zig +++ b/lib/std/Target/riscv.zig @@ -1909,7 +1909,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const baseline_rv32 = CpuModel{ + pub const baseline_rv32: CpuModel = .{ .name = "baseline_rv32", .llvm_name = null, .features = featureSet(&[_]Feature{ @@ -1921,7 +1921,7 @@ pub const cpu = struct { .m, }), }; - pub const baseline_rv64 = CpuModel{ + pub const baseline_rv64: CpuModel = .{ .name = "baseline_rv64", .llvm_name = null, .features = featureSet(&[_]Feature{ @@ -1933,12 +1933,12 @@ pub const cpu = struct { .m, }), }; - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), }; - pub const generic_rv32 = CpuModel{ + pub const generic_rv32: CpuModel = .{ .name = "generic_rv32", .llvm_name = "generic-rv32", .features = featureSet(&[_]Feature{ @@ -1946,7 +1946,7 @@ pub const cpu = struct { .i, }), }; - pub const generic_rv64 = CpuModel{ + pub const generic_rv64: CpuModel = .{ .name = "generic_rv64", .llvm_name = "generic-rv64", .features = featureSet(&[_]Feature{ @@ -1954,12 +1954,12 @@ pub const cpu = struct { .i, }), }; - pub const rocket = CpuModel{ + pub const rocket: CpuModel = .{ .name = "rocket", .llvm_name = "rocket", .features = featureSet(&[_]Feature{}), }; - pub const rocket_rv32 = CpuModel{ + pub const rocket_rv32: CpuModel = .{ .name = "rocket_rv32", .llvm_name = "rocket-rv32", .features = featureSet(&[_]Feature{ @@ -1969,7 +1969,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const rocket_rv64 = CpuModel{ + pub const rocket_rv64: CpuModel = .{ .name = "rocket_rv64", .llvm_name = "rocket-rv64", .features = featureSet(&[_]Feature{ @@ -1979,7 +1979,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_7_series = CpuModel{ + pub const sifive_7_series: CpuModel = .{ .name = "sifive_7_series", .llvm_name = "sifive-7-series", .features = featureSet(&[_]Feature{ @@ -1988,7 +1988,7 @@ pub const cpu = struct { .use_postra_scheduler, }), }; - pub const sifive_e20 = CpuModel{ + pub const sifive_e20: CpuModel = .{ .name = "sifive_e20", .llvm_name = "sifive-e20", .features = featureSet(&[_]Feature{ @@ -2000,7 +2000,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_e21 = CpuModel{ + pub const sifive_e21: CpuModel = .{ .name = "sifive_e21", .llvm_name = "sifive-e21", .features = featureSet(&[_]Feature{ @@ -2013,7 +2013,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_e24 = CpuModel{ + pub const sifive_e24: CpuModel = .{ .name = "sifive_e24", .llvm_name = "sifive-e24", .features = featureSet(&[_]Feature{ @@ -2026,7 +2026,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_e31 = CpuModel{ + pub const sifive_e31: CpuModel = .{ .name = "sifive_e31", .llvm_name = "sifive-e31", .features = featureSet(&[_]Feature{ @@ -2039,7 +2039,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_e34 = CpuModel{ + pub const sifive_e34: CpuModel = .{ .name = "sifive_e34", .llvm_name = "sifive-e34", .features = featureSet(&[_]Feature{ @@ -2052,7 +2052,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_e76 = CpuModel{ + pub const sifive_e76: CpuModel = .{ .name = "sifive_e76", .llvm_name = "sifive-e76", .features = featureSet(&[_]Feature{ @@ -2068,7 +2068,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_p450 = CpuModel{ + pub const sifive_p450: CpuModel = .{ .name = "sifive_p450", .llvm_name = "sifive-p450", .features = featureSet(&[_]Feature{ @@ -2104,7 +2104,7 @@ pub const cpu = struct { .zihpm, }), }; - pub const sifive_p670 = CpuModel{ + pub const sifive_p670: CpuModel = .{ .name = "sifive_p670", .llvm_name = "sifive-p670", .features = featureSet(&[_]Feature{ @@ -2146,7 +2146,7 @@ pub const cpu = struct { .zvksg, }), }; - pub const sifive_s21 = CpuModel{ + pub const sifive_s21: CpuModel = .{ .name = "sifive_s21", .llvm_name = "sifive-s21", .features = featureSet(&[_]Feature{ @@ -2159,7 +2159,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_s51 = CpuModel{ + pub const sifive_s51: CpuModel = .{ .name = "sifive_s51", .llvm_name = "sifive-s51", .features = featureSet(&[_]Feature{ @@ -2172,7 +2172,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_s54 = CpuModel{ + pub const sifive_s54: CpuModel = .{ .name = "sifive_s54", .llvm_name = "sifive-s54", .features = featureSet(&[_]Feature{ @@ -2185,7 +2185,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_s76 = CpuModel{ + pub const sifive_s76: CpuModel = .{ .name = "sifive_s76", .llvm_name = "sifive-s76", .features = featureSet(&[_]Feature{ @@ -2202,7 +2202,7 @@ pub const cpu = struct { .zihintpause, }), }; - pub const sifive_u54 = CpuModel{ + pub const sifive_u54: CpuModel = .{ .name = "sifive_u54", .llvm_name = "sifive-u54", .features = featureSet(&[_]Feature{ @@ -2215,7 +2215,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_u74 = CpuModel{ + pub const sifive_u74: CpuModel = .{ .name = "sifive_u74", .llvm_name = "sifive-u74", .features = featureSet(&[_]Feature{ @@ -2231,7 +2231,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const sifive_x280 = CpuModel{ + pub const sifive_x280: CpuModel = .{ .name = "sifive_x280", .llvm_name = "sifive-x280", .features = featureSet(&[_]Feature{ @@ -2254,7 +2254,7 @@ pub const cpu = struct { .zvl512b, }), }; - pub const spacemit_x60 = CpuModel{ + pub const spacemit_x60: CpuModel = .{ .name = "spacemit_x60", .llvm_name = "spacemit-x60", .features = featureSet(&[_]Feature{ @@ -2302,7 +2302,7 @@ pub const cpu = struct { .zvl256b, }), }; - pub const syntacore_scr1_base = CpuModel{ + pub const syntacore_scr1_base: CpuModel = .{ .name = "syntacore_scr1_base", .llvm_name = "syntacore-scr1-base", .features = featureSet(&[_]Feature{ @@ -2314,7 +2314,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const syntacore_scr1_max = CpuModel{ + pub const syntacore_scr1_max: CpuModel = .{ .name = "syntacore_scr1_max", .llvm_name = "syntacore-scr1-max", .features = featureSet(&[_]Feature{ @@ -2327,7 +2327,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const syntacore_scr3_rv32 = CpuModel{ + pub const syntacore_scr3_rv32: CpuModel = .{ .name = "syntacore_scr3_rv32", .llvm_name = "syntacore-scr3-rv32", .features = featureSet(&[_]Feature{ @@ -2341,7 +2341,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const syntacore_scr3_rv64 = CpuModel{ + pub const syntacore_scr3_rv64: CpuModel = .{ .name = "syntacore_scr3_rv64", .llvm_name = "syntacore-scr3-rv64", .features = featureSet(&[_]Feature{ @@ -2356,7 +2356,7 @@ pub const cpu = struct { .zifencei, }), }; - pub const veyron_v1 = CpuModel{ + pub const veyron_v1: CpuModel = .{ .name = "veyron_v1", .llvm_name = "veyron-v1", .features = featureSet(&[_]Feature{ @@ -2387,7 +2387,7 @@ pub const cpu = struct { .zihpm, }), }; - pub const xiangshan_nanhu = CpuModel{ + pub const xiangshan_nanhu: CpuModel = .{ .name = "xiangshan_nanhu", .llvm_name = "xiangshan-nanhu", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/s390x.zig b/lib/std/Target/s390x.zig index 0693b98a79..a11bbf1161 100644 --- a/lib/std/Target/s390x.zig +++ b/lib/std/Target/s390x.zig @@ -289,7 +289,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const arch10 = CpuModel{ + pub const arch10: CpuModel = .{ .name = "arch10", .llvm_name = "arch10", .features = featureSet(&[_]Feature{ @@ -312,7 +312,7 @@ pub const cpu = struct { .transactional_execution, }), }; - pub const arch11 = CpuModel{ + pub const arch11: CpuModel = .{ .name = "arch11", .llvm_name = "arch11", .features = featureSet(&[_]Feature{ @@ -340,7 +340,7 @@ pub const cpu = struct { .vector, }), }; - pub const arch12 = CpuModel{ + pub const arch12: CpuModel = .{ .name = "arch12", .llvm_name = "arch12", .features = featureSet(&[_]Feature{ @@ -376,7 +376,7 @@ pub const cpu = struct { .vector_packed_decimal, }), }; - pub const arch13 = CpuModel{ + pub const arch13: CpuModel = .{ .name = "arch13", .llvm_name = "arch13", .features = featureSet(&[_]Feature{ @@ -418,7 +418,7 @@ pub const cpu = struct { .vector_packed_decimal_enhancement, }), }; - pub const arch14 = CpuModel{ + pub const arch14: CpuModel = .{ .name = "arch14", .llvm_name = "arch14", .features = featureSet(&[_]Feature{ @@ -465,12 +465,12 @@ pub const cpu = struct { .vector_packed_decimal_enhancement_2, }), }; - pub const arch8 = CpuModel{ + pub const arch8: CpuModel = .{ .name = "arch8", .llvm_name = "arch8", .features = featureSet(&[_]Feature{}), }; - pub const arch9 = CpuModel{ + pub const arch9: CpuModel = .{ .name = "arch9", .llvm_name = "arch9", .features = featureSet(&[_]Feature{ @@ -486,17 +486,17 @@ pub const cpu = struct { .reset_reference_bits_multiple, }), }; - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), }; - pub const z10 = CpuModel{ + pub const z10: CpuModel = .{ .name = "z10", .llvm_name = "z10", .features = featureSet(&[_]Feature{}), }; - pub const z13 = CpuModel{ + pub const z13: CpuModel = .{ .name = "z13", .llvm_name = "z13", .features = featureSet(&[_]Feature{ @@ -524,7 +524,7 @@ pub const cpu = struct { .vector, }), }; - pub const z14 = CpuModel{ + pub const z14: CpuModel = .{ .name = "z14", .llvm_name = "z14", .features = featureSet(&[_]Feature{ @@ -560,7 +560,7 @@ pub const cpu = struct { .vector_packed_decimal, }), }; - pub const z15 = CpuModel{ + pub const z15: CpuModel = .{ .name = "z15", .llvm_name = "z15", .features = featureSet(&[_]Feature{ @@ -602,7 +602,7 @@ pub const cpu = struct { .vector_packed_decimal_enhancement, }), }; - pub const z16 = CpuModel{ + pub const z16: CpuModel = .{ .name = "z16", .llvm_name = "z16", .features = featureSet(&[_]Feature{ @@ -649,7 +649,7 @@ pub const cpu = struct { .vector_packed_decimal_enhancement_2, }), }; - pub const z196 = CpuModel{ + pub const z196: CpuModel = .{ .name = "z196", .llvm_name = "z196", .features = featureSet(&[_]Feature{ @@ -665,7 +665,7 @@ pub const cpu = struct { .reset_reference_bits_multiple, }), }; - pub const zEC12 = CpuModel{ + pub const zEC12: CpuModel = .{ .name = "zEC12", .llvm_name = "zEC12", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/sparc.zig b/lib/std/Target/sparc.zig index b08d5420b9..709e4a097d 100644 --- a/lib/std/Target/sparc.zig +++ b/lib/std/Target/sparc.zig @@ -309,7 +309,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const at697e = CpuModel{ + pub const at697e: CpuModel = .{ .name = "at697e", .llvm_name = "at697e", .features = featureSet(&[_]Feature{ @@ -317,7 +317,7 @@ pub const cpu = struct { .leon, }), }; - pub const at697f = CpuModel{ + pub const at697f: CpuModel = .{ .name = "at697f", .llvm_name = "at697f", .features = featureSet(&[_]Feature{ @@ -325,17 +325,17 @@ pub const cpu = struct { .leon, }), }; - pub const f934 = CpuModel{ + pub const f934: CpuModel = .{ .name = "f934", .llvm_name = "f934", .features = featureSet(&[_]Feature{}), }; - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), }; - pub const gr712rc = CpuModel{ + pub const gr712rc: CpuModel = .{ .name = "gr712rc", .llvm_name = "gr712rc", .features = featureSet(&[_]Feature{ @@ -343,7 +343,7 @@ pub const cpu = struct { .leon, }), }; - pub const gr740 = CpuModel{ + pub const gr740: CpuModel = .{ .name = "gr740", .llvm_name = "gr740", .features = featureSet(&[_]Feature{ @@ -354,19 +354,19 @@ pub const cpu = struct { .leonpwrpsr, }), }; - pub const hypersparc = CpuModel{ + pub const hypersparc: CpuModel = .{ .name = "hypersparc", .llvm_name = "hypersparc", .features = featureSet(&[_]Feature{}), }; - pub const leon2 = CpuModel{ + pub const leon2: CpuModel = .{ .name = "leon2", .llvm_name = "leon2", .features = featureSet(&[_]Feature{ .leon, }), }; - pub const leon3 = CpuModel{ + pub const leon3: CpuModel = .{ .name = "leon3", .llvm_name = "leon3", .features = featureSet(&[_]Feature{ @@ -374,7 +374,7 @@ pub const cpu = struct { .leon, }), }; - pub const leon4 = CpuModel{ + pub const leon4: CpuModel = .{ .name = "leon4", .llvm_name = "leon4", .features = featureSet(&[_]Feature{ @@ -383,7 +383,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2080 = CpuModel{ + pub const ma2080: CpuModel = .{ .name = "ma2080", .llvm_name = "ma2080", .features = featureSet(&[_]Feature{ @@ -391,7 +391,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2085 = CpuModel{ + pub const ma2085: CpuModel = .{ .name = "ma2085", .llvm_name = "ma2085", .features = featureSet(&[_]Feature{ @@ -399,7 +399,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2100 = CpuModel{ + pub const ma2100: CpuModel = .{ .name = "ma2100", .llvm_name = "ma2100", .features = featureSet(&[_]Feature{ @@ -407,7 +407,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2150 = CpuModel{ + pub const ma2150: CpuModel = .{ .name = "ma2150", .llvm_name = "ma2150", .features = featureSet(&[_]Feature{ @@ -415,7 +415,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2155 = CpuModel{ + pub const ma2155: CpuModel = .{ .name = "ma2155", .llvm_name = "ma2155", .features = featureSet(&[_]Feature{ @@ -423,7 +423,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2450 = CpuModel{ + pub const ma2450: CpuModel = .{ .name = "ma2450", .llvm_name = "ma2450", .features = featureSet(&[_]Feature{ @@ -431,7 +431,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2455 = CpuModel{ + pub const ma2455: CpuModel = .{ .name = "ma2455", .llvm_name = "ma2455", .features = featureSet(&[_]Feature{ @@ -439,7 +439,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2480 = CpuModel{ + pub const ma2480: CpuModel = .{ .name = "ma2480", .llvm_name = "ma2480", .features = featureSet(&[_]Feature{ @@ -447,7 +447,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2485 = CpuModel{ + pub const ma2485: CpuModel = .{ .name = "ma2485", .llvm_name = "ma2485", .features = featureSet(&[_]Feature{ @@ -455,7 +455,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2x5x = CpuModel{ + pub const ma2x5x: CpuModel = .{ .name = "ma2x5x", .llvm_name = "ma2x5x", .features = featureSet(&[_]Feature{ @@ -463,7 +463,7 @@ pub const cpu = struct { .leon, }), }; - pub const ma2x8x = CpuModel{ + pub const ma2x8x: CpuModel = .{ .name = "ma2x8x", .llvm_name = "ma2x8x", .features = featureSet(&[_]Feature{ @@ -471,7 +471,7 @@ pub const cpu = struct { .leon, }), }; - pub const myriad2 = CpuModel{ + pub const myriad2: CpuModel = .{ .name = "myriad2", .llvm_name = "myriad2", .features = featureSet(&[_]Feature{ @@ -479,7 +479,7 @@ pub const cpu = struct { .leon, }), }; - pub const myriad2_1 = CpuModel{ + pub const myriad2_1: CpuModel = .{ .name = "myriad2_1", .llvm_name = "myriad2.1", .features = featureSet(&[_]Feature{ @@ -487,7 +487,7 @@ pub const cpu = struct { .leon, }), }; - pub const myriad2_2 = CpuModel{ + pub const myriad2_2: CpuModel = .{ .name = "myriad2_2", .llvm_name = "myriad2.2", .features = featureSet(&[_]Feature{ @@ -495,7 +495,7 @@ pub const cpu = struct { .leon, }), }; - pub const myriad2_3 = CpuModel{ + pub const myriad2_3: CpuModel = .{ .name = "myriad2_3", .llvm_name = "myriad2.3", .features = featureSet(&[_]Feature{ @@ -503,7 +503,7 @@ pub const cpu = struct { .leon, }), }; - pub const niagara = CpuModel{ + pub const niagara: CpuModel = .{ .name = "niagara", .llvm_name = "niagara", .features = featureSet(&[_]Feature{ @@ -513,7 +513,7 @@ pub const cpu = struct { .vis2, }), }; - pub const niagara2 = CpuModel{ + pub const niagara2: CpuModel = .{ .name = "niagara2", .llvm_name = "niagara2", .features = featureSet(&[_]Feature{ @@ -524,7 +524,7 @@ pub const cpu = struct { .vis2, }), }; - pub const niagara3 = CpuModel{ + pub const niagara3: CpuModel = .{ .name = "niagara3", .llvm_name = "niagara3", .features = featureSet(&[_]Feature{ @@ -535,7 +535,7 @@ pub const cpu = struct { .vis2, }), }; - pub const niagara4 = CpuModel{ + pub const niagara4: CpuModel = .{ .name = "niagara4", .llvm_name = "niagara4", .features = featureSet(&[_]Feature{ @@ -547,32 +547,32 @@ pub const cpu = struct { .vis3, }), }; - pub const sparclet = CpuModel{ + pub const sparclet: CpuModel = .{ .name = "sparclet", .llvm_name = "sparclet", .features = featureSet(&[_]Feature{}), }; - pub const sparclite = CpuModel{ + pub const sparclite: CpuModel = .{ .name = "sparclite", .llvm_name = "sparclite", .features = featureSet(&[_]Feature{}), }; - pub const sparclite86x = CpuModel{ + pub const sparclite86x: CpuModel = .{ .name = "sparclite86x", .llvm_name = "sparclite86x", .features = featureSet(&[_]Feature{}), }; - pub const supersparc = CpuModel{ + pub const supersparc: CpuModel = .{ .name = "supersparc", .llvm_name = "supersparc", .features = featureSet(&[_]Feature{}), }; - pub const tsc701 = CpuModel{ + pub const tsc701: CpuModel = .{ .name = "tsc701", .llvm_name = "tsc701", .features = featureSet(&[_]Feature{}), }; - pub const ultrasparc = CpuModel{ + pub const ultrasparc: CpuModel = .{ .name = "ultrasparc", .llvm_name = "ultrasparc", .features = featureSet(&[_]Feature{ @@ -581,7 +581,7 @@ pub const cpu = struct { .vis, }), }; - pub const ultrasparc3 = CpuModel{ + pub const ultrasparc3: CpuModel = .{ .name = "ultrasparc3", .llvm_name = "ultrasparc3", .features = featureSet(&[_]Feature{ @@ -591,7 +591,7 @@ pub const cpu = struct { .vis2, }), }; - pub const ut699 = CpuModel{ + pub const ut699: CpuModel = .{ .name = "ut699", .llvm_name = "ut699", .features = featureSet(&[_]Feature{ @@ -602,7 +602,7 @@ pub const cpu = struct { .no_fsmuld, }), }; - pub const v7 = CpuModel{ + pub const v7: CpuModel = .{ .name = "v7", .llvm_name = "v7", .features = featureSet(&[_]Feature{ @@ -610,12 +610,12 @@ pub const cpu = struct { .soft_mul_div, }), }; - pub const v8 = CpuModel{ + pub const v8: CpuModel = .{ .name = "v8", .llvm_name = "v8", .features = featureSet(&[_]Feature{}), }; - pub const v9 = CpuModel{ + pub const v9: CpuModel = .{ .name = "v9", .llvm_name = "v9", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/ve.zig b/lib/std/Target/ve.zig index 6c0d93d1cb..454a02a0d7 100644 --- a/lib/std/Target/ve.zig +++ b/lib/std/Target/ve.zig @@ -31,7 +31,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/wasm.zig b/lib/std/Target/wasm.zig index 40725f949a..0507333d96 100644 --- a/lib/std/Target/wasm.zig +++ b/lib/std/Target/wasm.zig @@ -109,7 +109,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const bleeding_edge = CpuModel{ + pub const bleeding_edge: CpuModel = .{ .name = "bleeding_edge", .llvm_name = "bleeding-edge", .features = featureSet(&[_]Feature{ @@ -129,7 +129,7 @@ pub const cpu = struct { .tail_call, }), }; - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{ @@ -139,7 +139,7 @@ pub const cpu = struct { .sign_ext, }), }; - pub const mvp = CpuModel{ + pub const mvp: CpuModel = .{ .name = "mvp", .llvm_name = "mvp", .features = featureSet(&[_]Feature{}), diff --git a/lib/std/Target/x86.zig b/lib/std/Target/x86.zig index be092202b2..86c334afda 100644 --- a/lib/std/Target/x86.zig +++ b/lib/std/Target/x86.zig @@ -1315,7 +1315,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const alderlake = CpuModel{ + pub const alderlake: CpuModel = .{ .name = "alderlake", .llvm_name = "alderlake", .features = featureSet(&[_]Feature{ @@ -1383,7 +1383,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const amdfam10 = CpuModel{ + pub const amdfam10: CpuModel = .{ .name = "amdfam10", .llvm_name = "amdfam10", .features = featureSet(&[_]Feature{ @@ -1406,7 +1406,7 @@ pub const cpu = struct { .x87, }), }; - pub const arrowlake = CpuModel{ + pub const arrowlake: CpuModel = .{ .name = "arrowlake", .llvm_name = "arrowlake", .features = featureSet(&[_]Feature{ @@ -1480,7 +1480,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const arrowlake_s = CpuModel{ + pub const arrowlake_s: CpuModel = .{ .name = "arrowlake_s", .llvm_name = "arrowlake-s", .features = featureSet(&[_]Feature{ @@ -1558,7 +1558,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const athlon = CpuModel{ + pub const athlon: CpuModel = .{ .name = "athlon", .llvm_name = "athlon", .features = featureSet(&[_]Feature{ @@ -1573,7 +1573,7 @@ pub const cpu = struct { .x87, }), }; - pub const athlon64 = CpuModel{ + pub const athlon64: CpuModel = .{ .name = "athlon64", .llvm_name = "athlon64", .features = featureSet(&[_]Feature{ @@ -1593,7 +1593,7 @@ pub const cpu = struct { .x87, }), }; - pub const athlon64_sse3 = CpuModel{ + pub const athlon64_sse3: CpuModel = .{ .name = "athlon64_sse3", .llvm_name = "athlon64-sse3", .features = featureSet(&[_]Feature{ @@ -1613,7 +1613,7 @@ pub const cpu = struct { .x87, }), }; - pub const athlon_4 = CpuModel{ + pub const athlon_4: CpuModel = .{ .name = "athlon_4", .llvm_name = "athlon-4", .features = featureSet(&[_]Feature{ @@ -1630,7 +1630,7 @@ pub const cpu = struct { .x87, }), }; - pub const athlon_fx = CpuModel{ + pub const athlon_fx: CpuModel = .{ .name = "athlon_fx", .llvm_name = "athlon-fx", .features = featureSet(&[_]Feature{ @@ -1650,7 +1650,7 @@ pub const cpu = struct { .x87, }), }; - pub const athlon_mp = CpuModel{ + pub const athlon_mp: CpuModel = .{ .name = "athlon_mp", .llvm_name = "athlon-mp", .features = featureSet(&[_]Feature{ @@ -1667,7 +1667,7 @@ pub const cpu = struct { .x87, }), }; - pub const athlon_tbird = CpuModel{ + pub const athlon_tbird: CpuModel = .{ .name = "athlon_tbird", .llvm_name = "athlon-tbird", .features = featureSet(&[_]Feature{ @@ -1682,7 +1682,7 @@ pub const cpu = struct { .x87, }), }; - pub const athlon_xp = CpuModel{ + pub const athlon_xp: CpuModel = .{ .name = "athlon_xp", .llvm_name = "athlon-xp", .features = featureSet(&[_]Feature{ @@ -1699,7 +1699,7 @@ pub const cpu = struct { .x87, }), }; - pub const atom = CpuModel{ + pub const atom: CpuModel = .{ .name = "atom", .llvm_name = "atom", .features = featureSet(&[_]Feature{ @@ -1725,7 +1725,7 @@ pub const cpu = struct { .x87, }), }; - pub const atom_sse4_2_movbe = CpuModel{ + pub const atom_sse4_2_movbe: CpuModel = .{ .name = "atom_sse4_2_movbe", .llvm_name = "atom_sse4_2_movbe", .features = featureSet(&[_]Feature{ @@ -1765,7 +1765,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const barcelona = CpuModel{ + pub const barcelona: CpuModel = .{ .name = "barcelona", .llvm_name = "barcelona", .features = featureSet(&[_]Feature{ @@ -1788,7 +1788,7 @@ pub const cpu = struct { .x87, }), }; - pub const bdver1 = CpuModel{ + pub const bdver1: CpuModel = .{ .name = "bdver1", .llvm_name = "bdver1", .features = featureSet(&[_]Feature{ @@ -1817,7 +1817,7 @@ pub const cpu = struct { .xsave, }), }; - pub const bdver2 = CpuModel{ + pub const bdver2: CpuModel = .{ .name = "bdver2", .llvm_name = "bdver2", .features = featureSet(&[_]Feature{ @@ -1852,7 +1852,7 @@ pub const cpu = struct { .xsave, }), }; - pub const bdver3 = CpuModel{ + pub const bdver3: CpuModel = .{ .name = "bdver3", .llvm_name = "bdver3", .features = featureSet(&[_]Feature{ @@ -1888,7 +1888,7 @@ pub const cpu = struct { .xsaveopt, }), }; - pub const bdver4 = CpuModel{ + pub const bdver4: CpuModel = .{ .name = "bdver4", .llvm_name = "bdver4", .features = featureSet(&[_]Feature{ @@ -1929,7 +1929,7 @@ pub const cpu = struct { .xsaveopt, }), }; - pub const bonnell = CpuModel{ + pub const bonnell: CpuModel = .{ .name = "bonnell", .llvm_name = "bonnell", .features = featureSet(&[_]Feature{ @@ -1955,7 +1955,7 @@ pub const cpu = struct { .x87, }), }; - pub const broadwell = CpuModel{ + pub const broadwell: CpuModel = .{ .name = "broadwell", .llvm_name = "broadwell", .features = featureSet(&[_]Feature{ @@ -2000,7 +2000,7 @@ pub const cpu = struct { .xsaveopt, }), }; - pub const btver1 = CpuModel{ + pub const btver1: CpuModel = .{ .name = "btver1", .llvm_name = "btver1", .features = featureSet(&[_]Feature{ @@ -2027,7 +2027,7 @@ pub const cpu = struct { .x87, }), }; - pub const btver2 = CpuModel{ + pub const btver2: CpuModel = .{ .name = "btver2", .llvm_name = "btver2", .features = featureSet(&[_]Feature{ @@ -2062,7 +2062,7 @@ pub const cpu = struct { .xsaveopt, }), }; - pub const c3 = CpuModel{ + pub const c3: CpuModel = .{ .name = "c3", .llvm_name = "c3", .features = featureSet(&[_]Feature{ @@ -2073,7 +2073,7 @@ pub const cpu = struct { .x87, }), }; - pub const c3_2 = CpuModel{ + pub const c3_2: CpuModel = .{ .name = "c3_2", .llvm_name = "c3-2", .features = featureSet(&[_]Feature{ @@ -2087,7 +2087,7 @@ pub const cpu = struct { .x87, }), }; - pub const cannonlake = CpuModel{ + pub const cannonlake: CpuModel = .{ .name = "cannonlake", .llvm_name = "cannonlake", .features = featureSet(&[_]Feature{ @@ -2144,7 +2144,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const cascadelake = CpuModel{ + pub const cascadelake: CpuModel = .{ .name = "cascadelake", .llvm_name = "cascadelake", .features = featureSet(&[_]Feature{ @@ -2203,7 +2203,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const clearwaterforest = CpuModel{ + pub const clearwaterforest: CpuModel = .{ .name = "clearwaterforest", .llvm_name = "clearwaterforest", .features = featureSet(&[_]Feature{ @@ -2283,7 +2283,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const cooperlake = CpuModel{ + pub const cooperlake: CpuModel = .{ .name = "cooperlake", .llvm_name = "cooperlake", .features = featureSet(&[_]Feature{ @@ -2342,7 +2342,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const core2 = CpuModel{ + pub const core2: CpuModel = .{ .name = "core2", .llvm_name = "core2", .features = featureSet(&[_]Feature{ @@ -2360,7 +2360,7 @@ pub const cpu = struct { .x87, }), }; - pub const corei7 = CpuModel{ + pub const corei7: CpuModel = .{ .name = "corei7", .llvm_name = "corei7", .features = featureSet(&[_]Feature{ @@ -2380,7 +2380,7 @@ pub const cpu = struct { .x87, }), }; - pub const emeraldrapids = CpuModel{ + pub const emeraldrapids: CpuModel = .{ .name = "emeraldrapids", .llvm_name = "emeraldrapids", .features = featureSet(&[_]Feature{ @@ -2464,7 +2464,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{ @@ -2479,7 +2479,7 @@ pub const cpu = struct { .x87, }), }; - pub const geode = CpuModel{ + pub const geode: CpuModel = .{ .name = "geode", .llvm_name = "geode", .features = featureSet(&[_]Feature{ @@ -2491,7 +2491,7 @@ pub const cpu = struct { .x87, }), }; - pub const goldmont = CpuModel{ + pub const goldmont: CpuModel = .{ .name = "goldmont", .llvm_name = "goldmont", .features = featureSet(&[_]Feature{ @@ -2528,7 +2528,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const goldmont_plus = CpuModel{ + pub const goldmont_plus: CpuModel = .{ .name = "goldmont_plus", .llvm_name = "goldmont-plus", .features = featureSet(&[_]Feature{ @@ -2566,7 +2566,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const gracemont = CpuModel{ + pub const gracemont: CpuModel = .{ .name = "gracemont", .llvm_name = "gracemont", .features = featureSet(&[_]Feature{ @@ -2623,7 +2623,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const grandridge = CpuModel{ + pub const grandridge: CpuModel = .{ .name = "grandridge", .llvm_name = "grandridge", .features = featureSet(&[_]Feature{ @@ -2686,7 +2686,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const graniterapids = CpuModel{ + pub const graniterapids: CpuModel = .{ .name = "graniterapids", .llvm_name = "graniterapids", .features = featureSet(&[_]Feature{ @@ -2773,7 +2773,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const graniterapids_d = CpuModel{ + pub const graniterapids_d: CpuModel = .{ .name = "graniterapids_d", .llvm_name = "graniterapids-d", .features = featureSet(&[_]Feature{ @@ -2861,7 +2861,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const haswell = CpuModel{ + pub const haswell: CpuModel = .{ .name = "haswell", .llvm_name = "haswell", .features = featureSet(&[_]Feature{ @@ -2903,7 +2903,7 @@ pub const cpu = struct { .xsaveopt, }), }; - pub const @"i386" = CpuModel{ + pub const @"i386": CpuModel = .{ .name = "i386", .llvm_name = "i386", .features = featureSet(&[_]Feature{ @@ -2912,7 +2912,7 @@ pub const cpu = struct { .x87, }), }; - pub const @"i486" = CpuModel{ + pub const @"i486": CpuModel = .{ .name = "i486", .llvm_name = "i486", .features = featureSet(&[_]Feature{ @@ -2921,7 +2921,7 @@ pub const cpu = struct { .x87, }), }; - pub const @"i586" = CpuModel{ + pub const @"i586": CpuModel = .{ .name = "i586", .llvm_name = "i586", .features = featureSet(&[_]Feature{ @@ -2931,7 +2931,7 @@ pub const cpu = struct { .x87, }), }; - pub const @"i686" = CpuModel{ + pub const @"i686": CpuModel = .{ .name = "i686", .llvm_name = "i686", .features = featureSet(&[_]Feature{ @@ -2942,7 +2942,7 @@ pub const cpu = struct { .x87, }), }; - pub const icelake_client = CpuModel{ + pub const icelake_client: CpuModel = .{ .name = "icelake_client", .llvm_name = "icelake-client", .features = featureSet(&[_]Feature{ @@ -3005,7 +3005,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const icelake_server = CpuModel{ + pub const icelake_server: CpuModel = .{ .name = "icelake_server", .llvm_name = "icelake-server", .features = featureSet(&[_]Feature{ @@ -3071,7 +3071,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const ivybridge = CpuModel{ + pub const ivybridge: CpuModel = .{ .name = "ivybridge", .llvm_name = "ivybridge", .features = featureSet(&[_]Feature{ @@ -3101,7 +3101,7 @@ pub const cpu = struct { .xsaveopt, }), }; - pub const k6 = CpuModel{ + pub const k6: CpuModel = .{ .name = "k6", .llvm_name = "k6", .features = featureSet(&[_]Feature{ @@ -3112,7 +3112,7 @@ pub const cpu = struct { .x87, }), }; - pub const k6_2 = CpuModel{ + pub const k6_2: CpuModel = .{ .name = "k6_2", .llvm_name = "k6-2", .features = featureSet(&[_]Feature{ @@ -3124,7 +3124,7 @@ pub const cpu = struct { .x87, }), }; - pub const k6_3 = CpuModel{ + pub const k6_3: CpuModel = .{ .name = "k6_3", .llvm_name = "k6-3", .features = featureSet(&[_]Feature{ @@ -3136,7 +3136,7 @@ pub const cpu = struct { .x87, }), }; - pub const k8 = CpuModel{ + pub const k8: CpuModel = .{ .name = "k8", .llvm_name = "k8", .features = featureSet(&[_]Feature{ @@ -3156,7 +3156,7 @@ pub const cpu = struct { .x87, }), }; - pub const k8_sse3 = CpuModel{ + pub const k8_sse3: CpuModel = .{ .name = "k8_sse3", .llvm_name = "k8-sse3", .features = featureSet(&[_]Feature{ @@ -3176,7 +3176,7 @@ pub const cpu = struct { .x87, }), }; - pub const knl = CpuModel{ + pub const knl: CpuModel = .{ .name = "knl", .llvm_name = "knl", .features = featureSet(&[_]Feature{ @@ -3217,7 +3217,7 @@ pub const cpu = struct { .xsaveopt, }), }; - pub const knm = CpuModel{ + pub const knm: CpuModel = .{ .name = "knm", .llvm_name = "knm", .features = featureSet(&[_]Feature{ @@ -3259,7 +3259,7 @@ pub const cpu = struct { .xsaveopt, }), }; - pub const lakemont = CpuModel{ + pub const lakemont: CpuModel = .{ .name = "lakemont", .llvm_name = "lakemont", .features = featureSet(&[_]Feature{ @@ -3269,7 +3269,7 @@ pub const cpu = struct { .vzeroupper, }), }; - pub const lunarlake = CpuModel{ + pub const lunarlake: CpuModel = .{ .name = "lunarlake", .llvm_name = "lunarlake", .features = featureSet(&[_]Feature{ @@ -3347,7 +3347,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const meteorlake = CpuModel{ + pub const meteorlake: CpuModel = .{ .name = "meteorlake", .llvm_name = "meteorlake", .features = featureSet(&[_]Feature{ @@ -3415,7 +3415,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const nehalem = CpuModel{ + pub const nehalem: CpuModel = .{ .name = "nehalem", .llvm_name = "nehalem", .features = featureSet(&[_]Feature{ @@ -3435,7 +3435,7 @@ pub const cpu = struct { .x87, }), }; - pub const nocona = CpuModel{ + pub const nocona: CpuModel = .{ .name = "nocona", .llvm_name = "nocona", .features = featureSet(&[_]Feature{ @@ -3451,7 +3451,7 @@ pub const cpu = struct { .x87, }), }; - pub const opteron = CpuModel{ + pub const opteron: CpuModel = .{ .name = "opteron", .llvm_name = "opteron", .features = featureSet(&[_]Feature{ @@ -3471,7 +3471,7 @@ pub const cpu = struct { .x87, }), }; - pub const opteron_sse3 = CpuModel{ + pub const opteron_sse3: CpuModel = .{ .name = "opteron_sse3", .llvm_name = "opteron-sse3", .features = featureSet(&[_]Feature{ @@ -3491,7 +3491,7 @@ pub const cpu = struct { .x87, }), }; - pub const pantherlake = CpuModel{ + pub const pantherlake: CpuModel = .{ .name = "pantherlake", .llvm_name = "pantherlake", .features = featureSet(&[_]Feature{ @@ -3570,7 +3570,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const penryn = CpuModel{ + pub const penryn: CpuModel = .{ .name = "penryn", .llvm_name = "penryn", .features = featureSet(&[_]Feature{ @@ -3588,7 +3588,7 @@ pub const cpu = struct { .x87, }), }; - pub const pentium = CpuModel{ + pub const pentium: CpuModel = .{ .name = "pentium", .llvm_name = "pentium", .features = featureSet(&[_]Feature{ @@ -3598,7 +3598,7 @@ pub const cpu = struct { .x87, }), }; - pub const pentium2 = CpuModel{ + pub const pentium2: CpuModel = .{ .name = "pentium2", .llvm_name = "pentium2", .features = featureSet(&[_]Feature{ @@ -3612,7 +3612,7 @@ pub const cpu = struct { .x87, }), }; - pub const pentium3 = CpuModel{ + pub const pentium3: CpuModel = .{ .name = "pentium3", .llvm_name = "pentium3", .features = featureSet(&[_]Feature{ @@ -3627,7 +3627,7 @@ pub const cpu = struct { .x87, }), }; - pub const pentium3m = CpuModel{ + pub const pentium3m: CpuModel = .{ .name = "pentium3m", .llvm_name = "pentium3m", .features = featureSet(&[_]Feature{ @@ -3642,7 +3642,7 @@ pub const cpu = struct { .x87, }), }; - pub const pentium4 = CpuModel{ + pub const pentium4: CpuModel = .{ .name = "pentium4", .llvm_name = "pentium4", .features = featureSet(&[_]Feature{ @@ -3657,7 +3657,7 @@ pub const cpu = struct { .x87, }), }; - pub const pentium_m = CpuModel{ + pub const pentium_m: CpuModel = .{ .name = "pentium_m", .llvm_name = "pentium-m", .features = featureSet(&[_]Feature{ @@ -3672,7 +3672,7 @@ pub const cpu = struct { .x87, }), }; - pub const pentium_mmx = CpuModel{ + pub const pentium_mmx: CpuModel = .{ .name = "pentium_mmx", .llvm_name = "pentium-mmx", .features = featureSet(&[_]Feature{ @@ -3683,7 +3683,7 @@ pub const cpu = struct { .x87, }), }; - pub const pentiumpro = CpuModel{ + pub const pentiumpro: CpuModel = .{ .name = "pentiumpro", .llvm_name = "pentiumpro", .features = featureSet(&[_]Feature{ @@ -3695,7 +3695,7 @@ pub const cpu = struct { .x87, }), }; - pub const prescott = CpuModel{ + pub const prescott: CpuModel = .{ .name = "prescott", .llvm_name = "prescott", .features = featureSet(&[_]Feature{ @@ -3710,7 +3710,7 @@ pub const cpu = struct { .x87, }), }; - pub const raptorlake = CpuModel{ + pub const raptorlake: CpuModel = .{ .name = "raptorlake", .llvm_name = "raptorlake", .features = featureSet(&[_]Feature{ @@ -3778,7 +3778,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const rocketlake = CpuModel{ + pub const rocketlake: CpuModel = .{ .name = "rocketlake", .llvm_name = "rocketlake", .features = featureSet(&[_]Feature{ @@ -3841,7 +3841,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const sandybridge = CpuModel{ + pub const sandybridge: CpuModel = .{ .name = "sandybridge", .llvm_name = "sandybridge", .features = featureSet(&[_]Feature{ @@ -3869,7 +3869,7 @@ pub const cpu = struct { .xsaveopt, }), }; - pub const sapphirerapids = CpuModel{ + pub const sapphirerapids: CpuModel = .{ .name = "sapphirerapids", .llvm_name = "sapphirerapids", .features = featureSet(&[_]Feature{ @@ -3953,7 +3953,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const sierraforest = CpuModel{ + pub const sierraforest: CpuModel = .{ .name = "sierraforest", .llvm_name = "sierraforest", .features = featureSet(&[_]Feature{ @@ -4016,7 +4016,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const silvermont = CpuModel{ + pub const silvermont: CpuModel = .{ .name = "silvermont", .llvm_name = "silvermont", .features = featureSet(&[_]Feature{ @@ -4048,7 +4048,7 @@ pub const cpu = struct { .x87, }), }; - pub const skx = CpuModel{ + pub const skx: CpuModel = .{ .name = "skx", .llvm_name = "skx", .features = featureSet(&[_]Feature{ @@ -4106,7 +4106,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const skylake = CpuModel{ + pub const skylake: CpuModel = .{ .name = "skylake", .llvm_name = "skylake", .features = featureSet(&[_]Feature{ @@ -4157,7 +4157,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const skylake_avx512 = CpuModel{ + pub const skylake_avx512: CpuModel = .{ .name = "skylake_avx512", .llvm_name = "skylake-avx512", .features = featureSet(&[_]Feature{ @@ -4215,7 +4215,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const slm = CpuModel{ + pub const slm: CpuModel = .{ .name = "slm", .llvm_name = "slm", .features = featureSet(&[_]Feature{ @@ -4247,7 +4247,7 @@ pub const cpu = struct { .x87, }), }; - pub const tigerlake = CpuModel{ + pub const tigerlake: CpuModel = .{ .name = "tigerlake", .llvm_name = "tigerlake", .features = featureSet(&[_]Feature{ @@ -4315,7 +4315,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const tremont = CpuModel{ + pub const tremont: CpuModel = .{ .name = "tremont", .llvm_name = "tremont", .features = featureSet(&[_]Feature{ @@ -4355,7 +4355,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const westmere = CpuModel{ + pub const westmere: CpuModel = .{ .name = "westmere", .llvm_name = "westmere", .features = featureSet(&[_]Feature{ @@ -4376,7 +4376,7 @@ pub const cpu = struct { .x87, }), }; - pub const winchip2 = CpuModel{ + pub const winchip2: CpuModel = .{ .name = "winchip2", .llvm_name = "winchip2", .features = featureSet(&[_]Feature{ @@ -4387,7 +4387,7 @@ pub const cpu = struct { .x87, }), }; - pub const winchip_c6 = CpuModel{ + pub const winchip_c6: CpuModel = .{ .name = "winchip_c6", .llvm_name = "winchip-c6", .features = featureSet(&[_]Feature{ @@ -4397,7 +4397,7 @@ pub const cpu = struct { .x87, }), }; - pub const x86_64 = CpuModel{ + pub const x86_64: CpuModel = .{ .name = "x86_64", .llvm_name = "x86-64", .features = featureSet(&[_]Feature{ @@ -4416,7 +4416,7 @@ pub const cpu = struct { .x87, }), }; - pub const x86_64_v2 = CpuModel{ + pub const x86_64_v2: CpuModel = .{ .name = "x86_64_v2", .llvm_name = "x86-64-v2", .features = featureSet(&[_]Feature{ @@ -4441,7 +4441,7 @@ pub const cpu = struct { .x87, }), }; - pub const x86_64_v3 = CpuModel{ + pub const x86_64_v3: CpuModel = .{ .name = "x86_64_v3", .llvm_name = "x86-64-v3", .features = featureSet(&[_]Feature{ @@ -4476,7 +4476,7 @@ pub const cpu = struct { .xsave, }), }; - pub const x86_64_v4 = CpuModel{ + pub const x86_64_v4: CpuModel = .{ .name = "x86_64_v4", .llvm_name = "x86-64-v4", .features = featureSet(&[_]Feature{ @@ -4515,7 +4515,7 @@ pub const cpu = struct { .xsave, }), }; - pub const yonah = CpuModel{ + pub const yonah: CpuModel = .{ .name = "yonah", .llvm_name = "yonah", .features = featureSet(&[_]Feature{ @@ -4530,7 +4530,7 @@ pub const cpu = struct { .x87, }), }; - pub const znver1 = CpuModel{ + pub const znver1: CpuModel = .{ .name = "znver1", .llvm_name = "znver1", .features = featureSet(&[_]Feature{ @@ -4582,7 +4582,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const znver2 = CpuModel{ + pub const znver2: CpuModel = .{ .name = "znver2", .llvm_name = "znver2", .features = featureSet(&[_]Feature{ @@ -4638,7 +4638,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const znver3 = CpuModel{ + pub const znver3: CpuModel = .{ .name = "znver3", .llvm_name = "znver3", .features = featureSet(&[_]Feature{ @@ -4697,7 +4697,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const znver4 = CpuModel{ + pub const znver4: CpuModel = .{ .name = "znver4", .llvm_name = "znver4", .features = featureSet(&[_]Feature{ @@ -4768,7 +4768,7 @@ pub const cpu = struct { .xsaves, }), }; - pub const znver5 = CpuModel{ + pub const znver5: CpuModel = .{ .name = "znver5", .llvm_name = "znver5", .features = featureSet(&[_]Feature{ diff --git a/lib/std/Target/xcore.zig b/lib/std/Target/xcore.zig index 4069620849..7064aef4fd 100644 --- a/lib/std/Target/xcore.zig +++ b/lib/std/Target/xcore.zig @@ -24,12 +24,12 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), }; - pub const xs1b_generic = CpuModel{ + pub const xs1b_generic: CpuModel = .{ .name = "xs1b_generic", .llvm_name = "xs1b-generic", .features = featureSet(&[_]Feature{}), diff --git a/lib/std/Target/xtensa.zig b/lib/std/Target/xtensa.zig index 4b27e8e12f..3948f57626 100644 --- a/lib/std/Target/xtensa.zig +++ b/lib/std/Target/xtensa.zig @@ -31,7 +31,7 @@ pub const all_features = blk: { }; pub const cpu = struct { - pub const generic = CpuModel{ + pub const generic: CpuModel = .{ .name = "generic", .llvm_name = "generic", .features = featureSet(&[_]Feature{}), diff --git a/tools/update_cpu_features.zig b/tools/update_cpu_features.zig index f0410a8b4d..da0aa3f565 100644 --- a/tools/update_cpu_features.zig +++ b/tools/update_cpu_features.zig @@ -426,23 +426,6 @@ const llvm_targets = [_]LlvmTarget{ .llvm_name = "ARM", .td_name = "ARM.td", .branch_quota = 10000, - .extra_cpus = &.{ - .{ - .llvm_name = "generic", - .zig_name = "baseline", - .features = &.{"v7a"}, - }, - .{ - .llvm_name = null, - .zig_name = "exynos_m1", - .features = &.{ "v8a", "exynos" }, - }, - .{ - .llvm_name = null, - .zig_name = "exynos_m2", - .features = &.{ "v8a", "exynos" }, - }, - }, .feature_overrides = &.{ .{ .llvm_name = "exynos", @@ -902,6 +885,23 @@ const llvm_targets = [_]LlvmTarget{ .zig_name = "has_v9_5a", }, }, + .extra_cpus = &.{ + .{ + .llvm_name = "generic", + .zig_name = "baseline", + .features = &.{"v7a"}, + }, + .{ + .llvm_name = null, + .zig_name = "exynos_m1", + .features = &.{ "v8a", "exynos" }, + }, + .{ + .llvm_name = null, + .zig_name = "exynos_m2", + .features = &.{ "v8a", "exynos" }, + }, + }, // LLVM removed support for v2 and v3 but zig wants to support targeting old hardware .extra_features = &.{ .{ @@ -1224,37 +1224,38 @@ pub fn main() anyerror!void { defer arena_state.deinit(); const arena = arena_state.allocator(); - const stderr = std.io.getStdErr(); var args = try std.process.argsWithAllocator(arena); const args0 = args.next().?; const llvm_tblgen_exe = args.next() orelse - usageAndExit(stderr, args0, 1); + usageAndExit(args0, 1); if (std.mem.eql(u8, llvm_tblgen_exe, "--help")) { - usageAndExit(std.io.getStdOut(), args0, 0); + usageAndExit(args0, 0); } if (std.mem.startsWith(u8, llvm_tblgen_exe, "-")) { - usageAndExit(stderr, args0, 1); + usageAndExit(args0, 1); } const llvm_src_root = args.next() orelse - usageAndExit(stderr, args0, 1); + usageAndExit(args0, 1); if (std.mem.startsWith(u8, llvm_src_root, "-")) { - usageAndExit(stderr, args0, 1); + usageAndExit(args0, 1); } const zig_src_root = args.next() orelse - usageAndExit(stderr, args0, 1); + usageAndExit(args0, 1); + if (std.mem.startsWith(u8, zig_src_root, "-")) { - usageAndExit(stderr, args0, 1); + usageAndExit(args0, 1); } var filter: ?[]const u8 = null; if (args.next()) |arg| filter = arg; - if (args.skip()) usageAndExit(stderr, args0, 1); + // there shouldn't be any more argument after the optional filter + if (args.skip()) usageAndExit(args0, 1); var zig_src_dir = try fs.cwd().openDir(zig_src_root, .{}); defer zig_src_dir.close(); @@ -1265,7 +1266,7 @@ pub fn main() anyerror!void { if (builtin.single_threaded) { for (llvm_targets) |llvm_target| { if (filter) |zig_name| if (!std.mem.eql(u8, llvm_target.zig_name, zig_name)) continue; - try processOneTarget(Job{ + try processOneTarget(.{ .llvm_tblgen_exe = llvm_tblgen_exe, .llvm_src_root = llvm_src_root, .zig_src_dir = zig_src_dir, @@ -1311,7 +1312,7 @@ fn processOneTarget(job: Job) void { const progress_node = job.root_progress.start(llvm_target.zig_name, 3); defer progress_node.end(); - const tblgen_progress = progress_node.start("invoke llvm-tblgen", 0); + const tblgen_progress = progress_node.start("running llvm-tblgen", 0); const child_args = [_][]const u8{ job.llvm_tblgen_exe, @@ -1348,16 +1349,16 @@ fn processOneTarget(job: Job) void { }, }; - const json_parse_progress = progress_node.start("parse JSON", 0); + const json_parse_progress = progress_node.start("parsing JSON", 0); const parsed = try json.parseFromSlice(json.Value, arena, json_text, .{}); defer parsed.deinit(); const root_map = &parsed.value.object; json_parse_progress.end(); - const render_progress = progress_node.start("render zig code", 0); + const render_progress = progress_node.start("rendering Zig code", 0); - // So far LLVM has only had a few aliases for the same CPU. + // So far, LLVM only has a few aliases for the same CPU. var cpu_aliases = std.StringHashMap(std.SegmentedList(struct { llvm: []const u8, zig: []const u8, @@ -1431,7 +1432,7 @@ fn processOneTarget(job: Job) void { const implies = kv.value_ptr.object.get("Implies").?.array; for (implies.items) |imply| { const other_key = imply.object.get("def").?.string; - const other_obj = &root_map.getPtr(other_key).?.object; + const other_obj = root_map.get(other_key).?.object; const other_llvm_name = other_obj.get("Name").?.string; const other_zig_name = (try llvmFeatureNameToZigNameOmit( arena, @@ -1448,7 +1449,7 @@ fn processOneTarget(job: Job) void { if (kv.value_ptr.object.get("DefaultExts")) |exts_val| { for (exts_val.array.items) |ext| { const other_key = ext.object.get("def").?.string; - const other_obj = &root_map.getPtr(other_key).?.object; + const other_obj = root_map.get(other_key).?.object; const other_llvm_name = other_obj.get("Name").?.string; const other_zig_name = (try llvmFeatureNameToZigNameOmit( arena, @@ -1505,7 +1506,7 @@ fn processOneTarget(job: Job) void { const features = kv.value_ptr.object.get("Features").?.array; for (features.items) |feature| { const feature_key = feature.object.get("def").?.string; - const feature_obj = &root_map.getPtr(feature_key).?.object; + const feature_obj = root_map.get(feature_key).?.object; const feature_llvm_name = feature_obj.get("Name").?.string; if (feature_llvm_name.len == 0) continue; const feature_zig_name = (try llvmFeatureNameToZigNameOmit( @@ -1525,7 +1526,7 @@ fn processOneTarget(job: Job) void { const tune_features = kv.value_ptr.object.get("TuneFeatures").?.array; for (tune_features.items) |feature| { const feature_key = feature.object.get("def").?.string; - const feature_obj = &root_map.getPtr(feature_key).?.object; + const feature_obj = root_map.get(feature_key).?.object; const feature_llvm_name = feature_obj.get("Name").?.string; if (feature_llvm_name.len == 0) continue; const feature_zig_name = (try llvmFeatureNameToZigNameOmit( @@ -1569,12 +1570,10 @@ fn processOneTarget(job: Job) void { mem.sort(Feature, all_features.items, {}, featureLessThan); mem.sort(Cpu, all_cpus.items, {}, cpuLessThan); - const target_sub_path = try fs.path.join(arena, &.{ "lib", "std", "Target" }); - var target_dir = try job.zig_src_dir.makeOpenPath(target_sub_path, .{}); + var target_dir = try job.zig_src_dir.openDir("lib/std/Target", .{}); defer target_dir.close(); const zig_code_basename = try std.fmt.allocPrint(arena, "{s}.zig", .{llvm_target.zig_name}); - var zig_code_file = try target_dir.createFile(zig_code_basename, .{}); defer zig_code_file.close(); @@ -1705,7 +1704,7 @@ fn processOneTarget(job: Job) void { mem.sort([]const u8, cpu_features.items, {}, asciiLessThan); if (cpu.llvm_name) |llvm_name| { try w.print( - \\ pub const {} = CpuModel{{ + \\ pub const {}: CpuModel = .{{ \\ .name = "{}", \\ .llvm_name = "{}", \\ .features = featureSet(&[_]Feature{{ @@ -1716,7 +1715,7 @@ fn processOneTarget(job: Job) void { }); } else { try w.print( - \\ pub const {} = CpuModel{{ + \\ pub const {}: CpuModel = .{{ \\ .name = "{}", \\ .llvm_name = null, \\ .features = featureSet(&[_]Feature{{ @@ -1753,8 +1752,9 @@ fn processOneTarget(job: Job) void { render_progress.end(); } -fn usageAndExit(file: fs.File, arg0: []const u8, code: u8) noreturn { - file.writer().print( +fn usageAndExit(arg0: []const u8, code: u8) noreturn { + const stderr = std.io.getStdErr(); + stderr.writer().print( \\Usage: {s} /path/to/llvm-tblgen /path/git/llvm-project /path/git/zig [zig_name filter] \\ \\Updates lib/std/target/.zig from llvm/lib/Target//.td . @@ -1765,18 +1765,15 @@ fn usageAndExit(file: fs.File, arg0: []const u8, code: u8) noreturn { std.process.exit(code); } -fn featureLessThan(context: void, a: Feature, b: Feature) bool { - _ = context; +fn featureLessThan(_: void, a: Feature, b: Feature) bool { return std.ascii.lessThanIgnoreCase(a.zig_name, b.zig_name); } -fn cpuLessThan(context: void, a: Cpu, b: Cpu) bool { - _ = context; +fn cpuLessThan(_: void, a: Cpu, b: Cpu) bool { return std.ascii.lessThanIgnoreCase(a.zig_name, b.zig_name); } -fn asciiLessThan(context: void, a: []const u8, b: []const u8) bool { - _ = context; +fn asciiLessThan(_: void, a: []const u8, b: []const u8) bool { return std.ascii.lessThanIgnoreCase(a, b); } @@ -1803,7 +1800,7 @@ fn llvmFeatureNameToZigNameOmit( return try llvmNameToZigName(arena, llvm_name); } -fn hasSuperclass(obj: *json.ObjectMap, class_name: []const u8) bool { +fn hasSuperclass(obj: *const json.ObjectMap, class_name: []const u8) bool { const superclasses_json = obj.get("!superclasses") orelse return false; for (superclasses_json.array.items) |superclass_json| { const superclass = superclass_json.string;