| author | |
| committer | |
| log | 21908e100e42c5630e1e4253167496fb76238670 |
| tree | 3a020f997a601b4ce0f46c8bb1ee9604df3158f0 |
| parent | 8ac138a318d5581fa7fb80cc540d14e0a482f59e |
| signature | Commit is signed but in an unrecognized format. |
34 files changed, 4682 insertions(+), 4674 deletions(-)
lib/std/target/cpu.zig+7-5| ... | @@ -1,7 +1,7 @@ | ... | @@ -1,7 +1,7 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | const feature = @import("feature.zig"); | 3 | const feature = @import("feature.zig"); |
| 4 | const Arch = @import("arch.zig").Arch; | 4 | const Arch = std.Target.Arch; |
| 5 | 5 | ||
| 6 | pub const AArch64Cpu = @import("cpu/AArch64Cpu.zig").AArch64Cpu; | 6 | pub const AArch64Cpu = @import("cpu/AArch64Cpu.zig").AArch64Cpu; |
| 7 | pub const AmdGpuCpu = @import("cpu/AmdGpuCpu.zig").AmdGpuCpu; | 7 | pub const AmdGpuCpu = @import("cpu/AmdGpuCpu.zig").AmdGpuCpu; |
| ... | @@ -19,7 +19,7 @@ pub const SystemZCpu = @import("cpu/SystemZCpu.zig").SystemZCpu; | ... | @@ -19,7 +19,7 @@ pub const SystemZCpu = @import("cpu/SystemZCpu.zig").SystemZCpu; |
| 19 | pub const WebAssemblyCpu = @import("cpu/WebAssemblyCpu.zig").WebAssemblyCpu; | 19 | pub const WebAssemblyCpu = @import("cpu/WebAssemblyCpu.zig").WebAssemblyCpu; |
| 20 | pub const X86Cpu = @import("cpu/X86Cpu.zig").X86Cpu; | 20 | pub const X86Cpu = @import("cpu/X86Cpu.zig").X86Cpu; |
| 21 | 21 | ||
| 22 | const EmptyCpu = @import("feature/empty.zig").EmptyCpu; | 22 | pub const EmptyCpu = @import("cpu/empty.zig").EmptyCpu; |
| 23 | 23 | ||
| 24 | pub fn ArchCpu(comptime arch: @TagType(Arch)) type { | 24 | pub fn ArchCpu(comptime arch: @TagType(Arch)) type { |
| 25 | return switch (arch) { | 25 | return switch (arch) { |
| ... | @@ -44,19 +44,21 @@ pub fn ArchCpu(comptime arch: @TagType(Arch)) type { | ... | @@ -44,19 +44,21 @@ pub fn ArchCpu(comptime arch: @TagType(Arch)) type { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | pub fn ArchCpuInfo(comptime arch: @TagType(Arch)) type { | 46 | pub fn ArchCpuInfo(comptime arch: @TagType(Arch)) type { |
| 47 | return CpuInfo(feature.ArchFeature(arch)); | 47 | return CpuInfo(ArchCpu(arch), feature.ArchFeature(arch)); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | pub fn CpuInfo(comptime FeatureType: type) type { | 50 | pub fn CpuInfo(comptime CpuType: type, comptime FeatureType: type) type { |
| 51 | return struct { | 51 | return struct { |
| 52 | value: CpuType, | ||
| 52 | name: []const u8, | 53 | name: []const u8, |
| 53 | 54 | ||
| 54 | features: []const FeatureType, | 55 | features: []const FeatureType, |
| 55 | 56 | ||
| 56 | const Self = @This(); | 57 | const Self = @This(); |
| 57 | 58 | ||
| 58 | fn create(name: []const u8, features: []const FeatureType) Self { | 59 | pub fn create(value: CpuType, name: []const u8, features: []const FeatureType) Self { |
| 59 | return Self { | 60 | return Self { |
| 61 | .value = value, | ||
| 60 | .name = name, | 62 | .name = name, |
| 61 | .features = features, | 63 | .features = features, |
| 62 | }; | 64 | }; |
lib/std/target/cpu/AArch64Cpu.zig+257-257| ... | @@ -33,298 +33,298 @@ pub const AArch64Cpu = enum { | ... | @@ -33,298 +33,298 @@ pub const AArch64Cpu = enum { |
| 33 | Thunderxt88, | 33 | Thunderxt88, |
| 34 | Tsv110, | 34 | Tsv110, |
| 35 | 35 | ||
| 36 | pub fn getInfo(self: @This()) CpuInfo { | 36 | const FeatureType = feature.AArch64Feature; |
| 37 | |||
| 38 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 37 | return cpu_infos[@enumToInt(self)]; | 39 | return cpu_infos[@enumToInt(self)]; |
| 38 | } | 40 | } |
| 39 | 41 | ||
| 40 | pub const FeatureType = feature.AArch64Feature; | 42 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 41 | 43 | CpuInfo(@This(), FeatureType).create(.AppleLatest, "apple-latest", &[_]FeatureType { | |
| 42 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | 44 | .ArithBccFusion, |
| 43 | CpuInfo(@This()).create(.AppleLatest, "apple-latest", &[_]FeatureType { | ||
| 44 | .ZczFp, | ||
| 45 | .ArithCbzFusion, | 45 | .ArithCbzFusion, |
| 46 | .FuseAes, | 46 | .ZczFp, |
| 47 | .AlternateSextloadCvtF32Pattern, | 47 | .AlternateSextloadCvtF32Pattern, |
| 48 | .ZczFpWorkaround, | ||
| 49 | .FpArmv8, | ||
| 50 | .Perfmon, | ||
| 51 | .DisableLatencySchedHeuristic, | 48 | .DisableLatencySchedHeuristic, |
| 52 | .Zcm, | 49 | .Perfmon, |
| 53 | .ZczGp, | 50 | .ZczGp, |
| 54 | .ArithBccFusion, | 51 | .ZczFpWorkaround, |
| 52 | .Zcm, | ||
| 53 | .FpArmv8, | ||
| 55 | .FuseCryptoEor, | 54 | .FuseCryptoEor, |
| 55 | .FuseAes, | ||
| 56 | .Cyclone, | 56 | .Cyclone, |
| 57 | }, | 57 | }), |
| 58 | CpuInfo(@This()).create(.CortexA35, "cortex-a35", &[_]FeatureType { | 58 | CpuInfo(@This(), FeatureType).create(.CortexA35, "cortex-a35", &[_]FeatureType { |
| 59 | .Perfmon, | 59 | .Perfmon, |
| 60 | .FpArmv8, | 60 | .FpArmv8, |
| 61 | .Crc, | 61 | .Crc, |
| 62 | .A35, | 62 | .A35, |
| 63 | }, | 63 | }), |
| 64 | CpuInfo(@This()).create(.CortexA53, "cortex-a53", &[_]FeatureType { | 64 | CpuInfo(@This(), FeatureType).create(.CortexA53, "cortex-a53", &[_]FeatureType { |
| 65 | .UseAa, | ||
| 66 | .FuseAes, | ||
| 67 | .FpArmv8, | ||
| 68 | .Perfmon, | 65 | .Perfmon, |
| 69 | .Crc, | ||
| 70 | .BalanceFpOps, | ||
| 71 | .UsePostraScheduler, | 66 | .UsePostraScheduler, |
| 67 | .Crc, | ||
| 72 | .CustomCheapAsMove, | 68 | .CustomCheapAsMove, |
| 69 | .BalanceFpOps, | ||
| 70 | .UseAa, | ||
| 71 | .FpArmv8, | ||
| 72 | .FuseAes, | ||
| 73 | .A53, | 73 | .A53, |
| 74 | }, | 74 | }), |
| 75 | CpuInfo(@This()).create(.CortexA55, "cortex-a55", &[_]FeatureType { | 75 | CpuInfo(@This(), FeatureType).create(.CortexA55, "cortex-a55", &[_]FeatureType { |
| 76 | .Rcpc, | 76 | .Lse, |
| 77 | .Ccpp, | 77 | .Vh, |
| 78 | .Pan, | ||
| 79 | .Rdm, | 78 | .Rdm, |
| 80 | .FuseAes, | ||
| 81 | .Perfmon, | 79 | .Perfmon, |
| 82 | .FpArmv8, | 80 | .Pan, |
| 83 | .Lse, | ||
| 84 | .Crc, | ||
| 85 | .Dotprod, | 81 | .Dotprod, |
| 82 | .Crc, | ||
| 86 | .Lor, | 83 | .Lor, |
| 87 | .Uaops, | 84 | .Uaops, |
| 88 | .Vh, | ||
| 89 | .Ras, | 85 | .Ras, |
| 90 | .A55, | 86 | .Rcpc, |
| 91 | }, | 87 | .Ccpp, |
| 92 | CpuInfo(@This()).create(.CortexA57, "cortex-a57", &[_]FeatureType { | ||
| 93 | .FuseLiterals, | ||
| 94 | .FuseAes, | ||
| 95 | .FpArmv8, | 88 | .FpArmv8, |
| 89 | .FuseAes, | ||
| 90 | .A55, | ||
| 91 | }), | ||
| 92 | CpuInfo(@This(), FeatureType).create(.CortexA57, "cortex-a57", &[_]FeatureType { | ||
| 96 | .Perfmon, | 93 | .Perfmon, |
| 97 | .Crc, | ||
| 98 | .BalanceFpOps, | ||
| 99 | .UsePostraScheduler, | 94 | .UsePostraScheduler, |
| 100 | .CustomCheapAsMove, | 95 | .Crc, |
| 101 | .PredictableSelectExpensive, | 96 | .PredictableSelectExpensive, |
| 102 | .A57, | 97 | .CustomCheapAsMove, |
| 103 | }, | 98 | .BalanceFpOps, |
| 104 | CpuInfo(@This()).create(.CortexA65, "cortex-a65", &[_]FeatureType { | 99 | .FuseLiterals, |
| 105 | .Rcpc, | ||
| 106 | .Ccpp, | ||
| 107 | .Pan, | ||
| 108 | .Rdm, | ||
| 109 | .FpArmv8, | 100 | .FpArmv8, |
| 101 | .FuseAes, | ||
| 102 | .A57, | ||
| 103 | }), | ||
| 104 | CpuInfo(@This(), FeatureType).create(.CortexA65, "cortex-a65", &[_]FeatureType { | ||
| 110 | .Lse, | 105 | .Lse, |
| 111 | .Crc, | 106 | .Vh, |
| 107 | .Rdm, | ||
| 108 | .Pan, | ||
| 112 | .Dotprod, | 109 | .Dotprod, |
| 113 | .Lor, | 110 | .Crc, |
| 114 | .Ssbs, | 111 | .Ssbs, |
| 112 | .Lor, | ||
| 115 | .Uaops, | 113 | .Uaops, |
| 116 | .Vh, | ||
| 117 | .Ras, | 114 | .Ras, |
| 118 | .A65, | ||
| 119 | }, | ||
| 120 | CpuInfo(@This()).create(.CortexA65ae, "cortex-a65ae", &[_]FeatureType { | ||
| 121 | .Rcpc, | 115 | .Rcpc, |
| 122 | .Ccpp, | 116 | .Ccpp, |
| 123 | .Pan, | ||
| 124 | .Rdm, | ||
| 125 | .FpArmv8, | 117 | .FpArmv8, |
| 118 | .A65, | ||
| 119 | }), | ||
| 120 | CpuInfo(@This(), FeatureType).create(.CortexA65ae, "cortex-a65ae", &[_]FeatureType { | ||
| 126 | .Lse, | 121 | .Lse, |
| 127 | .Crc, | 122 | .Vh, |
| 123 | .Rdm, | ||
| 124 | .Pan, | ||
| 128 | .Dotprod, | 125 | .Dotprod, |
| 129 | .Lor, | 126 | .Crc, |
| 130 | .Ssbs, | 127 | .Ssbs, |
| 128 | .Lor, | ||
| 131 | .Uaops, | 129 | .Uaops, |
| 132 | .Vh, | ||
| 133 | .Ras, | 130 | .Ras, |
| 131 | .Rcpc, | ||
| 132 | .Ccpp, | ||
| 133 | .FpArmv8, | ||
| 134 | .A65, | 134 | .A65, |
| 135 | }, | 135 | }), |
| 136 | CpuInfo(@This()).create(.CortexA72, "cortex-a72", &[_]FeatureType { | 136 | CpuInfo(@This(), FeatureType).create(.CortexA72, "cortex-a72", &[_]FeatureType { |
| 137 | .Perfmon, | 137 | .Perfmon, |
| 138 | .FuseAes, | ||
| 139 | .FpArmv8, | 138 | .FpArmv8, |
| 140 | .Crc, | 139 | .Crc, |
| 140 | .FuseAes, | ||
| 141 | .A72, | 141 | .A72, |
| 142 | }, | 142 | }), |
| 143 | CpuInfo(@This()).create(.CortexA73, "cortex-a73", &[_]FeatureType { | 143 | CpuInfo(@This(), FeatureType).create(.CortexA73, "cortex-a73", &[_]FeatureType { |
| 144 | .Perfmon, | 144 | .Perfmon, |
| 145 | .FuseAes, | ||
| 146 | .FpArmv8, | 145 | .FpArmv8, |
| 147 | .Crc, | 146 | .Crc, |
| 147 | .FuseAes, | ||
| 148 | .A73, | 148 | .A73, |
| 149 | }, | 149 | }), |
| 150 | CpuInfo(@This()).create(.CortexA75, "cortex-a75", &[_]FeatureType { | 150 | CpuInfo(@This(), FeatureType).create(.CortexA75, "cortex-a75", &[_]FeatureType { |
| 151 | .Rcpc, | 151 | .Lse, |
| 152 | .Ccpp, | 152 | .Vh, |
| 153 | .Pan, | ||
| 154 | .Rdm, | 153 | .Rdm, |
| 155 | .FuseAes, | ||
| 156 | .Perfmon, | 154 | .Perfmon, |
| 157 | .FpArmv8, | 155 | .Pan, |
| 158 | .Lse, | ||
| 159 | .Crc, | ||
| 160 | .Dotprod, | 156 | .Dotprod, |
| 157 | .Crc, | ||
| 161 | .Lor, | 158 | .Lor, |
| 162 | .Uaops, | 159 | .Uaops, |
| 163 | .Vh, | ||
| 164 | .Ras, | 160 | .Ras, |
| 165 | .A75, | ||
| 166 | }, | ||
| 167 | CpuInfo(@This()).create(.CortexA76, "cortex-a76", &[_]FeatureType { | ||
| 168 | .Rcpc, | 161 | .Rcpc, |
| 169 | .Ccpp, | 162 | .Ccpp, |
| 170 | .Pan, | ||
| 171 | .Rdm, | ||
| 172 | .FpArmv8, | 163 | .FpArmv8, |
| 164 | .FuseAes, | ||
| 165 | .A75, | ||
| 166 | }), | ||
| 167 | CpuInfo(@This(), FeatureType).create(.CortexA76, "cortex-a76", &[_]FeatureType { | ||
| 173 | .Lse, | 168 | .Lse, |
| 174 | .Crc, | 169 | .Vh, |
| 170 | .Rdm, | ||
| 171 | .Pan, | ||
| 175 | .Dotprod, | 172 | .Dotprod, |
| 176 | .Lor, | 173 | .Crc, |
| 177 | .Ssbs, | 174 | .Ssbs, |
| 175 | .Lor, | ||
| 178 | .Uaops, | 176 | .Uaops, |
| 179 | .Vh, | ||
| 180 | .Ras, | 177 | .Ras, |
| 181 | .A76, | ||
| 182 | }, | ||
| 183 | CpuInfo(@This()).create(.CortexA76ae, "cortex-a76ae", &[_]FeatureType { | ||
| 184 | .Rcpc, | 178 | .Rcpc, |
| 185 | .Ccpp, | 179 | .Ccpp, |
| 186 | .Pan, | ||
| 187 | .Rdm, | ||
| 188 | .FpArmv8, | 180 | .FpArmv8, |
| 181 | .A76, | ||
| 182 | }), | ||
| 183 | CpuInfo(@This(), FeatureType).create(.CortexA76ae, "cortex-a76ae", &[_]FeatureType { | ||
| 189 | .Lse, | 184 | .Lse, |
| 190 | .Crc, | 185 | .Vh, |
| 186 | .Rdm, | ||
| 187 | .Pan, | ||
| 191 | .Dotprod, | 188 | .Dotprod, |
| 192 | .Lor, | 189 | .Crc, |
| 193 | .Ssbs, | 190 | .Ssbs, |
| 191 | .Lor, | ||
| 194 | .Uaops, | 192 | .Uaops, |
| 195 | .Vh, | ||
| 196 | .Ras, | 193 | .Ras, |
| 194 | .Rcpc, | ||
| 195 | .Ccpp, | ||
| 196 | .FpArmv8, | ||
| 197 | .A76, | 197 | .A76, |
| 198 | }, | 198 | }), |
| 199 | CpuInfo(@This()).create(.Cyclone, "cyclone", &[_]FeatureType { | 199 | CpuInfo(@This(), FeatureType).create(.Cyclone, "cyclone", &[_]FeatureType { |
| 200 | .ZczFp, | 200 | .ArithBccFusion, |
| 201 | .ArithCbzFusion, | 201 | .ArithCbzFusion, |
| 202 | .FuseAes, | 202 | .ZczFp, |
| 203 | .AlternateSextloadCvtF32Pattern, | 203 | .AlternateSextloadCvtF32Pattern, |
| 204 | .ZczFpWorkaround, | ||
| 205 | .FpArmv8, | ||
| 206 | .Perfmon, | ||
| 207 | .DisableLatencySchedHeuristic, | 204 | .DisableLatencySchedHeuristic, |
| 208 | .Zcm, | 205 | .Perfmon, |
| 209 | .ZczGp, | 206 | .ZczGp, |
| 210 | .ArithBccFusion, | 207 | .ZczFpWorkaround, |
| 208 | .Zcm, | ||
| 209 | .FpArmv8, | ||
| 211 | .FuseCryptoEor, | 210 | .FuseCryptoEor, |
| 211 | .FuseAes, | ||
| 212 | .Cyclone, | 212 | .Cyclone, |
| 213 | }, | 213 | }), |
| 214 | CpuInfo(@This()).create(.ExynosM1, "exynos-m1", &[_]FeatureType { | 214 | CpuInfo(@This(), FeatureType).create(.ExynosM1, "exynos-m1", &[_]FeatureType { |
| 215 | .ZczFp, | 215 | .ZczFp, |
| 216 | .FuseAes, | ||
| 217 | .SlowPaired128, | ||
| 218 | .Force32bitJumpTables, | ||
| 219 | .UseReciprocalSquareRoot, | ||
| 220 | .FpArmv8, | ||
| 221 | .Perfmon, | 216 | .Perfmon, |
| 222 | .SlowMisaligned128store, | ||
| 223 | .Crc, | ||
| 224 | .UsePostraScheduler, | 217 | .UsePostraScheduler, |
| 218 | .Crc, | ||
| 219 | .UseReciprocalSquareRoot, | ||
| 225 | .CustomCheapAsMove, | 220 | .CustomCheapAsMove, |
| 226 | .Exynosm1, | ||
| 227 | }, | ||
| 228 | CpuInfo(@This()).create(.ExynosM2, "exynos-m2", &[_]FeatureType { | ||
| 229 | .ZczFp, | ||
| 230 | .FuseAes, | ||
| 231 | .SlowPaired128, | ||
| 232 | .Force32bitJumpTables, | 221 | .Force32bitJumpTables, |
| 222 | .SlowMisaligned128store, | ||
| 233 | .FpArmv8, | 223 | .FpArmv8, |
| 224 | .SlowPaired128, | ||
| 225 | .FuseAes, | ||
| 226 | .Exynosm1, | ||
| 227 | }), | ||
| 228 | CpuInfo(@This(), FeatureType).create(.ExynosM2, "exynos-m2", &[_]FeatureType { | ||
| 229 | .ZczFp, | ||
| 234 | .Perfmon, | 230 | .Perfmon, |
| 235 | .SlowMisaligned128store, | ||
| 236 | .Crc, | ||
| 237 | .UsePostraScheduler, | 231 | .UsePostraScheduler, |
| 232 | .Crc, | ||
| 238 | .CustomCheapAsMove, | 233 | .CustomCheapAsMove, |
| 239 | .Exynosm2, | ||
| 240 | }, | ||
| 241 | CpuInfo(@This()).create(.ExynosM3, "exynos-m3", &[_]FeatureType { | ||
| 242 | .ZczFp, | ||
| 243 | .FuseLiterals, | ||
| 244 | .FuseAes, | ||
| 245 | .Force32bitJumpTables, | 234 | .Force32bitJumpTables, |
| 235 | .SlowMisaligned128store, | ||
| 246 | .FpArmv8, | 236 | .FpArmv8, |
| 237 | .SlowPaired128, | ||
| 238 | .FuseAes, | ||
| 239 | .Exynosm2, | ||
| 240 | }), | ||
| 241 | CpuInfo(@This(), FeatureType).create(.ExynosM3, "exynos-m3", &[_]FeatureType { | ||
| 242 | .FuseCsel, | ||
| 243 | .ZczFp, | ||
| 247 | .Perfmon, | 244 | .Perfmon, |
| 248 | .Crc, | ||
| 249 | .LslFast, | ||
| 250 | .FuseAddress, | ||
| 251 | .UsePostraScheduler, | 245 | .UsePostraScheduler, |
| 252 | .CustomCheapAsMove, | 246 | .Crc, |
| 253 | .PredictableSelectExpensive, | 247 | .PredictableSelectExpensive, |
| 254 | .FuseCsel, | 248 | .CustomCheapAsMove, |
| 249 | .Force32bitJumpTables, | ||
| 250 | .FuseLiterals, | ||
| 251 | .FuseAddress, | ||
| 252 | .LslFast, | ||
| 253 | .FpArmv8, | ||
| 254 | .FuseAes, | ||
| 255 | .Exynosm3, | 255 | .Exynosm3, |
| 256 | }, | 256 | }), |
| 257 | CpuInfo(@This()).create(.ExynosM4, "exynos-m4", &[_]FeatureType { | 257 | CpuInfo(@This(), FeatureType).create(.ExynosM4, "exynos-m4", &[_]FeatureType { |
| 258 | .ArithBccFusion, | ||
| 259 | .Vh, | ||
| 260 | .ArithCbzFusion, | ||
| 258 | .ZczFp, | 261 | .ZczFp, |
| 259 | .Lse, | 262 | .Rdm, |
| 260 | .FuseArithLogic, | ||
| 261 | .Lor, | ||
| 262 | .UsePostraScheduler, | 263 | .UsePostraScheduler, |
| 263 | .Uaops, | 264 | .Ras, |
| 264 | .CustomCheapAsMove, | 265 | .Force32bitJumpTables, |
| 265 | .ArithBccFusion, | ||
| 266 | .Ccpp, | 266 | .Ccpp, |
| 267 | .Perfmon, | 267 | .FuseCsel, |
| 268 | .Pan, | 268 | .Pan, |
| 269 | .Rdm, | 269 | .Uaops, |
| 270 | .FuseLiterals, | 270 | .FuseLiterals, |
| 271 | .Force32bitJumpTables, | ||
| 272 | .LslFast, | 271 | .LslFast, |
| 272 | .Lse, | ||
| 273 | .Perfmon, | ||
| 274 | .Dotprod, | ||
| 275 | .Lor, | ||
| 276 | .FuseArithLogic, | ||
| 277 | .Crc, | ||
| 278 | .CustomCheapAsMove, | ||
| 273 | .FuseAddress, | 279 | .FuseAddress, |
| 274 | .ZczGp, | 280 | .ZczGp, |
| 275 | .Ras, | ||
| 276 | .FuseCsel, | ||
| 277 | .ArithCbzFusion, | ||
| 278 | .FuseAes, | ||
| 279 | .FpArmv8, | 281 | .FpArmv8, |
| 280 | .Crc, | 282 | .FuseAes, |
| 281 | .Dotprod, | ||
| 282 | .Vh, | ||
| 283 | .Exynosm4, | 283 | .Exynosm4, |
| 284 | }, | 284 | }), |
| 285 | CpuInfo(@This()).create(.ExynosM5, "exynos-m5", &[_]FeatureType { | 285 | CpuInfo(@This(), FeatureType).create(.ExynosM5, "exynos-m5", &[_]FeatureType { |
| 286 | .ArithBccFusion, | ||
| 287 | .Vh, | ||
| 288 | .ArithCbzFusion, | ||
| 286 | .ZczFp, | 289 | .ZczFp, |
| 287 | .Lse, | 290 | .Rdm, |
| 288 | .FuseArithLogic, | ||
| 289 | .Lor, | ||
| 290 | .UsePostraScheduler, | 291 | .UsePostraScheduler, |
| 291 | .Uaops, | 292 | .Ras, |
| 292 | .CustomCheapAsMove, | 293 | .Force32bitJumpTables, |
| 293 | .ArithBccFusion, | ||
| 294 | .Ccpp, | 294 | .Ccpp, |
| 295 | .Perfmon, | 295 | .FuseCsel, |
| 296 | .Pan, | 296 | .Pan, |
| 297 | .Rdm, | 297 | .Uaops, |
| 298 | .FuseLiterals, | 298 | .FuseLiterals, |
| 299 | .Force32bitJumpTables, | ||
| 300 | .LslFast, | 299 | .LslFast, |
| 300 | .Lse, | ||
| 301 | .Perfmon, | ||
| 302 | .Dotprod, | ||
| 303 | .Lor, | ||
| 304 | .FuseArithLogic, | ||
| 305 | .Crc, | ||
| 306 | .CustomCheapAsMove, | ||
| 301 | .FuseAddress, | 307 | .FuseAddress, |
| 302 | .ZczGp, | 308 | .ZczGp, |
| 303 | .Ras, | ||
| 304 | .FuseCsel, | ||
| 305 | .ArithCbzFusion, | ||
| 306 | .FuseAes, | ||
| 307 | .FpArmv8, | 309 | .FpArmv8, |
| 308 | .Crc, | 310 | .FuseAes, |
| 309 | .Dotprod, | ||
| 310 | .Vh, | ||
| 311 | .Exynosm4, | 311 | .Exynosm4, |
| 312 | }, | 312 | }), |
| 313 | CpuInfo(@This()).create(.Falkor, "falkor", &[_]FeatureType { | 313 | CpuInfo(@This(), FeatureType).create(.Falkor, "falkor", &[_]FeatureType { |
| 314 | .ZczFp, | 314 | .ZczFp, |
| 315 | .Rdm, | 315 | .Rdm, |
| 316 | .SlowStrqroStore, | ||
| 317 | .Perfmon, | 316 | .Perfmon, |
| 318 | .FpArmv8, | ||
| 319 | .Crc, | ||
| 320 | .LslFast, | ||
| 321 | .UsePostraScheduler, | 317 | .UsePostraScheduler, |
| 322 | .ZczGp, | 318 | .Crc, |
| 323 | .CustomCheapAsMove, | ||
| 324 | .PredictableSelectExpensive, | 319 | .PredictableSelectExpensive, |
| 320 | .CustomCheapAsMove, | ||
| 321 | .ZczGp, | ||
| 322 | .FpArmv8, | ||
| 323 | .SlowStrqroStore, | ||
| 324 | .LslFast, | ||
| 325 | .Falkor, | 325 | .Falkor, |
| 326 | }, | 326 | }), |
| 327 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | 327 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { |
| 328 | .Trbe, | 328 | .Trbe, |
| 329 | .Ete, | 329 | .Ete, |
| 330 | .FpArmv8, | 330 | .FpArmv8, |
| ... | @@ -332,149 +332,149 @@ pub const AArch64Cpu = enum { | ... | @@ -332,149 +332,149 @@ pub const AArch64Cpu = enum { |
| 332 | .Neon, | 332 | .Neon, |
| 333 | .Perfmon, | 333 | .Perfmon, |
| 334 | .UsePostraScheduler, | 334 | .UsePostraScheduler, |
| 335 | }, | 335 | }), |
| 336 | CpuInfo(@This()).create(.Kryo, "kryo", &[_]FeatureType { | 336 | CpuInfo(@This(), FeatureType).create(.Kryo, "kryo", &[_]FeatureType { |
| 337 | .ZczFp, | 337 | .ZczFp, |
| 338 | .Perfmon, | 338 | .Perfmon, |
| 339 | .FpArmv8, | ||
| 340 | .Crc, | ||
| 341 | .LslFast, | ||
| 342 | .UsePostraScheduler, | 339 | .UsePostraScheduler, |
| 343 | .ZczGp, | 340 | .Crc, |
| 344 | .CustomCheapAsMove, | ||
| 345 | .PredictableSelectExpensive, | 341 | .PredictableSelectExpensive, |
| 346 | .Kryo, | 342 | .CustomCheapAsMove, |
| 347 | }, | 343 | .ZczGp, |
| 348 | CpuInfo(@This()).create(.NeoverseE1, "neoverse-e1", &[_]FeatureType { | ||
| 349 | .Rcpc, | ||
| 350 | .Ccpp, | ||
| 351 | .Pan, | ||
| 352 | .Rdm, | ||
| 353 | .FpArmv8, | 344 | .FpArmv8, |
| 345 | .LslFast, | ||
| 346 | .Kryo, | ||
| 347 | }), | ||
| 348 | CpuInfo(@This(), FeatureType).create(.NeoverseE1, "neoverse-e1", &[_]FeatureType { | ||
| 354 | .Lse, | 349 | .Lse, |
| 355 | .Crc, | 350 | .Vh, |
| 351 | .Rdm, | ||
| 352 | .Pan, | ||
| 356 | .Dotprod, | 353 | .Dotprod, |
| 357 | .Lor, | 354 | .Crc, |
| 358 | .Ssbs, | 355 | .Ssbs, |
| 356 | .Lor, | ||
| 359 | .Uaops, | 357 | .Uaops, |
| 360 | .Vh, | ||
| 361 | .Ras, | 358 | .Ras, |
| 362 | .Neoversee1, | ||
| 363 | }, | ||
| 364 | CpuInfo(@This()).create(.NeoverseN1, "neoverse-n1", &[_]FeatureType { | ||
| 365 | .Rcpc, | 359 | .Rcpc, |
| 366 | .Spe, | ||
| 367 | .Ccpp, | 360 | .Ccpp, |
| 368 | .Pan, | ||
| 369 | .Rdm, | ||
| 370 | .FpArmv8, | 361 | .FpArmv8, |
| 362 | .Neoversee1, | ||
| 363 | }), | ||
| 364 | CpuInfo(@This(), FeatureType).create(.NeoverseN1, "neoverse-n1", &[_]FeatureType { | ||
| 371 | .Lse, | 365 | .Lse, |
| 372 | .Crc, | 366 | .Spe, |
| 367 | .Vh, | ||
| 368 | .Rdm, | ||
| 369 | .Pan, | ||
| 373 | .Dotprod, | 370 | .Dotprod, |
| 374 | .Lor, | 371 | .Crc, |
| 375 | .Ssbs, | 372 | .Ssbs, |
| 373 | .Lor, | ||
| 376 | .Uaops, | 374 | .Uaops, |
| 377 | .Vh, | ||
| 378 | .Ras, | 375 | .Ras, |
| 376 | .Rcpc, | ||
| 377 | .Ccpp, | ||
| 378 | .FpArmv8, | ||
| 379 | .Neoversen1, | 379 | .Neoversen1, |
| 380 | }, | 380 | }), |
| 381 | CpuInfo(@This()).create(.Saphira, "saphira", &[_]FeatureType { | 381 | CpuInfo(@This(), FeatureType).create(.Saphira, "saphira", &[_]FeatureType { |
| 382 | .Spe, | ||
| 383 | .Vh, | ||
| 382 | .ZczFp, | 384 | .ZczFp, |
| 383 | .Nv, | 385 | .Rdm, |
| 386 | .UsePostraScheduler, | ||
| 387 | .Dit, | ||
| 384 | .Am, | 388 | .Am, |
| 385 | .Lse, | 389 | .Ras, |
| 390 | .Rcpc, | ||
| 386 | .Sel2, | 391 | .Sel2, |
| 387 | .Lor, | ||
| 388 | .Tracev84, | ||
| 389 | .Uaops, | ||
| 390 | .UsePostraScheduler, | ||
| 391 | .CustomCheapAsMove, | ||
| 392 | .Ccpp, | 392 | .Ccpp, |
| 393 | .Pa, | ||
| 394 | .Pan, | ||
| 395 | .Uaops, | ||
| 396 | .Tracev84, | ||
| 397 | .Mpam, | ||
| 398 | .LslFast, | ||
| 399 | .Lse, | ||
| 400 | .Nv, | ||
| 393 | .Perfmon, | 401 | .Perfmon, |
| 402 | .Dotprod, | ||
| 394 | .TlbRmi, | 403 | .TlbRmi, |
| 404 | .Lor, | ||
| 405 | .Ccidx, | ||
| 395 | .PredictableSelectExpensive, | 406 | .PredictableSelectExpensive, |
| 407 | .Crc, | ||
| 408 | .CustomCheapAsMove, | ||
| 396 | .Fmi, | 409 | .Fmi, |
| 397 | .Rcpc, | ||
| 398 | .Pan, | ||
| 399 | .Rdm, | ||
| 400 | .LslFast, | ||
| 401 | .Pa, | ||
| 402 | .ZczGp, | 410 | .ZczGp, |
| 403 | .Dit, | ||
| 404 | .Ras, | ||
| 405 | .Spe, | ||
| 406 | .Mpam, | ||
| 407 | .FpArmv8, | 411 | .FpArmv8, |
| 408 | .Ccidx, | ||
| 409 | .Dotprod, | ||
| 410 | .Crc, | ||
| 411 | .Vh, | ||
| 412 | .Saphira, | 412 | .Saphira, |
| 413 | }, | 413 | }), |
| 414 | CpuInfo(@This()).create(.Thunderx, "thunderx", &[_]FeatureType { | 414 | CpuInfo(@This(), FeatureType).create(.Thunderx, "thunderx", &[_]FeatureType { |
| 415 | .Perfmon, | 415 | .Perfmon, |
| 416 | .FpArmv8, | ||
| 417 | .Crc, | ||
| 418 | .UsePostraScheduler, | 416 | .UsePostraScheduler, |
| 417 | .Crc, | ||
| 418 | .FpArmv8, | ||
| 419 | .PredictableSelectExpensive, | 419 | .PredictableSelectExpensive, |
| 420 | .Thunderx, | 420 | .Thunderx, |
| 421 | }, | 421 | }), |
| 422 | CpuInfo(@This()).create(.Thunderx2t99, "thunderx2t99", &[_]FeatureType { | 422 | CpuInfo(@This(), FeatureType).create(.Thunderx2t99, "thunderx2t99", &[_]FeatureType { |
| 423 | .Pan, | ||
| 424 | .Rdm, | ||
| 425 | .Vh, | ||
| 426 | .AggressiveFma, | ||
| 427 | .FpArmv8, | ||
| 428 | .Lse, | 423 | .Lse, |
| 424 | .ArithBccFusion, | ||
| 425 | .Vh, | ||
| 426 | .Rdm, | ||
| 427 | .UsePostraScheduler, | ||
| 429 | .Crc, | 428 | .Crc, |
| 430 | .Lor, | 429 | .Lor, |
| 431 | .UsePostraScheduler, | 430 | .Pan, |
| 432 | .ArithBccFusion, | 431 | .AggressiveFma, |
| 432 | .FpArmv8, | ||
| 433 | .PredictableSelectExpensive, | 433 | .PredictableSelectExpensive, |
| 434 | .Thunderx2t99, | 434 | .Thunderx2t99, |
| 435 | }, | 435 | }), |
| 436 | CpuInfo(@This()).create(.Thunderxt81, "thunderxt81", &[_]FeatureType { | 436 | CpuInfo(@This(), FeatureType).create(.Thunderxt81, "thunderxt81", &[_]FeatureType { |
| 437 | .Perfmon, | 437 | .Perfmon, |
| 438 | .FpArmv8, | ||
| 439 | .Crc, | ||
| 440 | .UsePostraScheduler, | 438 | .UsePostraScheduler, |
| 439 | .Crc, | ||
| 440 | .FpArmv8, | ||
| 441 | .PredictableSelectExpensive, | 441 | .PredictableSelectExpensive, |
| 442 | .Thunderxt81, | 442 | .Thunderxt81, |
| 443 | }, | 443 | }), |
| 444 | CpuInfo(@This()).create(.Thunderxt83, "thunderxt83", &[_]FeatureType { | 444 | CpuInfo(@This(), FeatureType).create(.Thunderxt83, "thunderxt83", &[_]FeatureType { |
| 445 | .Perfmon, | 445 | .Perfmon, |
| 446 | .FpArmv8, | ||
| 447 | .Crc, | ||
| 448 | .UsePostraScheduler, | 446 | .UsePostraScheduler, |
| 447 | .Crc, | ||
| 448 | .FpArmv8, | ||
| 449 | .PredictableSelectExpensive, | 449 | .PredictableSelectExpensive, |
| 450 | .Thunderxt83, | 450 | .Thunderxt83, |
| 451 | }, | 451 | }), |
| 452 | CpuInfo(@This()).create(.Thunderxt88, "thunderxt88", &[_]FeatureType { | 452 | CpuInfo(@This(), FeatureType).create(.Thunderxt88, "thunderxt88", &[_]FeatureType { |
| 453 | .Perfmon, | 453 | .Perfmon, |
| 454 | .FpArmv8, | ||
| 455 | .Crc, | ||
| 456 | .UsePostraScheduler, | 454 | .UsePostraScheduler, |
| 455 | .Crc, | ||
| 456 | .FpArmv8, | ||
| 457 | .PredictableSelectExpensive, | 457 | .PredictableSelectExpensive, |
| 458 | .Thunderxt88, | 458 | .Thunderxt88, |
| 459 | }, | 459 | }), |
| 460 | CpuInfo(@This()).create(.Tsv110, "tsv110", &[_]FeatureType { | 460 | CpuInfo(@This(), FeatureType).create(.Tsv110, "tsv110", &[_]FeatureType { |
| 461 | .Uaops, | 461 | .Lse, |
| 462 | .Spe, | 462 | .Spe, |
| 463 | .Ccpp, | ||
| 464 | .Pan, | ||
| 465 | .Rdm, | ||
| 466 | .FuseAes, | ||
| 467 | .Vh, | 463 | .Vh, |
| 464 | .Rdm, | ||
| 468 | .Perfmon, | 465 | .Perfmon, |
| 469 | .FpArmv8, | 466 | .UsePostraScheduler, |
| 470 | .Lse, | 467 | .Pan, |
| 471 | .Crc, | ||
| 472 | .Dotprod, | 468 | .Dotprod, |
| 469 | .Crc, | ||
| 473 | .Lor, | 470 | .Lor, |
| 474 | .UsePostraScheduler, | 471 | .Uaops, |
| 475 | .CustomCheapAsMove, | 472 | .CustomCheapAsMove, |
| 476 | .Ras, | 473 | .Ras, |
| 474 | .Ccpp, | ||
| 475 | .FpArmv8, | ||
| 476 | .FuseAes, | ||
| 477 | .Tsv110, | 477 | .Tsv110, |
| 478 | }, | 478 | }), |
| 479 | }; | 479 | }; |
| 480 | }; | 480 | }; |
lib/std/target/cpu/AmdGpuCpu.zig+521-521| ... | @@ -42,135 +42,135 @@ pub const AmdGpuCpu = enum { | ... | @@ -42,135 +42,135 @@ pub const AmdGpuCpu = enum { |
| 42 | Tonga, | 42 | Tonga, |
| 43 | Verde, | 43 | Verde, |
| 44 | 44 | ||
| 45 | pub fn getInfo(self: @This()) CpuInfo { | 45 | const FeatureType = feature.AmdGpuFeature; |
| 46 | |||
| 47 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 46 | return cpu_infos[@enumToInt(self)]; | 48 | return cpu_infos[@enumToInt(self)]; |
| 47 | } | 49 | } |
| 48 | 50 | ||
| 49 | pub const FeatureType = feature.AmdGpuFeature; | 51 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 50 | 52 | CpuInfo(@This(), FeatureType).create(.Bonaire, "bonaire", &[_]FeatureType { | |
| 51 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 52 | CpuInfo(@This()).create(.Bonaire, "bonaire", &[_]FeatureType { | ||
| 53 | .CodeObjectV3, | 53 | .CodeObjectV3, |
| 54 | .NoXnackSupport, | 54 | .NoXnackSupport, |
| 55 | .Ldsbankcount32, | 55 | .Ldsbankcount32, |
| 56 | .Wavefrontsize64, | 56 | .Movrel, |
| 57 | .MimgR128, | 57 | .Gfx7Gfx8Gfx9Insts, |
| 58 | .Fp64, | 58 | .Fp64, |
| 59 | .TrigReducedRange, | ||
| 59 | .CiInsts, | 60 | .CiInsts, |
| 60 | .FlatAddressSpace, | 61 | .FlatAddressSpace, |
| 61 | .TrigReducedRange, | ||
| 62 | .NoSramEccSupport, | ||
| 63 | .Movrel, | ||
| 64 | .Localmemorysize65536, | 62 | .Localmemorysize65536, |
| 65 | .Gfx7Gfx8Gfx9Insts, | 63 | .Wavefrontsize64, |
| 64 | .NoSramEccSupport, | ||
| 65 | .MimgR128, | ||
| 66 | .SeaIslands, | 66 | .SeaIslands, |
| 67 | }, | 67 | }), |
| 68 | CpuInfo(@This()).create(.Carrizo, "carrizo", &[_]FeatureType { | 68 | CpuInfo(@This(), FeatureType).create(.Carrizo, "carrizo", &[_]FeatureType { |
| 69 | .CodeObjectV3, | 69 | .CodeObjectV3, |
| 70 | .FastFmaf, | 70 | .FastFmaf, |
| 71 | .Ldsbankcount32, | 71 | .Ldsbankcount32, |
| 72 | .UnpackedD16Vmem, | 72 | .UnpackedD16Vmem, |
| 73 | .Wavefrontsize64, | 73 | .IntClampInsts, |
| 74 | .Fp64, | 74 | .SdwaMav, |
| 75 | .Movrel, | ||
| 76 | .SMemrealtime, | ||
| 75 | .Gcn3Encoding, | 77 | .Gcn3Encoding, |
| 76 | .TrigReducedRange, | 78 | .TrigReducedRange, |
| 77 | .Sdwa, | 79 | .CiInsts, |
| 78 | .VgprIndexMode, | ||
| 79 | .Dpp, | ||
| 80 | .FlatAddressSpace, | 80 | .FlatAddressSpace, |
| 81 | .Gfx8Insts, | 81 | .Sdwa, |
| 82 | .Gfx7Gfx8Gfx9Insts, | 82 | .Wavefrontsize64, |
| 83 | .MimgR128, | ||
| 84 | .NoSramEccSupport, | 83 | .NoSramEccSupport, |
| 85 | .IntClampInsts, | ||
| 86 | .ScalarStores, | 84 | .ScalarStores, |
| 87 | .Movrel, | 85 | .Gfx7Gfx8Gfx9Insts, |
| 88 | .SdwaMav, | 86 | .Dpp, |
| 89 | .CiInsts, | 87 | .Localmemorysize65536, |
| 90 | .BitInsts16, | 88 | .BitInsts16, |
| 91 | .SMemrealtime, | 89 | .VgprIndexMode, |
| 90 | .Gfx8Insts, | ||
| 92 | .Inv2piInlineImm, | 91 | .Inv2piInlineImm, |
| 93 | .Localmemorysize65536, | 92 | .MimgR128, |
| 94 | .SdwaOutModsVopc, | 93 | .SdwaOutModsVopc, |
| 94 | .Fp64, | ||
| 95 | .VolcanicIslands, | 95 | .VolcanicIslands, |
| 96 | .Xnack, | 96 | .Xnack, |
| 97 | .HalfRate64Ops, | 97 | .HalfRate64Ops, |
| 98 | }, | 98 | }), |
| 99 | CpuInfo(@This()).create(.Fiji, "fiji", &[_]FeatureType { | 99 | CpuInfo(@This(), FeatureType).create(.Fiji, "fiji", &[_]FeatureType { |
| 100 | .CodeObjectV3, | 100 | .CodeObjectV3, |
| 101 | .NoXnackSupport, | 101 | .NoXnackSupport, |
| 102 | .Ldsbankcount32, | 102 | .Ldsbankcount32, |
| 103 | .UnpackedD16Vmem, | 103 | .UnpackedD16Vmem, |
| 104 | .Wavefrontsize64, | 104 | .IntClampInsts, |
| 105 | .Fp64, | 105 | .SdwaMav, |
| 106 | .Movrel, | ||
| 107 | .SMemrealtime, | ||
| 106 | .Gcn3Encoding, | 108 | .Gcn3Encoding, |
| 107 | .TrigReducedRange, | 109 | .TrigReducedRange, |
| 108 | .Sdwa, | 110 | .CiInsts, |
| 109 | .VgprIndexMode, | ||
| 110 | .Dpp, | ||
| 111 | .FlatAddressSpace, | 111 | .FlatAddressSpace, |
| 112 | .Gfx8Insts, | 112 | .Sdwa, |
| 113 | .Gfx7Gfx8Gfx9Insts, | 113 | .Wavefrontsize64, |
| 114 | .MimgR128, | ||
| 115 | .NoSramEccSupport, | 114 | .NoSramEccSupport, |
| 116 | .IntClampInsts, | ||
| 117 | .ScalarStores, | 115 | .ScalarStores, |
| 118 | .Movrel, | 116 | .Gfx7Gfx8Gfx9Insts, |
| 119 | .SdwaMav, | 117 | .Dpp, |
| 120 | .CiInsts, | 118 | .Localmemorysize65536, |
| 121 | .BitInsts16, | 119 | .BitInsts16, |
| 122 | .SMemrealtime, | 120 | .VgprIndexMode, |
| 121 | .Gfx8Insts, | ||
| 123 | .Inv2piInlineImm, | 122 | .Inv2piInlineImm, |
| 124 | .Localmemorysize65536, | 123 | .MimgR128, |
| 125 | .SdwaOutModsVopc, | 124 | .SdwaOutModsVopc, |
| 125 | .Fp64, | ||
| 126 | .VolcanicIslands, | 126 | .VolcanicIslands, |
| 127 | }, | 127 | }), |
| 128 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | 128 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { |
| 129 | .Wavefrontsize64, | 129 | .Wavefrontsize64, |
| 130 | }, | 130 | }), |
| 131 | CpuInfo(@This()).create(.GenericHsa, "generic-hsa", &[_]FeatureType { | 131 | CpuInfo(@This(), FeatureType).create(.GenericHsa, "generic-hsa", &[_]FeatureType { |
| 132 | .FlatAddressSpace, | 132 | .FlatAddressSpace, |
| 133 | .Wavefrontsize64, | 133 | .Wavefrontsize64, |
| 134 | }, | 134 | }), |
| 135 | CpuInfo(@This()).create(.Gfx1010, "gfx1010", &[_]FeatureType { | 135 | CpuInfo(@This(), FeatureType).create(.Gfx1010, "gfx1010", &[_]FeatureType { |
| 136 | .CodeObjectV3, | 136 | .CodeObjectV3, |
| 137 | .DlInsts, | 137 | .DlInsts, |
| 138 | .NoXnackSupport, | 138 | .NoXnackSupport, |
| 139 | .FlatSegmentOffsetBug, | 139 | .FlatSegmentOffsetBug, |
| 140 | .Gfx9Insts, | 140 | .Vscnt, |
| 141 | .NoSdstCmpx, | 141 | .ApertureRegs, |
| 142 | .Fp64, | ||
| 143 | .FastFmaf, | ||
| 144 | .Sdwa, | ||
| 145 | .SdwaScalar, | ||
| 146 | .Dpp, | ||
| 147 | .RegisterBanking, | ||
| 148 | .Gfx10Insts, | 142 | .Gfx10Insts, |
| 149 | .AddNoCarryInsts, | 143 | .IntClampInsts, |
| 144 | .PkFmacF16Inst, | ||
| 150 | .SdwaOmod, | 145 | .SdwaOmod, |
| 151 | .SdwaSdst, | 146 | .SdwaScalar, |
| 147 | .AddNoCarryInsts, | ||
| 148 | .Movrel, | ||
| 149 | .SMemrealtime, | ||
| 150 | .NoSdstCmpx, | ||
| 151 | .CiInsts, | ||
| 152 | .FlatAddressSpace, | 152 | .FlatAddressSpace, |
| 153 | .Sdwa, | ||
| 154 | .NoSramEccSupport, | ||
| 155 | .SdwaSdst, | ||
| 156 | .FlatInstOffsets, | ||
| 157 | .RegisterBanking, | ||
| 158 | .Dpp, | ||
| 159 | .Localmemorysize65536, | ||
| 160 | .Vop3p, | ||
| 161 | .BitInsts16, | ||
| 162 | .Dpp8, | ||
| 153 | .Gfx8Insts, | 163 | .Gfx8Insts, |
| 164 | .Inv2piInlineImm, | ||
| 165 | .Gfx9Insts, | ||
| 154 | .FmaMixInsts, | 166 | .FmaMixInsts, |
| 155 | .PkFmacF16Inst, | ||
| 156 | .Vop3Literal, | ||
| 157 | .MimgR128, | 167 | .MimgR128, |
| 158 | .NoSramEccSupport, | 168 | .Vop3Literal, |
| 159 | .IntClampInsts, | ||
| 160 | .Movrel, | ||
| 161 | .Dpp8, | ||
| 162 | .ApertureRegs, | ||
| 163 | .NoDataDepHazard, | ||
| 164 | .CiInsts, | ||
| 165 | .FlatGlobalInsts, | 169 | .FlatGlobalInsts, |
| 166 | .BitInsts16, | ||
| 167 | .FlatScratchInsts, | 170 | .FlatScratchInsts, |
| 168 | .SMemrealtime, | 171 | .Fp64, |
| 169 | .Vop3p, | 172 | .FastFmaf, |
| 170 | .FlatInstOffsets, | 173 | .NoDataDepHazard, |
| 171 | .Inv2piInlineImm, | ||
| 172 | .Localmemorysize65536, | ||
| 173 | .Vscnt, | ||
| 174 | .Gfx10, | 174 | .Gfx10, |
| 175 | .InstFwdPrefetchBug, | 175 | .InstFwdPrefetchBug, |
| 176 | .Ldsbankcount32, | 176 | .Ldsbankcount32, |
| ... | @@ -187,8 +187,8 @@ pub const AmdGpuCpu = enum { | ... | @@ -187,8 +187,8 @@ pub const AmdGpuCpu = enum { |
| 187 | .VcmpxExecWarHazard, | 187 | .VcmpxExecWarHazard, |
| 188 | .VcmpxPermlaneHazard, | 188 | .VcmpxPermlaneHazard, |
| 189 | .Wavefrontsize32, | 189 | .Wavefrontsize32, |
| 190 | }, | 190 | }), |
| 191 | CpuInfo(@This()).create(.Gfx1011, "gfx1011", &[_]FeatureType { | 191 | CpuInfo(@This(), FeatureType).create(.Gfx1011, "gfx1011", &[_]FeatureType { |
| 192 | .CodeObjectV3, | 192 | .CodeObjectV3, |
| 193 | .DlInsts, | 193 | .DlInsts, |
| 194 | .NoXnackSupport, | 194 | .NoXnackSupport, |
| ... | @@ -197,40 +197,40 @@ pub const AmdGpuCpu = enum { | ... | @@ -197,40 +197,40 @@ pub const AmdGpuCpu = enum { |
| 197 | .Dot5Insts, | 197 | .Dot5Insts, |
| 198 | .Dot6Insts, | 198 | .Dot6Insts, |
| 199 | .FlatSegmentOffsetBug, | 199 | .FlatSegmentOffsetBug, |
| 200 | .Gfx9Insts, | 200 | .Vscnt, |
| 201 | .NoSdstCmpx, | 201 | .ApertureRegs, |
| 202 | .Fp64, | ||
| 203 | .FastFmaf, | ||
| 204 | .Sdwa, | ||
| 205 | .SdwaScalar, | ||
| 206 | .Dpp, | ||
| 207 | .RegisterBanking, | ||
| 208 | .Gfx10Insts, | 202 | .Gfx10Insts, |
| 209 | .AddNoCarryInsts, | 203 | .IntClampInsts, |
| 204 | .PkFmacF16Inst, | ||
| 210 | .SdwaOmod, | 205 | .SdwaOmod, |
| 211 | .SdwaSdst, | 206 | .SdwaScalar, |
| 207 | .AddNoCarryInsts, | ||
| 208 | .Movrel, | ||
| 209 | .SMemrealtime, | ||
| 210 | .NoSdstCmpx, | ||
| 211 | .CiInsts, | ||
| 212 | .FlatAddressSpace, | 212 | .FlatAddressSpace, |
| 213 | .Sdwa, | ||
| 214 | .NoSramEccSupport, | ||
| 215 | .SdwaSdst, | ||
| 216 | .FlatInstOffsets, | ||
| 217 | .RegisterBanking, | ||
| 218 | .Dpp, | ||
| 219 | .Localmemorysize65536, | ||
| 220 | .Vop3p, | ||
| 221 | .BitInsts16, | ||
| 222 | .Dpp8, | ||
| 213 | .Gfx8Insts, | 223 | .Gfx8Insts, |
| 224 | .Inv2piInlineImm, | ||
| 225 | .Gfx9Insts, | ||
| 214 | .FmaMixInsts, | 226 | .FmaMixInsts, |
| 215 | .PkFmacF16Inst, | ||
| 216 | .Vop3Literal, | ||
| 217 | .MimgR128, | 227 | .MimgR128, |
| 218 | .NoSramEccSupport, | 228 | .Vop3Literal, |
| 219 | .IntClampInsts, | ||
| 220 | .Movrel, | ||
| 221 | .Dpp8, | ||
| 222 | .ApertureRegs, | ||
| 223 | .NoDataDepHazard, | ||
| 224 | .CiInsts, | ||
| 225 | .FlatGlobalInsts, | 229 | .FlatGlobalInsts, |
| 226 | .BitInsts16, | ||
| 227 | .FlatScratchInsts, | 230 | .FlatScratchInsts, |
| 228 | .SMemrealtime, | 231 | .Fp64, |
| 229 | .Vop3p, | 232 | .FastFmaf, |
| 230 | .FlatInstOffsets, | 233 | .NoDataDepHazard, |
| 231 | .Inv2piInlineImm, | ||
| 232 | .Localmemorysize65536, | ||
| 233 | .Vscnt, | ||
| 234 | .Gfx10, | 234 | .Gfx10, |
| 235 | .InstFwdPrefetchBug, | 235 | .InstFwdPrefetchBug, |
| 236 | .Ldsbankcount32, | 236 | .Ldsbankcount32, |
| ... | @@ -246,8 +246,8 @@ pub const AmdGpuCpu = enum { | ... | @@ -246,8 +246,8 @@ pub const AmdGpuCpu = enum { |
| 246 | .VcmpxExecWarHazard, | 246 | .VcmpxExecWarHazard, |
| 247 | .VcmpxPermlaneHazard, | 247 | .VcmpxPermlaneHazard, |
| 248 | .Wavefrontsize32, | 248 | .Wavefrontsize32, |
| 249 | }, | 249 | }), |
| 250 | CpuInfo(@This()).create(.Gfx1012, "gfx1012", &[_]FeatureType { | 250 | CpuInfo(@This(), FeatureType).create(.Gfx1012, "gfx1012", &[_]FeatureType { |
| 251 | .CodeObjectV3, | 251 | .CodeObjectV3, |
| 252 | .DlInsts, | 252 | .DlInsts, |
| 253 | .NoXnackSupport, | 253 | .NoXnackSupport, |
| ... | @@ -256,40 +256,40 @@ pub const AmdGpuCpu = enum { | ... | @@ -256,40 +256,40 @@ pub const AmdGpuCpu = enum { |
| 256 | .Dot5Insts, | 256 | .Dot5Insts, |
| 257 | .Dot6Insts, | 257 | .Dot6Insts, |
| 258 | .FlatSegmentOffsetBug, | 258 | .FlatSegmentOffsetBug, |
| 259 | .Gfx9Insts, | 259 | .Vscnt, |
| 260 | .NoSdstCmpx, | 260 | .ApertureRegs, |
| 261 | .Fp64, | ||
| 262 | .FastFmaf, | ||
| 263 | .Sdwa, | ||
| 264 | .SdwaScalar, | ||
| 265 | .Dpp, | ||
| 266 | .RegisterBanking, | ||
| 267 | .Gfx10Insts, | 261 | .Gfx10Insts, |
| 268 | .AddNoCarryInsts, | 262 | .IntClampInsts, |
| 263 | .PkFmacF16Inst, | ||
| 269 | .SdwaOmod, | 264 | .SdwaOmod, |
| 270 | .SdwaSdst, | 265 | .SdwaScalar, |
| 266 | .AddNoCarryInsts, | ||
| 267 | .Movrel, | ||
| 268 | .SMemrealtime, | ||
| 269 | .NoSdstCmpx, | ||
| 270 | .CiInsts, | ||
| 271 | .FlatAddressSpace, | 271 | .FlatAddressSpace, |
| 272 | .Sdwa, | ||
| 273 | .NoSramEccSupport, | ||
| 274 | .SdwaSdst, | ||
| 275 | .FlatInstOffsets, | ||
| 276 | .RegisterBanking, | ||
| 277 | .Dpp, | ||
| 278 | .Localmemorysize65536, | ||
| 279 | .Vop3p, | ||
| 280 | .BitInsts16, | ||
| 281 | .Dpp8, | ||
| 272 | .Gfx8Insts, | 282 | .Gfx8Insts, |
| 283 | .Inv2piInlineImm, | ||
| 284 | .Gfx9Insts, | ||
| 273 | .FmaMixInsts, | 285 | .FmaMixInsts, |
| 274 | .PkFmacF16Inst, | ||
| 275 | .Vop3Literal, | ||
| 276 | .MimgR128, | 286 | .MimgR128, |
| 277 | .NoSramEccSupport, | 287 | .Vop3Literal, |
| 278 | .IntClampInsts, | ||
| 279 | .Movrel, | ||
| 280 | .Dpp8, | ||
| 281 | .ApertureRegs, | ||
| 282 | .NoDataDepHazard, | ||
| 283 | .CiInsts, | ||
| 284 | .FlatGlobalInsts, | 288 | .FlatGlobalInsts, |
| 285 | .BitInsts16, | ||
| 286 | .FlatScratchInsts, | 289 | .FlatScratchInsts, |
| 287 | .SMemrealtime, | 290 | .Fp64, |
| 288 | .Vop3p, | 291 | .FastFmaf, |
| 289 | .FlatInstOffsets, | 292 | .NoDataDepHazard, |
| 290 | .Inv2piInlineImm, | ||
| 291 | .Localmemorysize65536, | ||
| 292 | .Vscnt, | ||
| 293 | .Gfx10, | 293 | .Gfx10, |
| 294 | .InstFwdPrefetchBug, | 294 | .InstFwdPrefetchBug, |
| 295 | .Ldsbankcount32, | 295 | .Ldsbankcount32, |
| ... | @@ -306,392 +306,392 @@ pub const AmdGpuCpu = enum { | ... | @@ -306,392 +306,392 @@ pub const AmdGpuCpu = enum { |
| 306 | .VcmpxExecWarHazard, | 306 | .VcmpxExecWarHazard, |
| 307 | .VcmpxPermlaneHazard, | 307 | .VcmpxPermlaneHazard, |
| 308 | .Wavefrontsize32, | 308 | .Wavefrontsize32, |
| 309 | }, | 309 | }), |
| 310 | CpuInfo(@This()).create(.Gfx600, "gfx600", &[_]FeatureType { | 310 | CpuInfo(@This(), FeatureType).create(.Gfx600, "gfx600", &[_]FeatureType { |
| 311 | .CodeObjectV3, | 311 | .CodeObjectV3, |
| 312 | .NoXnackSupport, | 312 | .NoXnackSupport, |
| 313 | .FastFmaf, | 313 | .FastFmaf, |
| 314 | .Ldsbankcount32, | 314 | .Ldsbankcount32, |
| 315 | .Wavefrontsize64, | 315 | .Movrel, |
| 316 | .MimgR128, | 316 | .MimgR128, |
| 317 | .Fp64, | 317 | .Fp64, |
| 318 | .TrigReducedRange, | 318 | .TrigReducedRange, |
| 319 | .Wavefrontsize64, | ||
| 319 | .NoSramEccSupport, | 320 | .NoSramEccSupport, |
| 320 | .Movrel, | ||
| 321 | .Localmemorysize32768, | 321 | .Localmemorysize32768, |
| 322 | .SouthernIslands, | 322 | .SouthernIslands, |
| 323 | .HalfRate64Ops, | 323 | .HalfRate64Ops, |
| 324 | }, | 324 | }), |
| 325 | CpuInfo(@This()).create(.Gfx601, "gfx601", &[_]FeatureType { | 325 | CpuInfo(@This(), FeatureType).create(.Gfx601, "gfx601", &[_]FeatureType { |
| 326 | .CodeObjectV3, | 326 | .CodeObjectV3, |
| 327 | .NoXnackSupport, | 327 | .NoXnackSupport, |
| 328 | .Ldsbankcount32, | 328 | .Ldsbankcount32, |
| 329 | .Wavefrontsize64, | 329 | .Movrel, |
| 330 | .MimgR128, | 330 | .MimgR128, |
| 331 | .Fp64, | 331 | .Fp64, |
| 332 | .TrigReducedRange, | 332 | .TrigReducedRange, |
| 333 | .Wavefrontsize64, | ||
| 333 | .NoSramEccSupport, | 334 | .NoSramEccSupport, |
| 334 | .Movrel, | ||
| 335 | .Localmemorysize32768, | 335 | .Localmemorysize32768, |
| 336 | .SouthernIslands, | 336 | .SouthernIslands, |
| 337 | }, | 337 | }), |
| 338 | CpuInfo(@This()).create(.Gfx700, "gfx700", &[_]FeatureType { | 338 | CpuInfo(@This(), FeatureType).create(.Gfx700, "gfx700", &[_]FeatureType { |
| 339 | .CodeObjectV3, | 339 | .CodeObjectV3, |
| 340 | .NoXnackSupport, | 340 | .NoXnackSupport, |
| 341 | .Ldsbankcount32, | 341 | .Ldsbankcount32, |
| 342 | .Wavefrontsize64, | 342 | .Movrel, |
| 343 | .MimgR128, | 343 | .Gfx7Gfx8Gfx9Insts, |
| 344 | .Fp64, | 344 | .Fp64, |
| 345 | .TrigReducedRange, | ||
| 345 | .CiInsts, | 346 | .CiInsts, |
| 346 | .FlatAddressSpace, | 347 | .FlatAddressSpace, |
| 347 | .TrigReducedRange, | ||
| 348 | .NoSramEccSupport, | ||
| 349 | .Movrel, | ||
| 350 | .Localmemorysize65536, | 348 | .Localmemorysize65536, |
| 351 | .Gfx7Gfx8Gfx9Insts, | 349 | .Wavefrontsize64, |
| 350 | .NoSramEccSupport, | ||
| 351 | .MimgR128, | ||
| 352 | .SeaIslands, | 352 | .SeaIslands, |
| 353 | }, | 353 | }), |
| 354 | CpuInfo(@This()).create(.Gfx701, "gfx701", &[_]FeatureType { | 354 | CpuInfo(@This(), FeatureType).create(.Gfx701, "gfx701", &[_]FeatureType { |
| 355 | .CodeObjectV3, | 355 | .CodeObjectV3, |
| 356 | .NoXnackSupport, | 356 | .NoXnackSupport, |
| 357 | .FastFmaf, | 357 | .FastFmaf, |
| 358 | .Ldsbankcount32, | 358 | .Ldsbankcount32, |
| 359 | .Wavefrontsize64, | 359 | .Movrel, |
| 360 | .MimgR128, | 360 | .Gfx7Gfx8Gfx9Insts, |
| 361 | .Fp64, | 361 | .Fp64, |
| 362 | .TrigReducedRange, | ||
| 362 | .CiInsts, | 363 | .CiInsts, |
| 363 | .FlatAddressSpace, | 364 | .FlatAddressSpace, |
| 364 | .TrigReducedRange, | ||
| 365 | .NoSramEccSupport, | ||
| 366 | .Movrel, | ||
| 367 | .Localmemorysize65536, | 365 | .Localmemorysize65536, |
| 368 | .Gfx7Gfx8Gfx9Insts, | 366 | .Wavefrontsize64, |
| 369 | .SeaIslands, | 367 | .NoSramEccSupport, |
| 368 | .MimgR128, | ||
| 369 | .SeaIslands, | ||
| 370 | .HalfRate64Ops, | 370 | .HalfRate64Ops, |
| 371 | }, | 371 | }), |
| 372 | CpuInfo(@This()).create(.Gfx702, "gfx702", &[_]FeatureType { | 372 | CpuInfo(@This(), FeatureType).create(.Gfx702, "gfx702", &[_]FeatureType { |
| 373 | .CodeObjectV3, | 373 | .CodeObjectV3, |
| 374 | .NoXnackSupport, | 374 | .NoXnackSupport, |
| 375 | .FastFmaf, | 375 | .FastFmaf, |
| 376 | .Ldsbankcount16, | 376 | .Ldsbankcount16, |
| 377 | .Wavefrontsize64, | 377 | .Movrel, |
| 378 | .MimgR128, | 378 | .Gfx7Gfx8Gfx9Insts, |
| 379 | .Fp64, | 379 | .Fp64, |
| 380 | .TrigReducedRange, | ||
| 380 | .CiInsts, | 381 | .CiInsts, |
| 381 | .FlatAddressSpace, | 382 | .FlatAddressSpace, |
| 382 | .TrigReducedRange, | ||
| 383 | .NoSramEccSupport, | ||
| 384 | .Movrel, | ||
| 385 | .Localmemorysize65536, | 383 | .Localmemorysize65536, |
| 386 | .Gfx7Gfx8Gfx9Insts, | 384 | .Wavefrontsize64, |
| 385 | .NoSramEccSupport, | ||
| 386 | .MimgR128, | ||
| 387 | .SeaIslands, | 387 | .SeaIslands, |
| 388 | }, | 388 | }), |
| 389 | CpuInfo(@This()).create(.Gfx703, "gfx703", &[_]FeatureType { | 389 | CpuInfo(@This(), FeatureType).create(.Gfx703, "gfx703", &[_]FeatureType { |
| 390 | .CodeObjectV3, | 390 | .CodeObjectV3, |
| 391 | .NoXnackSupport, | 391 | .NoXnackSupport, |
| 392 | .Ldsbankcount16, | 392 | .Ldsbankcount16, |
| 393 | .Wavefrontsize64, | 393 | .Movrel, |
| 394 | .MimgR128, | 394 | .Gfx7Gfx8Gfx9Insts, |
| 395 | .Fp64, | 395 | .Fp64, |
| 396 | .TrigReducedRange, | ||
| 396 | .CiInsts, | 397 | .CiInsts, |
| 397 | .FlatAddressSpace, | 398 | .FlatAddressSpace, |
| 398 | .TrigReducedRange, | ||
| 399 | .NoSramEccSupport, | ||
| 400 | .Movrel, | ||
| 401 | .Localmemorysize65536, | 399 | .Localmemorysize65536, |
| 402 | .Gfx7Gfx8Gfx9Insts, | 400 | .Wavefrontsize64, |
| 401 | .NoSramEccSupport, | ||
| 402 | .MimgR128, | ||
| 403 | .SeaIslands, | 403 | .SeaIslands, |
| 404 | }, | 404 | }), |
| 405 | CpuInfo(@This()).create(.Gfx704, "gfx704", &[_]FeatureType { | 405 | CpuInfo(@This(), FeatureType).create(.Gfx704, "gfx704", &[_]FeatureType { |
| 406 | .CodeObjectV3, | 406 | .CodeObjectV3, |
| 407 | .NoXnackSupport, | 407 | .NoXnackSupport, |
| 408 | .Ldsbankcount32, | 408 | .Ldsbankcount32, |
| 409 | .Wavefrontsize64, | 409 | .Movrel, |
| 410 | .MimgR128, | 410 | .Gfx7Gfx8Gfx9Insts, |
| 411 | .Fp64, | 411 | .Fp64, |
| 412 | .TrigReducedRange, | ||
| 412 | .CiInsts, | 413 | .CiInsts, |
| 413 | .FlatAddressSpace, | 414 | .FlatAddressSpace, |
| 414 | .TrigReducedRange, | ||
| 415 | .NoSramEccSupport, | ||
| 416 | .Movrel, | ||
| 417 | .Localmemorysize65536, | 415 | .Localmemorysize65536, |
| 418 | .Gfx7Gfx8Gfx9Insts, | 416 | .Wavefrontsize64, |
| 417 | .NoSramEccSupport, | ||
| 418 | .MimgR128, | ||
| 419 | .SeaIslands, | 419 | .SeaIslands, |
| 420 | }, | 420 | }), |
| 421 | CpuInfo(@This()).create(.Gfx801, "gfx801", &[_]FeatureType { | 421 | CpuInfo(@This(), FeatureType).create(.Gfx801, "gfx801", &[_]FeatureType { |
| 422 | .CodeObjectV3, | 422 | .CodeObjectV3, |
| 423 | .FastFmaf, | 423 | .FastFmaf, |
| 424 | .Ldsbankcount32, | 424 | .Ldsbankcount32, |
| 425 | .UnpackedD16Vmem, | 425 | .UnpackedD16Vmem, |
| 426 | .Wavefrontsize64, | 426 | .IntClampInsts, |
| 427 | .Fp64, | 427 | .SdwaMav, |
| 428 | .Movrel, | ||
| 429 | .SMemrealtime, | ||
| 428 | .Gcn3Encoding, | 430 | .Gcn3Encoding, |
| 429 | .TrigReducedRange, | 431 | .TrigReducedRange, |
| 430 | .Sdwa, | 432 | .CiInsts, |
| 431 | .VgprIndexMode, | ||
| 432 | .Dpp, | ||
| 433 | .FlatAddressSpace, | 433 | .FlatAddressSpace, |
| 434 | .Gfx8Insts, | 434 | .Sdwa, |
| 435 | .Gfx7Gfx8Gfx9Insts, | 435 | .Wavefrontsize64, |
| 436 | .MimgR128, | ||
| 437 | .NoSramEccSupport, | 436 | .NoSramEccSupport, |
| 438 | .IntClampInsts, | ||
| 439 | .ScalarStores, | 437 | .ScalarStores, |
| 440 | .Movrel, | 438 | .Gfx7Gfx8Gfx9Insts, |
| 441 | .SdwaMav, | 439 | .Dpp, |
| 442 | .CiInsts, | 440 | .Localmemorysize65536, |
| 443 | .BitInsts16, | 441 | .BitInsts16, |
| 444 | .SMemrealtime, | 442 | .VgprIndexMode, |
| 443 | .Gfx8Insts, | ||
| 445 | .Inv2piInlineImm, | 444 | .Inv2piInlineImm, |
| 446 | .Localmemorysize65536, | 445 | .MimgR128, |
| 447 | .SdwaOutModsVopc, | 446 | .SdwaOutModsVopc, |
| 447 | .Fp64, | ||
| 448 | .VolcanicIslands, | 448 | .VolcanicIslands, |
| 449 | .Xnack, | 449 | .Xnack, |
| 450 | .HalfRate64Ops, | 450 | .HalfRate64Ops, |
| 451 | }, | 451 | }), |
| 452 | CpuInfo(@This()).create(.Gfx802, "gfx802", &[_]FeatureType { | 452 | CpuInfo(@This(), FeatureType).create(.Gfx802, "gfx802", &[_]FeatureType { |
| 453 | .CodeObjectV3, | 453 | .CodeObjectV3, |
| 454 | .NoXnackSupport, | 454 | .NoXnackSupport, |
| 455 | .Ldsbankcount32, | 455 | .Ldsbankcount32, |
| 456 | .SgprInitBug, | 456 | .SgprInitBug, |
| 457 | .UnpackedD16Vmem, | 457 | .UnpackedD16Vmem, |
| 458 | .Wavefrontsize64, | 458 | .IntClampInsts, |
| 459 | .Fp64, | 459 | .SdwaMav, |
| 460 | .Movrel, | ||
| 461 | .SMemrealtime, | ||
| 460 | .Gcn3Encoding, | 462 | .Gcn3Encoding, |
| 461 | .TrigReducedRange, | 463 | .TrigReducedRange, |
| 462 | .Sdwa, | 464 | .CiInsts, |
| 463 | .VgprIndexMode, | ||
| 464 | .Dpp, | ||
| 465 | .FlatAddressSpace, | 465 | .FlatAddressSpace, |
| 466 | .Gfx8Insts, | 466 | .Sdwa, |
| 467 | .Gfx7Gfx8Gfx9Insts, | 467 | .Wavefrontsize64, |
| 468 | .MimgR128, | ||
| 469 | .NoSramEccSupport, | 468 | .NoSramEccSupport, |
| 470 | .IntClampInsts, | ||
| 471 | .ScalarStores, | 469 | .ScalarStores, |
| 472 | .Movrel, | 470 | .Gfx7Gfx8Gfx9Insts, |
| 473 | .SdwaMav, | 471 | .Dpp, |
| 474 | .CiInsts, | 472 | .Localmemorysize65536, |
| 475 | .BitInsts16, | 473 | .BitInsts16, |
| 476 | .SMemrealtime, | 474 | .VgprIndexMode, |
| 475 | .Gfx8Insts, | ||
| 477 | .Inv2piInlineImm, | 476 | .Inv2piInlineImm, |
| 478 | .Localmemorysize65536, | 477 | .MimgR128, |
| 479 | .SdwaOutModsVopc, | 478 | .SdwaOutModsVopc, |
| 479 | .Fp64, | ||
| 480 | .VolcanicIslands, | 480 | .VolcanicIslands, |
| 481 | }, | 481 | }), |
| 482 | CpuInfo(@This()).create(.Gfx803, "gfx803", &[_]FeatureType { | 482 | CpuInfo(@This(), FeatureType).create(.Gfx803, "gfx803", &[_]FeatureType { |
| 483 | .CodeObjectV3, | 483 | .CodeObjectV3, |
| 484 | .NoXnackSupport, | 484 | .NoXnackSupport, |
| 485 | .Ldsbankcount32, | 485 | .Ldsbankcount32, |
| 486 | .UnpackedD16Vmem, | 486 | .UnpackedD16Vmem, |
| 487 | .Wavefrontsize64, | 487 | .IntClampInsts, |
| 488 | .Fp64, | 488 | .SdwaMav, |
| 489 | .Movrel, | ||
| 490 | .SMemrealtime, | ||
| 489 | .Gcn3Encoding, | 491 | .Gcn3Encoding, |
| 490 | .TrigReducedRange, | 492 | .TrigReducedRange, |
| 491 | .Sdwa, | 493 | .CiInsts, |
| 492 | .VgprIndexMode, | ||
| 493 | .Dpp, | ||
| 494 | .FlatAddressSpace, | 494 | .FlatAddressSpace, |
| 495 | .Gfx8Insts, | 495 | .Sdwa, |
| 496 | .Gfx7Gfx8Gfx9Insts, | 496 | .Wavefrontsize64, |
| 497 | .MimgR128, | ||
| 498 | .NoSramEccSupport, | 497 | .NoSramEccSupport, |
| 499 | .IntClampInsts, | ||
| 500 | .ScalarStores, | 498 | .ScalarStores, |
| 501 | .Movrel, | 499 | .Gfx7Gfx8Gfx9Insts, |
| 502 | .SdwaMav, | 500 | .Dpp, |
| 503 | .CiInsts, | 501 | .Localmemorysize65536, |
| 504 | .BitInsts16, | 502 | .BitInsts16, |
| 505 | .SMemrealtime, | 503 | .VgprIndexMode, |
| 504 | .Gfx8Insts, | ||
| 506 | .Inv2piInlineImm, | 505 | .Inv2piInlineImm, |
| 507 | .Localmemorysize65536, | 506 | .MimgR128, |
| 508 | .SdwaOutModsVopc, | 507 | .SdwaOutModsVopc, |
| 508 | .Fp64, | ||
| 509 | .VolcanicIslands, | 509 | .VolcanicIslands, |
| 510 | }, | 510 | }), |
| 511 | CpuInfo(@This()).create(.Gfx810, "gfx810", &[_]FeatureType { | 511 | CpuInfo(@This(), FeatureType).create(.Gfx810, "gfx810", &[_]FeatureType { |
| 512 | .CodeObjectV3, | 512 | .CodeObjectV3, |
| 513 | .Ldsbankcount16, | 513 | .Ldsbankcount16, |
| 514 | .Wavefrontsize64, | 514 | .IntClampInsts, |
| 515 | .Fp64, | 515 | .SdwaMav, |
| 516 | .Movrel, | ||
| 517 | .SMemrealtime, | ||
| 516 | .Gcn3Encoding, | 518 | .Gcn3Encoding, |
| 517 | .TrigReducedRange, | 519 | .TrigReducedRange, |
| 518 | .Sdwa, | 520 | .CiInsts, |
| 519 | .VgprIndexMode, | ||
| 520 | .Dpp, | ||
| 521 | .FlatAddressSpace, | 521 | .FlatAddressSpace, |
| 522 | .Gfx8Insts, | 522 | .Sdwa, |
| 523 | .Gfx7Gfx8Gfx9Insts, | 523 | .Wavefrontsize64, |
| 524 | .MimgR128, | ||
| 525 | .NoSramEccSupport, | 524 | .NoSramEccSupport, |
| 526 | .IntClampInsts, | ||
| 527 | .ScalarStores, | 525 | .ScalarStores, |
| 528 | .Movrel, | 526 | .Gfx7Gfx8Gfx9Insts, |
| 529 | .SdwaMav, | 527 | .Dpp, |
| 530 | .CiInsts, | 528 | .Localmemorysize65536, |
| 531 | .BitInsts16, | 529 | .BitInsts16, |
| 532 | .SMemrealtime, | 530 | .VgprIndexMode, |
| 531 | .Gfx8Insts, | ||
| 533 | .Inv2piInlineImm, | 532 | .Inv2piInlineImm, |
| 534 | .Localmemorysize65536, | 533 | .MimgR128, |
| 535 | .SdwaOutModsVopc, | 534 | .SdwaOutModsVopc, |
| 535 | .Fp64, | ||
| 536 | .VolcanicIslands, | 536 | .VolcanicIslands, |
| 537 | .Xnack, | 537 | .Xnack, |
| 538 | }, | 538 | }), |
| 539 | CpuInfo(@This()).create(.Gfx900, "gfx900", &[_]FeatureType { | 539 | CpuInfo(@This(), FeatureType).create(.Gfx900, "gfx900", &[_]FeatureType { |
| 540 | .CodeObjectV3, | 540 | .CodeObjectV3, |
| 541 | .NoSramEccSupport, | 541 | .NoSramEccSupport, |
| 542 | .NoXnackSupport, | 542 | .NoXnackSupport, |
| 543 | .Gfx9Insts, | 543 | .ApertureRegs, |
| 544 | .Wavefrontsize64, | 544 | .IntClampInsts, |
| 545 | .Fp64, | 545 | .SdwaOmod, |
| 546 | .Gcn3Encoding, | ||
| 547 | .FastFmaf, | ||
| 548 | .Sdwa, | ||
| 549 | .SdwaScalar, | 546 | .SdwaScalar, |
| 550 | .VgprIndexMode, | ||
| 551 | .Dpp, | ||
| 552 | .AddNoCarryInsts, | 547 | .AddNoCarryInsts, |
| 553 | .SdwaOmod, | ||
| 554 | .SdwaSdst, | ||
| 555 | .ScalarAtomics, | 548 | .ScalarAtomics, |
| 549 | .SMemrealtime, | ||
| 550 | .Gcn3Encoding, | ||
| 551 | .CiInsts, | ||
| 556 | .FlatAddressSpace, | 552 | .FlatAddressSpace, |
| 557 | .ScalarFlatScratchInsts, | 553 | .Sdwa, |
| 558 | .Gfx8Insts, | 554 | .Wavefrontsize64, |
| 555 | .SdwaSdst, | ||
| 556 | .FlatInstOffsets, | ||
| 557 | .ScalarStores, | ||
| 559 | .Gfx7Gfx8Gfx9Insts, | 558 | .Gfx7Gfx8Gfx9Insts, |
| 560 | .R128A16, | 559 | .R128A16, |
| 561 | .IntClampInsts, | 560 | .Dpp, |
| 562 | .ScalarStores, | 561 | .Localmemorysize65536, |
| 563 | .ApertureRegs, | ||
| 564 | .CiInsts, | ||
| 565 | .FlatGlobalInsts, | ||
| 566 | .BitInsts16, | ||
| 567 | .FlatScratchInsts, | ||
| 568 | .SMemrealtime, | ||
| 569 | .Vop3p, | 562 | .Vop3p, |
| 570 | .FlatInstOffsets, | 563 | .BitInsts16, |
| 564 | .VgprIndexMode, | ||
| 565 | .Gfx8Insts, | ||
| 571 | .Inv2piInlineImm, | 566 | .Inv2piInlineImm, |
| 572 | .Localmemorysize65536, | 567 | .Gfx9Insts, |
| 568 | .ScalarFlatScratchInsts, | ||
| 569 | .FlatGlobalInsts, | ||
| 570 | .FlatScratchInsts, | ||
| 571 | .Fp64, | ||
| 572 | .FastFmaf, | ||
| 573 | .Gfx9, | 573 | .Gfx9, |
| 574 | .Ldsbankcount32, | 574 | .Ldsbankcount32, |
| 575 | .MadMixInsts, | 575 | .MadMixInsts, |
| 576 | }, | 576 | }), |
| 577 | CpuInfo(@This()).create(.Gfx902, "gfx902", &[_]FeatureType { | 577 | CpuInfo(@This(), FeatureType).create(.Gfx902, "gfx902", &[_]FeatureType { |
| 578 | .CodeObjectV3, | 578 | .CodeObjectV3, |
| 579 | .NoSramEccSupport, | 579 | .NoSramEccSupport, |
| 580 | .Gfx9Insts, | 580 | .ApertureRegs, |
| 581 | .Wavefrontsize64, | 581 | .IntClampInsts, |
| 582 | .Fp64, | 582 | .SdwaOmod, |
| 583 | .Gcn3Encoding, | ||
| 584 | .FastFmaf, | ||
| 585 | .Sdwa, | ||
| 586 | .SdwaScalar, | 583 | .SdwaScalar, |
| 587 | .VgprIndexMode, | ||
| 588 | .Dpp, | ||
| 589 | .AddNoCarryInsts, | 584 | .AddNoCarryInsts, |
| 590 | .SdwaOmod, | ||
| 591 | .SdwaSdst, | ||
| 592 | .ScalarAtomics, | 585 | .ScalarAtomics, |
| 586 | .SMemrealtime, | ||
| 587 | .Gcn3Encoding, | ||
| 588 | .CiInsts, | ||
| 593 | .FlatAddressSpace, | 589 | .FlatAddressSpace, |
| 594 | .ScalarFlatScratchInsts, | 590 | .Sdwa, |
| 595 | .Gfx8Insts, | 591 | .Wavefrontsize64, |
| 592 | .SdwaSdst, | ||
| 593 | .FlatInstOffsets, | ||
| 594 | .ScalarStores, | ||
| 596 | .Gfx7Gfx8Gfx9Insts, | 595 | .Gfx7Gfx8Gfx9Insts, |
| 597 | .R128A16, | 596 | .R128A16, |
| 598 | .IntClampInsts, | 597 | .Dpp, |
| 599 | .ScalarStores, | 598 | .Localmemorysize65536, |
| 600 | .ApertureRegs, | ||
| 601 | .CiInsts, | ||
| 602 | .FlatGlobalInsts, | ||
| 603 | .BitInsts16, | ||
| 604 | .FlatScratchInsts, | ||
| 605 | .SMemrealtime, | ||
| 606 | .Vop3p, | 599 | .Vop3p, |
| 607 | .FlatInstOffsets, | 600 | .BitInsts16, |
| 601 | .VgprIndexMode, | ||
| 602 | .Gfx8Insts, | ||
| 608 | .Inv2piInlineImm, | 603 | .Inv2piInlineImm, |
| 609 | .Localmemorysize65536, | 604 | .Gfx9Insts, |
| 605 | .ScalarFlatScratchInsts, | ||
| 606 | .FlatGlobalInsts, | ||
| 607 | .FlatScratchInsts, | ||
| 608 | .Fp64, | ||
| 609 | .FastFmaf, | ||
| 610 | .Gfx9, | 610 | .Gfx9, |
| 611 | .Ldsbankcount32, | 611 | .Ldsbankcount32, |
| 612 | .MadMixInsts, | 612 | .MadMixInsts, |
| 613 | .Xnack, | 613 | .Xnack, |
| 614 | }, | 614 | }), |
| 615 | CpuInfo(@This()).create(.Gfx904, "gfx904", &[_]FeatureType { | 615 | CpuInfo(@This(), FeatureType).create(.Gfx904, "gfx904", &[_]FeatureType { |
| 616 | .CodeObjectV3, | 616 | .CodeObjectV3, |
| 617 | .NoSramEccSupport, | 617 | .NoSramEccSupport, |
| 618 | .NoXnackSupport, | 618 | .NoXnackSupport, |
| 619 | .FmaMixInsts, | 619 | .FmaMixInsts, |
| 620 | .Gfx9Insts, | 620 | .ApertureRegs, |
| 621 | .Wavefrontsize64, | 621 | .IntClampInsts, |
| 622 | .Fp64, | 622 | .SdwaOmod, |
| 623 | .Gcn3Encoding, | ||
| 624 | .FastFmaf, | ||
| 625 | .Sdwa, | ||
| 626 | .SdwaScalar, | 623 | .SdwaScalar, |
| 627 | .VgprIndexMode, | ||
| 628 | .Dpp, | ||
| 629 | .AddNoCarryInsts, | 624 | .AddNoCarryInsts, |
| 630 | .SdwaOmod, | ||
| 631 | .SdwaSdst, | ||
| 632 | .ScalarAtomics, | 625 | .ScalarAtomics, |
| 626 | .SMemrealtime, | ||
| 627 | .Gcn3Encoding, | ||
| 628 | .CiInsts, | ||
| 633 | .FlatAddressSpace, | 629 | .FlatAddressSpace, |
| 634 | .ScalarFlatScratchInsts, | 630 | .Sdwa, |
| 635 | .Gfx8Insts, | 631 | .Wavefrontsize64, |
| 632 | .SdwaSdst, | ||
| 633 | .FlatInstOffsets, | ||
| 634 | .ScalarStores, | ||
| 636 | .Gfx7Gfx8Gfx9Insts, | 635 | .Gfx7Gfx8Gfx9Insts, |
| 637 | .R128A16, | 636 | .R128A16, |
| 638 | .IntClampInsts, | 637 | .Dpp, |
| 639 | .ScalarStores, | 638 | .Localmemorysize65536, |
| 640 | .ApertureRegs, | ||
| 641 | .CiInsts, | ||
| 642 | .FlatGlobalInsts, | ||
| 643 | .BitInsts16, | ||
| 644 | .FlatScratchInsts, | ||
| 645 | .SMemrealtime, | ||
| 646 | .Vop3p, | 639 | .Vop3p, |
| 647 | .FlatInstOffsets, | 640 | .BitInsts16, |
| 641 | .VgprIndexMode, | ||
| 642 | .Gfx8Insts, | ||
| 648 | .Inv2piInlineImm, | 643 | .Inv2piInlineImm, |
| 649 | .Localmemorysize65536, | 644 | .Gfx9Insts, |
| 645 | .ScalarFlatScratchInsts, | ||
| 646 | .FlatGlobalInsts, | ||
| 647 | .FlatScratchInsts, | ||
| 648 | .Fp64, | ||
| 649 | .FastFmaf, | ||
| 650 | .Gfx9, | 650 | .Gfx9, |
| 651 | .Ldsbankcount32, | 651 | .Ldsbankcount32, |
| 652 | }, | 652 | }), |
| 653 | CpuInfo(@This()).create(.Gfx906, "gfx906", &[_]FeatureType { | 653 | CpuInfo(@This(), FeatureType).create(.Gfx906, "gfx906", &[_]FeatureType { |
| 654 | .CodeObjectV3, | 654 | .CodeObjectV3, |
| 655 | .DlInsts, | 655 | .DlInsts, |
| 656 | .NoXnackSupport, | 656 | .NoXnackSupport, |
| 657 | .Dot1Insts, | 657 | .Dot1Insts, |
| 658 | .Dot2Insts, | 658 | .Dot2Insts, |
| 659 | .FmaMixInsts, | 659 | .FmaMixInsts, |
| 660 | .Gfx9Insts, | 660 | .ApertureRegs, |
| 661 | .Wavefrontsize64, | 661 | .IntClampInsts, |
| 662 | .Fp64, | 662 | .SdwaOmod, |
| 663 | .Gcn3Encoding, | ||
| 664 | .FastFmaf, | ||
| 665 | .Sdwa, | ||
| 666 | .SdwaScalar, | 663 | .SdwaScalar, |
| 667 | .VgprIndexMode, | ||
| 668 | .Dpp, | ||
| 669 | .AddNoCarryInsts, | 664 | .AddNoCarryInsts, |
| 670 | .SdwaOmod, | ||
| 671 | .SdwaSdst, | ||
| 672 | .ScalarAtomics, | 665 | .ScalarAtomics, |
| 666 | .SMemrealtime, | ||
| 667 | .Gcn3Encoding, | ||
| 668 | .CiInsts, | ||
| 673 | .FlatAddressSpace, | 669 | .FlatAddressSpace, |
| 674 | .ScalarFlatScratchInsts, | 670 | .Sdwa, |
| 675 | .Gfx8Insts, | 671 | .Wavefrontsize64, |
| 672 | .SdwaSdst, | ||
| 673 | .FlatInstOffsets, | ||
| 674 | .ScalarStores, | ||
| 676 | .Gfx7Gfx8Gfx9Insts, | 675 | .Gfx7Gfx8Gfx9Insts, |
| 677 | .R128A16, | 676 | .R128A16, |
| 678 | .IntClampInsts, | 677 | .Dpp, |
| 679 | .ScalarStores, | 678 | .Localmemorysize65536, |
| 680 | .ApertureRegs, | ||
| 681 | .CiInsts, | ||
| 682 | .FlatGlobalInsts, | ||
| 683 | .BitInsts16, | ||
| 684 | .FlatScratchInsts, | ||
| 685 | .SMemrealtime, | ||
| 686 | .Vop3p, | 679 | .Vop3p, |
| 687 | .FlatInstOffsets, | 680 | .BitInsts16, |
| 681 | .VgprIndexMode, | ||
| 682 | .Gfx8Insts, | ||
| 688 | .Inv2piInlineImm, | 683 | .Inv2piInlineImm, |
| 689 | .Localmemorysize65536, | 684 | .Gfx9Insts, |
| 685 | .ScalarFlatScratchInsts, | ||
| 686 | .FlatGlobalInsts, | ||
| 687 | .FlatScratchInsts, | ||
| 688 | .Fp64, | ||
| 689 | .FastFmaf, | ||
| 690 | .Gfx9, | 690 | .Gfx9, |
| 691 | .Ldsbankcount32, | 691 | .Ldsbankcount32, |
| 692 | .HalfRate64Ops, | 692 | .HalfRate64Ops, |
| 693 | }, | 693 | }), |
| 694 | CpuInfo(@This()).create(.Gfx908, "gfx908", &[_]FeatureType { | 694 | CpuInfo(@This(), FeatureType).create(.Gfx908, "gfx908", &[_]FeatureType { |
| 695 | .AtomicFaddInsts, | 695 | .AtomicFaddInsts, |
| 696 | .CodeObjectV3, | 696 | .CodeObjectV3, |
| 697 | .DlInsts, | 697 | .DlInsts, |
| ... | @@ -702,36 +702,36 @@ pub const AmdGpuCpu = enum { | ... | @@ -702,36 +702,36 @@ pub const AmdGpuCpu = enum { |
| 702 | .Dot5Insts, | 702 | .Dot5Insts, |
| 703 | .Dot6Insts, | 703 | .Dot6Insts, |
| 704 | .FmaMixInsts, | 704 | .FmaMixInsts, |
| 705 | .Gfx9Insts, | 705 | .ApertureRegs, |
| 706 | .Wavefrontsize64, | 706 | .IntClampInsts, |
| 707 | .Fp64, | 707 | .SdwaOmod, |
| 708 | .Gcn3Encoding, | ||
| 709 | .FastFmaf, | ||
| 710 | .Sdwa, | ||
| 711 | .SdwaScalar, | 708 | .SdwaScalar, |
| 712 | .VgprIndexMode, | ||
| 713 | .Dpp, | ||
| 714 | .AddNoCarryInsts, | 709 | .AddNoCarryInsts, |
| 715 | .SdwaOmod, | ||
| 716 | .SdwaSdst, | ||
| 717 | .ScalarAtomics, | 710 | .ScalarAtomics, |
| 711 | .SMemrealtime, | ||
| 712 | .Gcn3Encoding, | ||
| 713 | .CiInsts, | ||
| 718 | .FlatAddressSpace, | 714 | .FlatAddressSpace, |
| 719 | .ScalarFlatScratchInsts, | 715 | .Sdwa, |
| 720 | .Gfx8Insts, | 716 | .Wavefrontsize64, |
| 717 | .SdwaSdst, | ||
| 718 | .FlatInstOffsets, | ||
| 719 | .ScalarStores, | ||
| 721 | .Gfx7Gfx8Gfx9Insts, | 720 | .Gfx7Gfx8Gfx9Insts, |
| 722 | .R128A16, | 721 | .R128A16, |
| 723 | .IntClampInsts, | 722 | .Dpp, |
| 724 | .ScalarStores, | 723 | .Localmemorysize65536, |
| 725 | .ApertureRegs, | ||
| 726 | .CiInsts, | ||
| 727 | .FlatGlobalInsts, | ||
| 728 | .BitInsts16, | ||
| 729 | .FlatScratchInsts, | ||
| 730 | .SMemrealtime, | ||
| 731 | .Vop3p, | 724 | .Vop3p, |
| 732 | .FlatInstOffsets, | 725 | .BitInsts16, |
| 726 | .VgprIndexMode, | ||
| 727 | .Gfx8Insts, | ||
| 733 | .Inv2piInlineImm, | 728 | .Inv2piInlineImm, |
| 734 | .Localmemorysize65536, | 729 | .Gfx9Insts, |
| 730 | .ScalarFlatScratchInsts, | ||
| 731 | .FlatGlobalInsts, | ||
| 732 | .FlatScratchInsts, | ||
| 733 | .Fp64, | ||
| 734 | .FastFmaf, | ||
| 735 | .Gfx9, | 735 | .Gfx9, |
| 736 | .Ldsbankcount32, | 736 | .Ldsbankcount32, |
| 737 | .MaiInsts, | 737 | .MaiInsts, |
| ... | @@ -739,322 +739,322 @@ pub const AmdGpuCpu = enum { | ... | @@ -739,322 +739,322 @@ pub const AmdGpuCpu = enum { |
| 739 | .PkFmacF16Inst, | 739 | .PkFmacF16Inst, |
| 740 | .SramEcc, | 740 | .SramEcc, |
| 741 | .HalfRate64Ops, | 741 | .HalfRate64Ops, |
| 742 | }, | 742 | }), |
| 743 | CpuInfo(@This()).create(.Gfx909, "gfx909", &[_]FeatureType { | 743 | CpuInfo(@This(), FeatureType).create(.Gfx909, "gfx909", &[_]FeatureType { |
| 744 | .CodeObjectV3, | 744 | .CodeObjectV3, |
| 745 | .Gfx9Insts, | 745 | .ApertureRegs, |
| 746 | .Wavefrontsize64, | 746 | .IntClampInsts, |
| 747 | .Fp64, | 747 | .SdwaOmod, |
| 748 | .Gcn3Encoding, | ||
| 749 | .FastFmaf, | ||
| 750 | .Sdwa, | ||
| 751 | .SdwaScalar, | 748 | .SdwaScalar, |
| 752 | .VgprIndexMode, | ||
| 753 | .Dpp, | ||
| 754 | .AddNoCarryInsts, | 749 | .AddNoCarryInsts, |
| 755 | .SdwaOmod, | ||
| 756 | .SdwaSdst, | ||
| 757 | .ScalarAtomics, | 750 | .ScalarAtomics, |
| 751 | .SMemrealtime, | ||
| 752 | .Gcn3Encoding, | ||
| 753 | .CiInsts, | ||
| 758 | .FlatAddressSpace, | 754 | .FlatAddressSpace, |
| 759 | .ScalarFlatScratchInsts, | 755 | .Sdwa, |
| 760 | .Gfx8Insts, | 756 | .Wavefrontsize64, |
| 757 | .SdwaSdst, | ||
| 758 | .FlatInstOffsets, | ||
| 759 | .ScalarStores, | ||
| 761 | .Gfx7Gfx8Gfx9Insts, | 760 | .Gfx7Gfx8Gfx9Insts, |
| 762 | .R128A16, | 761 | .R128A16, |
| 763 | .IntClampInsts, | 762 | .Dpp, |
| 764 | .ScalarStores, | 763 | .Localmemorysize65536, |
| 765 | .ApertureRegs, | ||
| 766 | .CiInsts, | ||
| 767 | .FlatGlobalInsts, | ||
| 768 | .BitInsts16, | ||
| 769 | .FlatScratchInsts, | ||
| 770 | .SMemrealtime, | ||
| 771 | .Vop3p, | 764 | .Vop3p, |
| 772 | .FlatInstOffsets, | 765 | .BitInsts16, |
| 766 | .VgprIndexMode, | ||
| 767 | .Gfx8Insts, | ||
| 773 | .Inv2piInlineImm, | 768 | .Inv2piInlineImm, |
| 774 | .Localmemorysize65536, | 769 | .Gfx9Insts, |
| 770 | .ScalarFlatScratchInsts, | ||
| 771 | .FlatGlobalInsts, | ||
| 772 | .FlatScratchInsts, | ||
| 773 | .Fp64, | ||
| 774 | .FastFmaf, | ||
| 775 | .Gfx9, | 775 | .Gfx9, |
| 776 | .Ldsbankcount32, | 776 | .Ldsbankcount32, |
| 777 | .MadMixInsts, | 777 | .MadMixInsts, |
| 778 | .Xnack, | 778 | .Xnack, |
| 779 | }, | 779 | }), |
| 780 | CpuInfo(@This()).create(.Hainan, "hainan", &[_]FeatureType { | 780 | CpuInfo(@This(), FeatureType).create(.Hainan, "hainan", &[_]FeatureType { |
| 781 | .CodeObjectV3, | 781 | .CodeObjectV3, |
| 782 | .NoXnackSupport, | 782 | .NoXnackSupport, |
| 783 | .Ldsbankcount32, | 783 | .Ldsbankcount32, |
| 784 | .Wavefrontsize64, | 784 | .Movrel, |
| 785 | .MimgR128, | 785 | .MimgR128, |
| 786 | .Fp64, | 786 | .Fp64, |
| 787 | .TrigReducedRange, | 787 | .TrigReducedRange, |
| 788 | .Wavefrontsize64, | ||
| 788 | .NoSramEccSupport, | 789 | .NoSramEccSupport, |
| 789 | .Movrel, | ||
| 790 | .Localmemorysize32768, | 790 | .Localmemorysize32768, |
| 791 | .SouthernIslands, | 791 | .SouthernIslands, |
| 792 | }, | 792 | }), |
| 793 | CpuInfo(@This()).create(.Hawaii, "hawaii", &[_]FeatureType { | 793 | CpuInfo(@This(), FeatureType).create(.Hawaii, "hawaii", &[_]FeatureType { |
| 794 | .CodeObjectV3, | 794 | .CodeObjectV3, |
| 795 | .NoXnackSupport, | 795 | .NoXnackSupport, |
| 796 | .FastFmaf, | 796 | .FastFmaf, |
| 797 | .Ldsbankcount32, | 797 | .Ldsbankcount32, |
| 798 | .Wavefrontsize64, | 798 | .Movrel, |
| 799 | .MimgR128, | 799 | .Gfx7Gfx8Gfx9Insts, |
| 800 | .Fp64, | 800 | .Fp64, |
| 801 | .TrigReducedRange, | ||
| 801 | .CiInsts, | 802 | .CiInsts, |
| 802 | .FlatAddressSpace, | 803 | .FlatAddressSpace, |
| 803 | .TrigReducedRange, | ||
| 804 | .NoSramEccSupport, | ||
| 805 | .Movrel, | ||
| 806 | .Localmemorysize65536, | 804 | .Localmemorysize65536, |
| 807 | .Gfx7Gfx8Gfx9Insts, | 805 | .Wavefrontsize64, |
| 806 | .NoSramEccSupport, | ||
| 807 | .MimgR128, | ||
| 808 | .SeaIslands, | 808 | .SeaIslands, |
| 809 | .HalfRate64Ops, | 809 | .HalfRate64Ops, |
| 810 | }, | 810 | }), |
| 811 | CpuInfo(@This()).create(.Iceland, "iceland", &[_]FeatureType { | 811 | CpuInfo(@This(), FeatureType).create(.Iceland, "iceland", &[_]FeatureType { |
| 812 | .CodeObjectV3, | 812 | .CodeObjectV3, |
| 813 | .NoXnackSupport, | 813 | .NoXnackSupport, |
| 814 | .Ldsbankcount32, | 814 | .Ldsbankcount32, |
| 815 | .SgprInitBug, | 815 | .SgprInitBug, |
| 816 | .UnpackedD16Vmem, | 816 | .UnpackedD16Vmem, |
| 817 | .Wavefrontsize64, | 817 | .IntClampInsts, |
| 818 | .Fp64, | 818 | .SdwaMav, |
| 819 | .Movrel, | ||
| 820 | .SMemrealtime, | ||
| 819 | .Gcn3Encoding, | 821 | .Gcn3Encoding, |
| 820 | .TrigReducedRange, | 822 | .TrigReducedRange, |
| 821 | .Sdwa, | 823 | .CiInsts, |
| 822 | .VgprIndexMode, | ||
| 823 | .Dpp, | ||
| 824 | .FlatAddressSpace, | 824 | .FlatAddressSpace, |
| 825 | .Gfx8Insts, | 825 | .Sdwa, |
| 826 | .Gfx7Gfx8Gfx9Insts, | 826 | .Wavefrontsize64, |
| 827 | .MimgR128, | ||
| 828 | .NoSramEccSupport, | 827 | .NoSramEccSupport, |
| 829 | .IntClampInsts, | ||
| 830 | .ScalarStores, | 828 | .ScalarStores, |
| 831 | .Movrel, | 829 | .Gfx7Gfx8Gfx9Insts, |
| 832 | .SdwaMav, | 830 | .Dpp, |
| 833 | .CiInsts, | 831 | .Localmemorysize65536, |
| 834 | .BitInsts16, | 832 | .BitInsts16, |
| 835 | .SMemrealtime, | 833 | .VgprIndexMode, |
| 834 | .Gfx8Insts, | ||
| 836 | .Inv2piInlineImm, | 835 | .Inv2piInlineImm, |
| 837 | .Localmemorysize65536, | 836 | .MimgR128, |
| 838 | .SdwaOutModsVopc, | 837 | .SdwaOutModsVopc, |
| 838 | .Fp64, | ||
| 839 | .VolcanicIslands, | 839 | .VolcanicIslands, |
| 840 | }, | 840 | }), |
| 841 | CpuInfo(@This()).create(.Kabini, "kabini", &[_]FeatureType { | 841 | CpuInfo(@This(), FeatureType).create(.Kabini, "kabini", &[_]FeatureType { |
| 842 | .CodeObjectV3, | 842 | .CodeObjectV3, |
| 843 | .NoXnackSupport, | 843 | .NoXnackSupport, |
| 844 | .Ldsbankcount16, | 844 | .Ldsbankcount16, |
| 845 | .Wavefrontsize64, | 845 | .Movrel, |
| 846 | .MimgR128, | 846 | .Gfx7Gfx8Gfx9Insts, |
| 847 | .Fp64, | 847 | .Fp64, |
| 848 | .TrigReducedRange, | ||
| 848 | .CiInsts, | 849 | .CiInsts, |
| 849 | .FlatAddressSpace, | 850 | .FlatAddressSpace, |
| 850 | .TrigReducedRange, | ||
| 851 | .NoSramEccSupport, | ||
| 852 | .Movrel, | ||
| 853 | .Localmemorysize65536, | 851 | .Localmemorysize65536, |
| 854 | .Gfx7Gfx8Gfx9Insts, | 852 | .Wavefrontsize64, |
| 853 | .NoSramEccSupport, | ||
| 854 | .MimgR128, | ||
| 855 | .SeaIslands, | 855 | .SeaIslands, |
| 856 | }, | 856 | }), |
| 857 | CpuInfo(@This()).create(.Kaveri, "kaveri", &[_]FeatureType { | 857 | CpuInfo(@This(), FeatureType).create(.Kaveri, "kaveri", &[_]FeatureType { |
| 858 | .CodeObjectV3, | 858 | .CodeObjectV3, |
| 859 | .NoXnackSupport, | 859 | .NoXnackSupport, |
| 860 | .Ldsbankcount32, | 860 | .Ldsbankcount32, |
| 861 | .Wavefrontsize64, | 861 | .Movrel, |
| 862 | .MimgR128, | 862 | .Gfx7Gfx8Gfx9Insts, |
| 863 | .Fp64, | 863 | .Fp64, |
| 864 | .TrigReducedRange, | ||
| 864 | .CiInsts, | 865 | .CiInsts, |
| 865 | .FlatAddressSpace, | 866 | .FlatAddressSpace, |
| 866 | .TrigReducedRange, | ||
| 867 | .NoSramEccSupport, | ||
| 868 | .Movrel, | ||
| 869 | .Localmemorysize65536, | 867 | .Localmemorysize65536, |
| 870 | .Gfx7Gfx8Gfx9Insts, | 868 | .Wavefrontsize64, |
| 869 | .NoSramEccSupport, | ||
| 870 | .MimgR128, | ||
| 871 | .SeaIslands, | 871 | .SeaIslands, |
| 872 | }, | 872 | }), |
| 873 | CpuInfo(@This()).create(.Mullins, "mullins", &[_]FeatureType { | 873 | CpuInfo(@This(), FeatureType).create(.Mullins, "mullins", &[_]FeatureType { |
| 874 | .CodeObjectV3, | 874 | .CodeObjectV3, |
| 875 | .NoXnackSupport, | 875 | .NoXnackSupport, |
| 876 | .Ldsbankcount16, | 876 | .Ldsbankcount16, |
| 877 | .Wavefrontsize64, | 877 | .Movrel, |
| 878 | .MimgR128, | 878 | .Gfx7Gfx8Gfx9Insts, |
| 879 | .Fp64, | 879 | .Fp64, |
| 880 | .TrigReducedRange, | ||
| 880 | .CiInsts, | 881 | .CiInsts, |
| 881 | .FlatAddressSpace, | 882 | .FlatAddressSpace, |
| 882 | .TrigReducedRange, | ||
| 883 | .NoSramEccSupport, | ||
| 884 | .Movrel, | ||
| 885 | .Localmemorysize65536, | 883 | .Localmemorysize65536, |
| 886 | .Gfx7Gfx8Gfx9Insts, | 884 | .Wavefrontsize64, |
| 885 | .NoSramEccSupport, | ||
| 886 | .MimgR128, | ||
| 887 | .SeaIslands, | 887 | .SeaIslands, |
| 888 | }, | 888 | }), |
| 889 | CpuInfo(@This()).create(.Oland, "oland", &[_]FeatureType { | 889 | CpuInfo(@This(), FeatureType).create(.Oland, "oland", &[_]FeatureType { |
| 890 | .CodeObjectV3, | 890 | .CodeObjectV3, |
| 891 | .NoXnackSupport, | 891 | .NoXnackSupport, |
| 892 | .Ldsbankcount32, | 892 | .Ldsbankcount32, |
| 893 | .Wavefrontsize64, | 893 | .Movrel, |
| 894 | .MimgR128, | 894 | .MimgR128, |
| 895 | .Fp64, | 895 | .Fp64, |
| 896 | .TrigReducedRange, | 896 | .TrigReducedRange, |
| 897 | .Wavefrontsize64, | ||
| 897 | .NoSramEccSupport, | 898 | .NoSramEccSupport, |
| 898 | .Movrel, | ||
| 899 | .Localmemorysize32768, | 899 | .Localmemorysize32768, |
| 900 | .SouthernIslands, | 900 | .SouthernIslands, |
| 901 | }, | 901 | }), |
| 902 | CpuInfo(@This()).create(.Pitcairn, "pitcairn", &[_]FeatureType { | 902 | CpuInfo(@This(), FeatureType).create(.Pitcairn, "pitcairn", &[_]FeatureType { |
| 903 | .CodeObjectV3, | 903 | .CodeObjectV3, |
| 904 | .NoXnackSupport, | 904 | .NoXnackSupport, |
| 905 | .Ldsbankcount32, | 905 | .Ldsbankcount32, |
| 906 | .Wavefrontsize64, | 906 | .Movrel, |
| 907 | .MimgR128, | 907 | .MimgR128, |
| 908 | .Fp64, | 908 | .Fp64, |
| 909 | .TrigReducedRange, | 909 | .TrigReducedRange, |
| 910 | .Wavefrontsize64, | ||
| 910 | .NoSramEccSupport, | 911 | .NoSramEccSupport, |
| 911 | .Movrel, | ||
| 912 | .Localmemorysize32768, | 912 | .Localmemorysize32768, |
| 913 | .SouthernIslands, | 913 | .SouthernIslands, |
| 914 | }, | 914 | }), |
| 915 | CpuInfo(@This()).create(.Polaris10, "polaris10", &[_]FeatureType { | 915 | CpuInfo(@This(), FeatureType).create(.Polaris10, "polaris10", &[_]FeatureType { |
| 916 | .CodeObjectV3, | 916 | .CodeObjectV3, |
| 917 | .NoXnackSupport, | 917 | .NoXnackSupport, |
| 918 | .Ldsbankcount32, | 918 | .Ldsbankcount32, |
| 919 | .UnpackedD16Vmem, | 919 | .UnpackedD16Vmem, |
| 920 | .Wavefrontsize64, | 920 | .IntClampInsts, |
| 921 | .Fp64, | 921 | .SdwaMav, |
| 922 | .Movrel, | ||
| 923 | .SMemrealtime, | ||
| 922 | .Gcn3Encoding, | 924 | .Gcn3Encoding, |
| 923 | .TrigReducedRange, | 925 | .TrigReducedRange, |
| 924 | .Sdwa, | 926 | .CiInsts, |
| 925 | .VgprIndexMode, | ||
| 926 | .Dpp, | ||
| 927 | .FlatAddressSpace, | 927 | .FlatAddressSpace, |
| 928 | .Gfx8Insts, | 928 | .Sdwa, |
| 929 | .Gfx7Gfx8Gfx9Insts, | 929 | .Wavefrontsize64, |
| 930 | .MimgR128, | ||
| 931 | .NoSramEccSupport, | 930 | .NoSramEccSupport, |
| 932 | .IntClampInsts, | ||
| 933 | .ScalarStores, | 931 | .ScalarStores, |
| 934 | .Movrel, | 932 | .Gfx7Gfx8Gfx9Insts, |
| 935 | .SdwaMav, | 933 | .Dpp, |
| 936 | .CiInsts, | 934 | .Localmemorysize65536, |
| 937 | .BitInsts16, | 935 | .BitInsts16, |
| 938 | .SMemrealtime, | 936 | .VgprIndexMode, |
| 937 | .Gfx8Insts, | ||
| 939 | .Inv2piInlineImm, | 938 | .Inv2piInlineImm, |
| 940 | .Localmemorysize65536, | 939 | .MimgR128, |
| 941 | .SdwaOutModsVopc, | 940 | .SdwaOutModsVopc, |
| 941 | .Fp64, | ||
| 942 | .VolcanicIslands, | 942 | .VolcanicIslands, |
| 943 | }, | 943 | }), |
| 944 | CpuInfo(@This()).create(.Polaris11, "polaris11", &[_]FeatureType { | 944 | CpuInfo(@This(), FeatureType).create(.Polaris11, "polaris11", &[_]FeatureType { |
| 945 | .CodeObjectV3, | 945 | .CodeObjectV3, |
| 946 | .NoXnackSupport, | 946 | .NoXnackSupport, |
| 947 | .Ldsbankcount32, | 947 | .Ldsbankcount32, |
| 948 | .UnpackedD16Vmem, | 948 | .UnpackedD16Vmem, |
| 949 | .Wavefrontsize64, | 949 | .IntClampInsts, |
| 950 | .Fp64, | 950 | .SdwaMav, |
| 951 | .Movrel, | ||
| 952 | .SMemrealtime, | ||
| 951 | .Gcn3Encoding, | 953 | .Gcn3Encoding, |
| 952 | .TrigReducedRange, | 954 | .TrigReducedRange, |
| 953 | .Sdwa, | 955 | .CiInsts, |
| 954 | .VgprIndexMode, | ||
| 955 | .Dpp, | ||
| 956 | .FlatAddressSpace, | 956 | .FlatAddressSpace, |
| 957 | .Gfx8Insts, | 957 | .Sdwa, |
| 958 | .Gfx7Gfx8Gfx9Insts, | 958 | .Wavefrontsize64, |
| 959 | .MimgR128, | ||
| 960 | .NoSramEccSupport, | 959 | .NoSramEccSupport, |
| 961 | .IntClampInsts, | ||
| 962 | .ScalarStores, | 960 | .ScalarStores, |
| 963 | .Movrel, | 961 | .Gfx7Gfx8Gfx9Insts, |
| 964 | .SdwaMav, | 962 | .Dpp, |
| 965 | .CiInsts, | 963 | .Localmemorysize65536, |
| 966 | .BitInsts16, | 964 | .BitInsts16, |
| 967 | .SMemrealtime, | 965 | .VgprIndexMode, |
| 966 | .Gfx8Insts, | ||
| 968 | .Inv2piInlineImm, | 967 | .Inv2piInlineImm, |
| 969 | .Localmemorysize65536, | 968 | .MimgR128, |
| 970 | .SdwaOutModsVopc, | 969 | .SdwaOutModsVopc, |
| 970 | .Fp64, | ||
| 971 | .VolcanicIslands, | 971 | .VolcanicIslands, |
| 972 | }, | 972 | }), |
| 973 | CpuInfo(@This()).create(.Stoney, "stoney", &[_]FeatureType { | 973 | CpuInfo(@This(), FeatureType).create(.Stoney, "stoney", &[_]FeatureType { |
| 974 | .CodeObjectV3, | 974 | .CodeObjectV3, |
| 975 | .Ldsbankcount16, | 975 | .Ldsbankcount16, |
| 976 | .Wavefrontsize64, | 976 | .IntClampInsts, |
| 977 | .Fp64, | 977 | .SdwaMav, |
| 978 | .Movrel, | ||
| 979 | .SMemrealtime, | ||
| 978 | .Gcn3Encoding, | 980 | .Gcn3Encoding, |
| 979 | .TrigReducedRange, | 981 | .TrigReducedRange, |
| 980 | .Sdwa, | 982 | .CiInsts, |
| 981 | .VgprIndexMode, | ||
| 982 | .Dpp, | ||
| 983 | .FlatAddressSpace, | 983 | .FlatAddressSpace, |
| 984 | .Gfx8Insts, | 984 | .Sdwa, |
| 985 | .Gfx7Gfx8Gfx9Insts, | 985 | .Wavefrontsize64, |
| 986 | .MimgR128, | ||
| 987 | .NoSramEccSupport, | 986 | .NoSramEccSupport, |
| 988 | .IntClampInsts, | ||
| 989 | .ScalarStores, | 987 | .ScalarStores, |
| 990 | .Movrel, | 988 | .Gfx7Gfx8Gfx9Insts, |
| 991 | .SdwaMav, | 989 | .Dpp, |
| 992 | .CiInsts, | 990 | .Localmemorysize65536, |
| 993 | .BitInsts16, | 991 | .BitInsts16, |
| 994 | .SMemrealtime, | 992 | .VgprIndexMode, |
| 993 | .Gfx8Insts, | ||
| 995 | .Inv2piInlineImm, | 994 | .Inv2piInlineImm, |
| 996 | .Localmemorysize65536, | 995 | .MimgR128, |
| 997 | .SdwaOutModsVopc, | 996 | .SdwaOutModsVopc, |
| 997 | .Fp64, | ||
| 998 | .VolcanicIslands, | 998 | .VolcanicIslands, |
| 999 | .Xnack, | 999 | .Xnack, |
| 1000 | }, | 1000 | }), |
| 1001 | CpuInfo(@This()).create(.Tahiti, "tahiti", &[_]FeatureType { | 1001 | CpuInfo(@This(), FeatureType).create(.Tahiti, "tahiti", &[_]FeatureType { |
| 1002 | .CodeObjectV3, | 1002 | .CodeObjectV3, |
| 1003 | .NoXnackSupport, | 1003 | .NoXnackSupport, |
| 1004 | .FastFmaf, | 1004 | .FastFmaf, |
| 1005 | .Ldsbankcount32, | 1005 | .Ldsbankcount32, |
| 1006 | .Wavefrontsize64, | 1006 | .Movrel, |
| 1007 | .MimgR128, | 1007 | .MimgR128, |
| 1008 | .Fp64, | 1008 | .Fp64, |
| 1009 | .TrigReducedRange, | 1009 | .TrigReducedRange, |
| 1010 | .Wavefrontsize64, | ||
| 1010 | .NoSramEccSupport, | 1011 | .NoSramEccSupport, |
| 1011 | .Movrel, | ||
| 1012 | .Localmemorysize32768, | 1012 | .Localmemorysize32768, |
| 1013 | .SouthernIslands, | 1013 | .SouthernIslands, |
| 1014 | .HalfRate64Ops, | 1014 | .HalfRate64Ops, |
| 1015 | }, | 1015 | }), |
| 1016 | CpuInfo(@This()).create(.Tonga, "tonga", &[_]FeatureType { | 1016 | CpuInfo(@This(), FeatureType).create(.Tonga, "tonga", &[_]FeatureType { |
| 1017 | .CodeObjectV3, | 1017 | .CodeObjectV3, |
| 1018 | .NoXnackSupport, | 1018 | .NoXnackSupport, |
| 1019 | .Ldsbankcount32, | 1019 | .Ldsbankcount32, |
| 1020 | .SgprInitBug, | 1020 | .SgprInitBug, |
| 1021 | .UnpackedD16Vmem, | 1021 | .UnpackedD16Vmem, |
| 1022 | .Wavefrontsize64, | 1022 | .IntClampInsts, |
| 1023 | .Fp64, | 1023 | .SdwaMav, |
| 1024 | .Movrel, | ||
| 1025 | .SMemrealtime, | ||
| 1024 | .Gcn3Encoding, | 1026 | .Gcn3Encoding, |
| 1025 | .TrigReducedRange, | 1027 | .TrigReducedRange, |
| 1026 | .Sdwa, | 1028 | .CiInsts, |
| 1027 | .VgprIndexMode, | ||
| 1028 | .Dpp, | ||
| 1029 | .FlatAddressSpace, | 1029 | .FlatAddressSpace, |
| 1030 | .Gfx8Insts, | 1030 | .Sdwa, |
| 1031 | .Gfx7Gfx8Gfx9Insts, | 1031 | .Wavefrontsize64, |
| 1032 | .MimgR128, | ||
| 1033 | .NoSramEccSupport, | 1032 | .NoSramEccSupport, |
| 1034 | .IntClampInsts, | ||
| 1035 | .ScalarStores, | 1033 | .ScalarStores, |
| 1036 | .Movrel, | 1034 | .Gfx7Gfx8Gfx9Insts, |
| 1037 | .SdwaMav, | 1035 | .Dpp, |
| 1038 | .CiInsts, | 1036 | .Localmemorysize65536, |
| 1039 | .BitInsts16, | 1037 | .BitInsts16, |
| 1040 | .SMemrealtime, | 1038 | .VgprIndexMode, |
| 1039 | .Gfx8Insts, | ||
| 1041 | .Inv2piInlineImm, | 1040 | .Inv2piInlineImm, |
| 1042 | .Localmemorysize65536, | 1041 | .MimgR128, |
| 1043 | .SdwaOutModsVopc, | 1042 | .SdwaOutModsVopc, |
| 1043 | .Fp64, | ||
| 1044 | .VolcanicIslands, | 1044 | .VolcanicIslands, |
| 1045 | }, | 1045 | }), |
| 1046 | CpuInfo(@This()).create(.Verde, "verde", &[_]FeatureType { | 1046 | CpuInfo(@This(), FeatureType).create(.Verde, "verde", &[_]FeatureType { |
| 1047 | .CodeObjectV3, | 1047 | .CodeObjectV3, |
| 1048 | .NoXnackSupport, | 1048 | .NoXnackSupport, |
| 1049 | .Ldsbankcount32, | 1049 | .Ldsbankcount32, |
| 1050 | .Wavefrontsize64, | 1050 | .Movrel, |
| 1051 | .MimgR128, | 1051 | .MimgR128, |
| 1052 | .Fp64, | 1052 | .Fp64, |
| 1053 | .TrigReducedRange, | 1053 | .TrigReducedRange, |
| 1054 | .Wavefrontsize64, | ||
| 1054 | .NoSramEccSupport, | 1055 | .NoSramEccSupport, |
| 1055 | .Movrel, | ||
| 1056 | .Localmemorysize32768, | 1056 | .Localmemorysize32768, |
| 1057 | .SouthernIslands, | 1057 | .SouthernIslands, |
| 1058 | }, | 1058 | }), |
| 1059 | }; | 1059 | }; |
| 1060 | }; | 1060 | }; |
lib/std/target/cpu/ArmCpu.zig+509-509| ... | @@ -86,154 +86,154 @@ pub const ArmCpu = enum { | ... | @@ -86,154 +86,154 @@ pub const ArmCpu = enum { |
| 86 | Swift, | 86 | Swift, |
| 87 | Xscale, | 87 | Xscale, |
| 88 | 88 | ||
| 89 | pub fn getInfo(self: @This()) CpuInfo { | 89 | const FeatureType = feature.ArmFeature; |
| 90 | |||
| 91 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 90 | return cpu_infos[@enumToInt(self)]; | 92 | return cpu_infos[@enumToInt(self)]; |
| 91 | } | 93 | } |
| 92 | 94 | ||
| 93 | pub const FeatureType = feature.ArmFeature; | 95 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 94 | 96 | CpuInfo(@This(), FeatureType).create(.Arm1020e, "arm1020e", &[_]FeatureType { | |
| 95 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 96 | CpuInfo(@This()).create(.Arm1020e, "arm1020e", &[_]FeatureType { | ||
| 97 | .V4t, | 97 | .V4t, |
| 98 | .Armv5te, | 98 | .Armv5te, |
| 99 | }, | 99 | }), |
| 100 | CpuInfo(@This()).create(.Arm1020t, "arm1020t", &[_]FeatureType { | 100 | CpuInfo(@This(), FeatureType).create(.Arm1020t, "arm1020t", &[_]FeatureType { |
| 101 | .V4t, | 101 | .V4t, |
| 102 | .Armv5t, | 102 | .Armv5t, |
| 103 | }, | 103 | }), |
| 104 | CpuInfo(@This()).create(.Arm1022e, "arm1022e", &[_]FeatureType { | 104 | CpuInfo(@This(), FeatureType).create(.Arm1022e, "arm1022e", &[_]FeatureType { |
| 105 | .V4t, | 105 | .V4t, |
| 106 | .Armv5te, | 106 | .Armv5te, |
| 107 | }, | 107 | }), |
| 108 | CpuInfo(@This()).create(.Arm10e, "arm10e", &[_]FeatureType { | 108 | CpuInfo(@This(), FeatureType).create(.Arm10e, "arm10e", &[_]FeatureType { |
| 109 | .V4t, | 109 | .V4t, |
| 110 | .Armv5te, | 110 | .Armv5te, |
| 111 | }, | 111 | }), |
| 112 | CpuInfo(@This()).create(.Arm10tdmi, "arm10tdmi", &[_]FeatureType { | 112 | CpuInfo(@This(), FeatureType).create(.Arm10tdmi, "arm10tdmi", &[_]FeatureType { |
| 113 | .V4t, | 113 | .V4t, |
| 114 | .Armv5t, | 114 | .Armv5t, |
| 115 | }, | 115 | }), |
| 116 | CpuInfo(@This()).create(.Arm1136jS, "arm1136j-s", &[_]FeatureType { | 116 | CpuInfo(@This(), FeatureType).create(.Arm1136jS, "arm1136j-s", &[_]FeatureType { |
| 117 | .V4t, | 117 | .V4t, |
| 118 | .Dsp, | 118 | .Dsp, |
| 119 | .Armv6, | 119 | .Armv6, |
| 120 | }, | 120 | }), |
| 121 | CpuInfo(@This()).create(.Arm1136jfS, "arm1136jf-s", &[_]FeatureType { | 121 | CpuInfo(@This(), FeatureType).create(.Arm1136jfS, "arm1136jf-s", &[_]FeatureType { |
| 122 | .V4t, | 122 | .V4t, |
| 123 | .Dsp, | 123 | .Dsp, |
| 124 | .Armv6, | 124 | .Armv6, |
| 125 | .Slowfpvmlx, | 125 | .Slowfpvmlx, |
| 126 | .Fpregs, | 126 | .Fpregs, |
| 127 | .Vfp2, | 127 | .Vfp2, |
| 128 | }, | 128 | }), |
| 129 | CpuInfo(@This()).create(.Arm1156t2S, "arm1156t2-s", &[_]FeatureType { | 129 | CpuInfo(@This(), FeatureType).create(.Arm1156t2S, "arm1156t2-s", &[_]FeatureType { |
| 130 | .Thumb2, | ||
| 131 | .V4t, | 130 | .V4t, |
| 131 | .Thumb2, | ||
| 132 | .Dsp, | 132 | .Dsp, |
| 133 | .Armv6t2, | 133 | .Armv6t2, |
| 134 | }, | 134 | }), |
| 135 | CpuInfo(@This()).create(.Arm1156t2fS, "arm1156t2f-s", &[_]FeatureType { | 135 | CpuInfo(@This(), FeatureType).create(.Arm1156t2fS, "arm1156t2f-s", &[_]FeatureType { |
| 136 | .Thumb2, | ||
| 137 | .V4t, | 136 | .V4t, |
| 137 | .Thumb2, | ||
| 138 | .Dsp, | 138 | .Dsp, |
| 139 | .Armv6t2, | 139 | .Armv6t2, |
| 140 | .Slowfpvmlx, | 140 | .Slowfpvmlx, |
| 141 | .Fpregs, | 141 | .Fpregs, |
| 142 | .Vfp2, | 142 | .Vfp2, |
| 143 | }, | 143 | }), |
| 144 | CpuInfo(@This()).create(.Arm1176jS, "arm1176j-s", &[_]FeatureType { | 144 | CpuInfo(@This(), FeatureType).create(.Arm1176jS, "arm1176j-s", &[_]FeatureType { |
| 145 | .V4t, | 145 | .V4t, |
| 146 | .Trustzone, | 146 | .Trustzone, |
| 147 | .Armv6kz, | 147 | .Armv6kz, |
| 148 | }, | 148 | }), |
| 149 | CpuInfo(@This()).create(.Arm1176jzS, "arm1176jz-s", &[_]FeatureType { | 149 | CpuInfo(@This(), FeatureType).create(.Arm1176jzS, "arm1176jz-s", &[_]FeatureType { |
| 150 | .V4t, | 150 | .V4t, |
| 151 | .Trustzone, | 151 | .Trustzone, |
| 152 | .Armv6kz, | 152 | .Armv6kz, |
| 153 | }, | 153 | }), |
| 154 | CpuInfo(@This()).create(.Arm1176jzfS, "arm1176jzf-s", &[_]FeatureType { | 154 | CpuInfo(@This(), FeatureType).create(.Arm1176jzfS, "arm1176jzf-s", &[_]FeatureType { |
| 155 | .V4t, | 155 | .V4t, |
| 156 | .Trustzone, | 156 | .Trustzone, |
| 157 | .Armv6kz, | 157 | .Armv6kz, |
| 158 | .Slowfpvmlx, | 158 | .Slowfpvmlx, |
| 159 | .Fpregs, | 159 | .Fpregs, |
| 160 | .Vfp2, | 160 | .Vfp2, |
| 161 | }, | 161 | }), |
| 162 | CpuInfo(@This()).create(.Arm710t, "arm710t", &[_]FeatureType { | 162 | CpuInfo(@This(), FeatureType).create(.Arm710t, "arm710t", &[_]FeatureType { |
| 163 | .V4t, | 163 | .V4t, |
| 164 | .Armv4t, | 164 | .Armv4t, |
| 165 | }, | 165 | }), |
| 166 | CpuInfo(@This()).create(.Arm720t, "arm720t", &[_]FeatureType { | 166 | CpuInfo(@This(), FeatureType).create(.Arm720t, "arm720t", &[_]FeatureType { |
| 167 | .V4t, | 167 | .V4t, |
| 168 | .Armv4t, | 168 | .Armv4t, |
| 169 | }, | 169 | }), |
| 170 | CpuInfo(@This()).create(.Arm7tdmi, "arm7tdmi", &[_]FeatureType { | 170 | CpuInfo(@This(), FeatureType).create(.Arm7tdmi, "arm7tdmi", &[_]FeatureType { |
| 171 | .V4t, | 171 | .V4t, |
| 172 | .Armv4t, | 172 | .Armv4t, |
| 173 | }, | 173 | }), |
| 174 | CpuInfo(@This()).create(.Arm7tdmiS, "arm7tdmi-s", &[_]FeatureType { | 174 | CpuInfo(@This(), FeatureType).create(.Arm7tdmiS, "arm7tdmi-s", &[_]FeatureType { |
| 175 | .V4t, | 175 | .V4t, |
| 176 | .Armv4t, | 176 | .Armv4t, |
| 177 | }, | 177 | }), |
| 178 | CpuInfo(@This()).create(.Arm8, "arm8", &[_]FeatureType { | 178 | CpuInfo(@This(), FeatureType).create(.Arm8, "arm8", &[_]FeatureType { |
| 179 | .Armv4, | 179 | .Armv4, |
| 180 | }, | 180 | }), |
| 181 | CpuInfo(@This()).create(.Arm810, "arm810", &[_]FeatureType { | 181 | CpuInfo(@This(), FeatureType).create(.Arm810, "arm810", &[_]FeatureType { |
| 182 | .Armv4, | 182 | .Armv4, |
| 183 | }, | 183 | }), |
| 184 | CpuInfo(@This()).create(.Arm9, "arm9", &[_]FeatureType { | 184 | CpuInfo(@This(), FeatureType).create(.Arm9, "arm9", &[_]FeatureType { |
| 185 | .V4t, | 185 | .V4t, |
| 186 | .Armv4t, | 186 | .Armv4t, |
| 187 | }, | 187 | }), |
| 188 | CpuInfo(@This()).create(.Arm920, "arm920", &[_]FeatureType { | 188 | CpuInfo(@This(), FeatureType).create(.Arm920, "arm920", &[_]FeatureType { |
| 189 | .V4t, | 189 | .V4t, |
| 190 | .Armv4t, | 190 | .Armv4t, |
| 191 | }, | 191 | }), |
| 192 | CpuInfo(@This()).create(.Arm920t, "arm920t", &[_]FeatureType { | 192 | CpuInfo(@This(), FeatureType).create(.Arm920t, "arm920t", &[_]FeatureType { |
| 193 | .V4t, | 193 | .V4t, |
| 194 | .Armv4t, | 194 | .Armv4t, |
| 195 | }, | 195 | }), |
| 196 | CpuInfo(@This()).create(.Arm922t, "arm922t", &[_]FeatureType { | 196 | CpuInfo(@This(), FeatureType).create(.Arm922t, "arm922t", &[_]FeatureType { |
| 197 | .V4t, | 197 | .V4t, |
| 198 | .Armv4t, | 198 | .Armv4t, |
| 199 | }, | 199 | }), |
| 200 | CpuInfo(@This()).create(.Arm926ejS, "arm926ej-s", &[_]FeatureType { | 200 | CpuInfo(@This(), FeatureType).create(.Arm926ejS, "arm926ej-s", &[_]FeatureType { |
| 201 | .V4t, | 201 | .V4t, |
| 202 | .Armv5te, | 202 | .Armv5te, |
| 203 | }, | 203 | }), |
| 204 | CpuInfo(@This()).create(.Arm940t, "arm940t", &[_]FeatureType { | 204 | CpuInfo(@This(), FeatureType).create(.Arm940t, "arm940t", &[_]FeatureType { |
| 205 | .V4t, | 205 | .V4t, |
| 206 | .Armv4t, | 206 | .Armv4t, |
| 207 | }, | 207 | }), |
| 208 | CpuInfo(@This()).create(.Arm946eS, "arm946e-s", &[_]FeatureType { | 208 | CpuInfo(@This(), FeatureType).create(.Arm946eS, "arm946e-s", &[_]FeatureType { |
| 209 | .V4t, | 209 | .V4t, |
| 210 | .Armv5te, | 210 | .Armv5te, |
| 211 | }, | 211 | }), |
| 212 | CpuInfo(@This()).create(.Arm966eS, "arm966e-s", &[_]FeatureType { | 212 | CpuInfo(@This(), FeatureType).create(.Arm966eS, "arm966e-s", &[_]FeatureType { |
| 213 | .V4t, | 213 | .V4t, |
| 214 | .Armv5te, | 214 | .Armv5te, |
| 215 | }, | 215 | }), |
| 216 | CpuInfo(@This()).create(.Arm968eS, "arm968e-s", &[_]FeatureType { | 216 | CpuInfo(@This(), FeatureType).create(.Arm968eS, "arm968e-s", &[_]FeatureType { |
| 217 | .V4t, | 217 | .V4t, |
| 218 | .Armv5te, | 218 | .Armv5te, |
| 219 | }, | 219 | }), |
| 220 | CpuInfo(@This()).create(.Arm9e, "arm9e", &[_]FeatureType { | 220 | CpuInfo(@This(), FeatureType).create(.Arm9e, "arm9e", &[_]FeatureType { |
| 221 | .V4t, | 221 | .V4t, |
| 222 | .Armv5te, | 222 | .Armv5te, |
| 223 | }, | 223 | }), |
| 224 | CpuInfo(@This()).create(.Arm9tdmi, "arm9tdmi", &[_]FeatureType { | 224 | CpuInfo(@This(), FeatureType).create(.Arm9tdmi, "arm9tdmi", &[_]FeatureType { |
| 225 | .V4t, | 225 | .V4t, |
| 226 | .Armv4t, | 226 | .Armv4t, |
| 227 | }, | 227 | }), |
| 228 | CpuInfo(@This()).create(.CortexA12, "cortex-a12", &[_]FeatureType { | 228 | CpuInfo(@This(), FeatureType).create(.CortexA12, "cortex-a12", &[_]FeatureType { |
| 229 | .Thumb2, | ||
| 230 | .Perfmon, | 229 | .Perfmon, |
| 231 | .Db, | ||
| 232 | .Dsp, | ||
| 233 | .V7clrex, | ||
| 234 | .V4t, | 230 | .V4t, |
| 235 | .Fpregs, | ||
| 236 | .D32, | 231 | .D32, |
| 232 | .Fpregs, | ||
| 233 | .V7clrex, | ||
| 234 | .Dsp, | ||
| 235 | .Thumb2, | ||
| 236 | .Db, | ||
| 237 | .Aclass, | 237 | .Aclass, |
| 238 | .Armv7A, | 238 | .Armv7A, |
| 239 | .AvoidPartialCpsr, | 239 | .AvoidPartialCpsr, |
| ... | @@ -247,16 +247,16 @@ pub const ArmCpu = enum { | ... | @@ -247,16 +247,16 @@ pub const ArmCpu = enum { |
| 247 | .Hwdiv, | 247 | .Hwdiv, |
| 248 | .Virtualization, | 248 | .Virtualization, |
| 249 | .A12, | 249 | .A12, |
| 250 | }, | 250 | }), |
| 251 | CpuInfo(@This()).create(.CortexA15, "cortex-a15", &[_]FeatureType { | 251 | CpuInfo(@This(), FeatureType).create(.CortexA15, "cortex-a15", &[_]FeatureType { |
| 252 | .Thumb2, | ||
| 253 | .Perfmon, | 252 | .Perfmon, |
| 254 | .Db, | ||
| 255 | .Dsp, | ||
| 256 | .V7clrex, | ||
| 257 | .V4t, | 253 | .V4t, |
| 258 | .Fpregs, | ||
| 259 | .D32, | 254 | .D32, |
| 255 | .Fpregs, | ||
| 256 | .V7clrex, | ||
| 257 | .Dsp, | ||
| 258 | .Thumb2, | ||
| 259 | .Db, | ||
| 260 | .Aclass, | 260 | .Aclass, |
| 261 | .Armv7A, | 261 | .Armv7A, |
| 262 | .AvoidPartialCpsr, | 262 | .AvoidPartialCpsr, |
| ... | @@ -273,16 +273,16 @@ pub const ArmCpu = enum { | ... | @@ -273,16 +273,16 @@ pub const ArmCpu = enum { |
| 273 | .Hwdiv, | 273 | .Hwdiv, |
| 274 | .Virtualization, | 274 | .Virtualization, |
| 275 | .A15, | 275 | .A15, |
| 276 | }, | 276 | }), |
| 277 | CpuInfo(@This()).create(.CortexA17, "cortex-a17", &[_]FeatureType { | 277 | CpuInfo(@This(), FeatureType).create(.CortexA17, "cortex-a17", &[_]FeatureType { |
| 278 | .Thumb2, | ||
| 279 | .Perfmon, | 278 | .Perfmon, |
| 280 | .Db, | ||
| 281 | .Dsp, | ||
| 282 | .V7clrex, | ||
| 283 | .V4t, | 279 | .V4t, |
| 284 | .Fpregs, | ||
| 285 | .D32, | 280 | .D32, |
| 281 | .Fpregs, | ||
| 282 | .V7clrex, | ||
| 283 | .Dsp, | ||
| 284 | .Thumb2, | ||
| 285 | .Db, | ||
| 286 | .Aclass, | 286 | .Aclass, |
| 287 | .Armv7A, | 287 | .Armv7A, |
| 288 | .AvoidPartialCpsr, | 288 | .AvoidPartialCpsr, |
| ... | @@ -296,57 +296,57 @@ pub const ArmCpu = enum { | ... | @@ -296,57 +296,57 @@ pub const ArmCpu = enum { |
| 296 | .Hwdiv, | 296 | .Hwdiv, |
| 297 | .Virtualization, | 297 | .Virtualization, |
| 298 | .A17, | 298 | .A17, |
| 299 | }, | 299 | }), |
| 300 | CpuInfo(@This()).create(.CortexA32, "cortex-a32", &[_]FeatureType { | 300 | CpuInfo(@This(), FeatureType).create(.CortexA32, "cortex-a32", &[_]FeatureType { |
| 301 | .Thumb2, | 301 | .HwdivArm, |
| 302 | .Mp, | ||
| 303 | .Perfmon, | 302 | .Perfmon, |
| 304 | .Db, | 303 | .D32, |
| 304 | .Fpregs, | ||
| 305 | .Crc, | 305 | .Crc, |
| 306 | .Mp, | ||
| 306 | .Fp16, | 307 | .Fp16, |
| 307 | .Dsp, | 308 | .Dsp, |
| 308 | .V7clrex, | ||
| 309 | .V4t, | 309 | .V4t, |
| 310 | .Fpregs, | 310 | .V7clrex, |
| 311 | .D32, | 311 | .Db, |
| 312 | .Hwdiv, | ||
| 313 | .HwdivArm, | ||
| 314 | .Aclass, | 312 | .Aclass, |
| 315 | .Trustzone, | 313 | .Thumb2, |
| 316 | .AcquireRelease, | 314 | .AcquireRelease, |
| 315 | .Hwdiv, | ||
| 316 | .Trustzone, | ||
| 317 | .Armv8A, | 317 | .Armv8A, |
| 318 | .Crypto, | 318 | .Crypto, |
| 319 | }, | 319 | }), |
| 320 | CpuInfo(@This()).create(.CortexA35, "cortex-a35", &[_]FeatureType { | 320 | CpuInfo(@This(), FeatureType).create(.CortexA35, "cortex-a35", &[_]FeatureType { |
| 321 | .Thumb2, | 321 | .HwdivArm, |
| 322 | .Mp, | ||
| 323 | .Perfmon, | 322 | .Perfmon, |
| 324 | .Db, | 323 | .D32, |
| 324 | .Fpregs, | ||
| 325 | .Crc, | 325 | .Crc, |
| 326 | .Mp, | ||
| 326 | .Fp16, | 327 | .Fp16, |
| 327 | .Dsp, | 328 | .Dsp, |
| 328 | .V7clrex, | ||
| 329 | .V4t, | 329 | .V4t, |
| 330 | .Fpregs, | 330 | .V7clrex, |
| 331 | .D32, | 331 | .Db, |
| 332 | .Hwdiv, | ||
| 333 | .HwdivArm, | ||
| 334 | .Aclass, | 332 | .Aclass, |
| 335 | .Trustzone, | 333 | .Thumb2, |
| 336 | .AcquireRelease, | 334 | .AcquireRelease, |
| 335 | .Hwdiv, | ||
| 336 | .Trustzone, | ||
| 337 | .Armv8A, | 337 | .Armv8A, |
| 338 | .Crypto, | 338 | .Crypto, |
| 339 | .A35, | 339 | .A35, |
| 340 | }, | 340 | }), |
| 341 | CpuInfo(@This()).create(.CortexA5, "cortex-a5", &[_]FeatureType { | 341 | CpuInfo(@This(), FeatureType).create(.CortexA5, "cortex-a5", &[_]FeatureType { |
| 342 | .Thumb2, | ||
| 343 | .Perfmon, | 342 | .Perfmon, |
| 344 | .Db, | ||
| 345 | .Dsp, | ||
| 346 | .V7clrex, | ||
| 347 | .V4t, | 343 | .V4t, |
| 348 | .Fpregs, | ||
| 349 | .D32, | 344 | .D32, |
| 345 | .Fpregs, | ||
| 346 | .V7clrex, | ||
| 347 | .Dsp, | ||
| 348 | .Thumb2, | ||
| 349 | .Db, | ||
| 350 | .Aclass, | 350 | .Aclass, |
| 351 | .Armv7A, | 351 | .Armv7A, |
| 352 | .RetAddrStack, | 352 | .RetAddrStack, |
| ... | @@ -358,84 +358,84 @@ pub const ArmCpu = enum { | ... | @@ -358,84 +358,84 @@ pub const ArmCpu = enum { |
| 358 | .Vfp4, | 358 | .Vfp4, |
| 359 | .VmlxForwarding, | 359 | .VmlxForwarding, |
| 360 | .A5, | 360 | .A5, |
| 361 | }, | 361 | }), |
| 362 | CpuInfo(@This()).create(.CortexA53, "cortex-a53", &[_]FeatureType { | 362 | CpuInfo(@This(), FeatureType).create(.CortexA53, "cortex-a53", &[_]FeatureType { |
| 363 | .Thumb2, | 363 | .HwdivArm, |
| 364 | .Mp, | ||
| 365 | .Perfmon, | 364 | .Perfmon, |
| 366 | .Db, | 365 | .D32, |
| 366 | .Fpregs, | ||
| 367 | .Crc, | 367 | .Crc, |
| 368 | .Mp, | ||
| 368 | .Fp16, | 369 | .Fp16, |
| 369 | .Dsp, | 370 | .Dsp, |
| 370 | .V7clrex, | ||
| 371 | .V4t, | 371 | .V4t, |
| 372 | .Fpregs, | 372 | .V7clrex, |
| 373 | .D32, | 373 | .Db, |
| 374 | .Hwdiv, | ||
| 375 | .HwdivArm, | ||
| 376 | .Aclass, | 374 | .Aclass, |
| 377 | .Trustzone, | 375 | .Thumb2, |
| 378 | .AcquireRelease, | 376 | .AcquireRelease, |
| 377 | .Hwdiv, | ||
| 378 | .Trustzone, | ||
| 379 | .Armv8A, | 379 | .Armv8A, |
| 380 | .Crypto, | 380 | .Crypto, |
| 381 | .Fpao, | 381 | .Fpao, |
| 382 | .A53, | 382 | .A53, |
| 383 | }, | 383 | }), |
| 384 | CpuInfo(@This()).create(.CortexA55, "cortex-a55", &[_]FeatureType { | 384 | CpuInfo(@This(), FeatureType).create(.CortexA55, "cortex-a55", &[_]FeatureType { |
| 385 | .Thumb2, | 385 | .HwdivArm, |
| 386 | .Mp, | ||
| 387 | .Perfmon, | 386 | .Perfmon, |
| 388 | .Db, | 387 | .D32, |
| 388 | .Fpregs, | ||
| 389 | .Crc, | 389 | .Crc, |
| 390 | .Mp, | ||
| 390 | .Fp16, | 391 | .Fp16, |
| 391 | .Ras, | ||
| 392 | .Dsp, | 392 | .Dsp, |
| 393 | .V7clrex, | ||
| 394 | .V4t, | 393 | .V4t, |
| 395 | .Fpregs, | 394 | .V7clrex, |
| 396 | .D32, | 395 | .Db, |
| 397 | .Hwdiv, | ||
| 398 | .HwdivArm, | ||
| 399 | .Aclass, | 396 | .Aclass, |
| 400 | .Trustzone, | 397 | .Thumb2, |
| 398 | .Ras, | ||
| 401 | .AcquireRelease, | 399 | .AcquireRelease, |
| 400 | .Hwdiv, | ||
| 401 | .Trustzone, | ||
| 402 | .Armv82A, | 402 | .Armv82A, |
| 403 | .Dotprod, | 403 | .Dotprod, |
| 404 | .A55, | 404 | .A55, |
| 405 | }, | 405 | }), |
| 406 | CpuInfo(@This()).create(.CortexA57, "cortex-a57", &[_]FeatureType { | 406 | CpuInfo(@This(), FeatureType).create(.CortexA57, "cortex-a57", &[_]FeatureType { |
| 407 | .Thumb2, | 407 | .HwdivArm, |
| 408 | .Mp, | ||
| 409 | .Perfmon, | 408 | .Perfmon, |
| 410 | .Db, | 409 | .D32, |
| 410 | .Fpregs, | ||
| 411 | .Crc, | 411 | .Crc, |
| 412 | .Mp, | ||
| 412 | .Fp16, | 413 | .Fp16, |
| 413 | .Dsp, | 414 | .Dsp, |
| 414 | .V7clrex, | ||
| 415 | .V4t, | 415 | .V4t, |
| 416 | .Fpregs, | 416 | .V7clrex, |
| 417 | .D32, | 417 | .Db, |
| 418 | .Hwdiv, | ||
| 419 | .HwdivArm, | ||
| 420 | .Aclass, | 418 | .Aclass, |
| 421 | .Trustzone, | 419 | .Thumb2, |
| 422 | .AcquireRelease, | 420 | .AcquireRelease, |
| 421 | .Hwdiv, | ||
| 422 | .Trustzone, | ||
| 423 | .Armv8A, | 423 | .Armv8A, |
| 424 | .AvoidPartialCpsr, | 424 | .AvoidPartialCpsr, |
| 425 | .CheapPredicableCpsr, | 425 | .CheapPredicableCpsr, |
| 426 | .Crypto, | 426 | .Crypto, |
| 427 | .Fpao, | 427 | .Fpao, |
| 428 | .A57, | 428 | .A57, |
| 429 | }, | 429 | }), |
| 430 | CpuInfo(@This()).create(.CortexA7, "cortex-a7", &[_]FeatureType { | 430 | CpuInfo(@This(), FeatureType).create(.CortexA7, "cortex-a7", &[_]FeatureType { |
| 431 | .Thumb2, | ||
| 432 | .Perfmon, | 431 | .Perfmon, |
| 433 | .Db, | ||
| 434 | .Dsp, | ||
| 435 | .V7clrex, | ||
| 436 | .V4t, | 432 | .V4t, |
| 437 | .Fpregs, | ||
| 438 | .D32, | 433 | .D32, |
| 434 | .Fpregs, | ||
| 435 | .V7clrex, | ||
| 436 | .Dsp, | ||
| 437 | .Thumb2, | ||
| 438 | .Db, | ||
| 439 | .Aclass, | 439 | .Aclass, |
| 440 | .Armv7A, | 440 | .Armv7A, |
| 441 | .RetAddrStack, | 441 | .RetAddrStack, |
| ... | @@ -451,128 +451,128 @@ pub const ArmCpu = enum { | ... | @@ -451,128 +451,128 @@ pub const ArmCpu = enum { |
| 451 | .Hwdiv, | 451 | .Hwdiv, |
| 452 | .Virtualization, | 452 | .Virtualization, |
| 453 | .A7, | 453 | .A7, |
| 454 | }, | 454 | }), |
| 455 | CpuInfo(@This()).create(.CortexA72, "cortex-a72", &[_]FeatureType { | 455 | CpuInfo(@This(), FeatureType).create(.CortexA72, "cortex-a72", &[_]FeatureType { |
| 456 | .Thumb2, | 456 | .HwdivArm, |
| 457 | .Mp, | ||
| 458 | .Perfmon, | 457 | .Perfmon, |
| 459 | .Db, | 458 | .D32, |
| 459 | .Fpregs, | ||
| 460 | .Crc, | 460 | .Crc, |
| 461 | .Mp, | ||
| 461 | .Fp16, | 462 | .Fp16, |
| 462 | .Dsp, | 463 | .Dsp, |
| 463 | .V7clrex, | ||
| 464 | .V4t, | 464 | .V4t, |
| 465 | .Fpregs, | 465 | .V7clrex, |
| 466 | .D32, | 466 | .Db, |
| 467 | .Hwdiv, | ||
| 468 | .HwdivArm, | ||
| 469 | .Aclass, | 467 | .Aclass, |
| 470 | .Trustzone, | 468 | .Thumb2, |
| 471 | .AcquireRelease, | 469 | .AcquireRelease, |
| 470 | .Hwdiv, | ||
| 471 | .Trustzone, | ||
| 472 | .Armv8A, | 472 | .Armv8A, |
| 473 | .Crypto, | 473 | .Crypto, |
| 474 | .A72, | 474 | .A72, |
| 475 | }, | 475 | }), |
| 476 | CpuInfo(@This()).create(.CortexA73, "cortex-a73", &[_]FeatureType { | 476 | CpuInfo(@This(), FeatureType).create(.CortexA73, "cortex-a73", &[_]FeatureType { |
| 477 | .Thumb2, | 477 | .HwdivArm, |
| 478 | .Mp, | ||
| 479 | .Perfmon, | 478 | .Perfmon, |
| 480 | .Db, | 479 | .D32, |
| 480 | .Fpregs, | ||
| 481 | .Crc, | 481 | .Crc, |
| 482 | .Mp, | ||
| 482 | .Fp16, | 483 | .Fp16, |
| 483 | .Dsp, | 484 | .Dsp, |
| 484 | .V7clrex, | ||
| 485 | .V4t, | 485 | .V4t, |
| 486 | .Fpregs, | 486 | .V7clrex, |
| 487 | .D32, | 487 | .Db, |
| 488 | .Hwdiv, | ||
| 489 | .HwdivArm, | ||
| 490 | .Aclass, | 488 | .Aclass, |
| 491 | .Trustzone, | 489 | .Thumb2, |
| 492 | .AcquireRelease, | 490 | .AcquireRelease, |
| 491 | .Hwdiv, | ||
| 492 | .Trustzone, | ||
| 493 | .Armv8A, | 493 | .Armv8A, |
| 494 | .Crypto, | 494 | .Crypto, |
| 495 | .A73, | 495 | .A73, |
| 496 | }, | 496 | }), |
| 497 | CpuInfo(@This()).create(.CortexA75, "cortex-a75", &[_]FeatureType { | 497 | CpuInfo(@This(), FeatureType).create(.CortexA75, "cortex-a75", &[_]FeatureType { |
| 498 | .Thumb2, | 498 | .HwdivArm, |
| 499 | .Mp, | ||
| 500 | .Perfmon, | 499 | .Perfmon, |
| 501 | .Db, | 500 | .D32, |
| 501 | .Fpregs, | ||
| 502 | .Crc, | 502 | .Crc, |
| 503 | .Mp, | ||
| 503 | .Fp16, | 504 | .Fp16, |
| 504 | .Ras, | ||
| 505 | .Dsp, | 505 | .Dsp, |
| 506 | .V7clrex, | ||
| 507 | .V4t, | 506 | .V4t, |
| 508 | .Fpregs, | 507 | .V7clrex, |
| 509 | .D32, | 508 | .Db, |
| 510 | .Hwdiv, | ||
| 511 | .HwdivArm, | ||
| 512 | .Aclass, | 509 | .Aclass, |
| 513 | .Trustzone, | 510 | .Thumb2, |
| 511 | .Ras, | ||
| 514 | .AcquireRelease, | 512 | .AcquireRelease, |
| 513 | .Hwdiv, | ||
| 514 | .Trustzone, | ||
| 515 | .Armv82A, | 515 | .Armv82A, |
| 516 | .Dotprod, | 516 | .Dotprod, |
| 517 | .A75, | 517 | .A75, |
| 518 | }, | 518 | }), |
| 519 | CpuInfo(@This()).create(.CortexA76, "cortex-a76", &[_]FeatureType { | 519 | CpuInfo(@This(), FeatureType).create(.CortexA76, "cortex-a76", &[_]FeatureType { |
| 520 | .Thumb2, | 520 | .HwdivArm, |
| 521 | .Mp, | ||
| 522 | .Perfmon, | 521 | .Perfmon, |
| 523 | .Db, | 522 | .D32, |
| 523 | .Fpregs, | ||
| 524 | .Crc, | 524 | .Crc, |
| 525 | .Mp, | ||
| 525 | .Fp16, | 526 | .Fp16, |
| 526 | .Ras, | ||
| 527 | .Dsp, | 527 | .Dsp, |
| 528 | .V7clrex, | ||
| 529 | .V4t, | 528 | .V4t, |
| 530 | .Fpregs, | 529 | .V7clrex, |
| 531 | .D32, | 530 | .Db, |
| 532 | .Hwdiv, | ||
| 533 | .HwdivArm, | ||
| 534 | .Aclass, | 531 | .Aclass, |
| 535 | .Trustzone, | 532 | .Thumb2, |
| 533 | .Ras, | ||
| 536 | .AcquireRelease, | 534 | .AcquireRelease, |
| 535 | .Hwdiv, | ||
| 536 | .Trustzone, | ||
| 537 | .Armv82A, | 537 | .Armv82A, |
| 538 | .Crypto, | 538 | .Crypto, |
| 539 | .Dotprod, | 539 | .Dotprod, |
| 540 | .Fullfp16, | 540 | .Fullfp16, |
| 541 | .A76, | 541 | .A76, |
| 542 | }, | 542 | }), |
| 543 | CpuInfo(@This()).create(.CortexA76ae, "cortex-a76ae", &[_]FeatureType { | 543 | CpuInfo(@This(), FeatureType).create(.CortexA76ae, "cortex-a76ae", &[_]FeatureType { |
| 544 | .Thumb2, | 544 | .HwdivArm, |
| 545 | .Mp, | ||
| 546 | .Perfmon, | 545 | .Perfmon, |
| 547 | .Db, | 546 | .D32, |
| 547 | .Fpregs, | ||
| 548 | .Crc, | 548 | .Crc, |
| 549 | .Mp, | ||
| 549 | .Fp16, | 550 | .Fp16, |
| 550 | .Ras, | ||
| 551 | .Dsp, | 551 | .Dsp, |
| 552 | .V7clrex, | ||
| 553 | .V4t, | 552 | .V4t, |
| 554 | .Fpregs, | 553 | .V7clrex, |
| 555 | .D32, | 554 | .Db, |
| 556 | .Hwdiv, | ||
| 557 | .HwdivArm, | ||
| 558 | .Aclass, | 555 | .Aclass, |
| 559 | .Trustzone, | 556 | .Thumb2, |
| 557 | .Ras, | ||
| 560 | .AcquireRelease, | 558 | .AcquireRelease, |
| 559 | .Hwdiv, | ||
| 560 | .Trustzone, | ||
| 561 | .Armv82A, | 561 | .Armv82A, |
| 562 | .Crypto, | 562 | .Crypto, |
| 563 | .Dotprod, | 563 | .Dotprod, |
| 564 | .Fullfp16, | 564 | .Fullfp16, |
| 565 | .A76, | 565 | .A76, |
| 566 | }, | 566 | }), |
| 567 | CpuInfo(@This()).create(.CortexA8, "cortex-a8", &[_]FeatureType { | 567 | CpuInfo(@This(), FeatureType).create(.CortexA8, "cortex-a8", &[_]FeatureType { |
| 568 | .Thumb2, | ||
| 569 | .Perfmon, | 568 | .Perfmon, |
| 570 | .Db, | ||
| 571 | .Dsp, | ||
| 572 | .V7clrex, | ||
| 573 | .V4t, | 569 | .V4t, |
| 574 | .Fpregs, | ||
| 575 | .D32, | 570 | .D32, |
| 571 | .Fpregs, | ||
| 572 | .V7clrex, | ||
| 573 | .Dsp, | ||
| 574 | .Thumb2, | ||
| 575 | .Db, | ||
| 576 | .Aclass, | 576 | .Aclass, |
| 577 | .Armv7A, | 577 | .Armv7A, |
| 578 | .RetAddrStack, | 578 | .RetAddrStack, |
| ... | @@ -583,16 +583,16 @@ pub const ArmCpu = enum { | ... | @@ -583,16 +583,16 @@ pub const ArmCpu = enum { |
| 583 | .Trustzone, | 583 | .Trustzone, |
| 584 | .VmlxForwarding, | 584 | .VmlxForwarding, |
| 585 | .A8, | 585 | .A8, |
| 586 | }, | 586 | }), |
| 587 | CpuInfo(@This()).create(.CortexA9, "cortex-a9", &[_]FeatureType { | 587 | CpuInfo(@This(), FeatureType).create(.CortexA9, "cortex-a9", &[_]FeatureType { |
| 588 | .Thumb2, | ||
| 589 | .Perfmon, | 588 | .Perfmon, |
| 590 | .Db, | ||
| 591 | .Dsp, | ||
| 592 | .V7clrex, | ||
| 593 | .V4t, | 589 | .V4t, |
| 594 | .Fpregs, | ||
| 595 | .D32, | 590 | .D32, |
| 591 | .Fpregs, | ||
| 592 | .V7clrex, | ||
| 593 | .Dsp, | ||
| 594 | .Thumb2, | ||
| 595 | .Db, | ||
| 596 | .Aclass, | 596 | .Aclass, |
| 597 | .Armv7A, | 597 | .Armv7A, |
| 598 | .AvoidPartialCpsr, | 598 | .AvoidPartialCpsr, |
| ... | @@ -608,171 +608,171 @@ pub const ArmCpu = enum { | ... | @@ -608,171 +608,171 @@ pub const ArmCpu = enum { |
| 608 | .Trustzone, | 608 | .Trustzone, |
| 609 | .VmlxForwarding, | 609 | .VmlxForwarding, |
| 610 | .A9, | 610 | .A9, |
| 611 | }, | 611 | }), |
| 612 | CpuInfo(@This()).create(.CortexM0, "cortex-m0", &[_]FeatureType { | 612 | CpuInfo(@This(), FeatureType).create(.CortexM0, "cortex-m0", &[_]FeatureType { |
| 613 | .Mclass, | 613 | .V4t, |
| 614 | .StrictAlign, | ||
| 615 | .ThumbMode, | 614 | .ThumbMode, |
| 616 | .Db, | 615 | .Db, |
| 617 | .V4t, | 616 | .StrictAlign, |
| 617 | .Mclass, | ||
| 618 | .Noarm, | 618 | .Noarm, |
| 619 | .Armv6M, | 619 | .Armv6M, |
| 620 | }, | 620 | }), |
| 621 | CpuInfo(@This()).create(.CortexM0plus, "cortex-m0plus", &[_]FeatureType { | 621 | CpuInfo(@This(), FeatureType).create(.CortexM0plus, "cortex-m0plus", &[_]FeatureType { |
| 622 | .Mclass, | 622 | .V4t, |
| 623 | .StrictAlign, | ||
| 624 | .ThumbMode, | 623 | .ThumbMode, |
| 625 | .Db, | 624 | .Db, |
| 626 | .V4t, | 625 | .StrictAlign, |
| 626 | .Mclass, | ||
| 627 | .Noarm, | 627 | .Noarm, |
| 628 | .Armv6M, | 628 | .Armv6M, |
| 629 | }, | 629 | }), |
| 630 | CpuInfo(@This()).create(.CortexM1, "cortex-m1", &[_]FeatureType { | 630 | CpuInfo(@This(), FeatureType).create(.CortexM1, "cortex-m1", &[_]FeatureType { |
| 631 | .Mclass, | 631 | .V4t, |
| 632 | .StrictAlign, | ||
| 633 | .ThumbMode, | 632 | .ThumbMode, |
| 634 | .Db, | 633 | .Db, |
| 635 | .V4t, | 634 | .StrictAlign, |
| 635 | .Mclass, | ||
| 636 | .Noarm, | 636 | .Noarm, |
| 637 | .Armv6M, | 637 | .Armv6M, |
| 638 | }, | 638 | }), |
| 639 | CpuInfo(@This()).create(.CortexM23, "cortex-m23", &[_]FeatureType { | 639 | CpuInfo(@This(), FeatureType).create(.CortexM23, "cortex-m23", &[_]FeatureType { |
| 640 | .Mclass, | 640 | .V4t, |
| 641 | .StrictAlign, | ||
| 642 | .ThumbMode, | 641 | .ThumbMode, |
| 643 | .Db, | ||
| 644 | .Msecext8, | 642 | .Msecext8, |
| 645 | .V7clrex, | 643 | .V7clrex, |
| 646 | .V4t, | 644 | .Db, |
| 647 | .Hwdiv, | 645 | .StrictAlign, |
| 646 | .Mclass, | ||
| 648 | .Noarm, | 647 | .Noarm, |
| 649 | .AcquireRelease, | 648 | .AcquireRelease, |
| 649 | .Hwdiv, | ||
| 650 | .Armv8Mbase, | 650 | .Armv8Mbase, |
| 651 | .NoMovt, | 651 | .NoMovt, |
| 652 | }, | 652 | }), |
| 653 | CpuInfo(@This()).create(.CortexM3, "cortex-m3", &[_]FeatureType { | 653 | CpuInfo(@This(), FeatureType).create(.CortexM3, "cortex-m3", &[_]FeatureType { |
| 654 | .Thumb2, | ||
| 655 | .Mclass, | ||
| 656 | .Perfmon, | 654 | .Perfmon, |
| 655 | .V4t, | ||
| 657 | .ThumbMode, | 656 | .ThumbMode, |
| 658 | .Db, | ||
| 659 | .V7clrex, | 657 | .V7clrex, |
| 660 | .V4t, | 658 | .Thumb2, |
| 661 | .Hwdiv, | 659 | .Db, |
| 660 | .Mclass, | ||
| 662 | .Noarm, | 661 | .Noarm, |
| 662 | .Hwdiv, | ||
| 663 | .Armv7M, | 663 | .Armv7M, |
| 664 | .NoBranchPredictor, | 664 | .NoBranchPredictor, |
| 665 | .LoopAlign, | 665 | .LoopAlign, |
| 666 | .UseAa, | 666 | .UseAa, |
| 667 | .UseMisched, | 667 | .UseMisched, |
| 668 | .M3, | 668 | .M3, |
| 669 | }, | 669 | }), |
| 670 | CpuInfo(@This()).create(.CortexM33, "cortex-m33", &[_]FeatureType { | 670 | CpuInfo(@This(), FeatureType).create(.CortexM33, "cortex-m33", &[_]FeatureType { |
| 671 | .Thumb2, | ||
| 672 | .Mclass, | ||
| 673 | .Perfmon, | 671 | .Perfmon, |
| 672 | .V4t, | ||
| 674 | .ThumbMode, | 673 | .ThumbMode, |
| 675 | .Db, | ||
| 676 | .Msecext8, | 674 | .Msecext8, |
| 677 | .V7clrex, | 675 | .V7clrex, |
| 678 | .V4t, | 676 | .Thumb2, |
| 679 | .Hwdiv, | 677 | .Db, |
| 678 | .Mclass, | ||
| 680 | .Noarm, | 679 | .Noarm, |
| 681 | .AcquireRelease, | 680 | .AcquireRelease, |
| 681 | .Hwdiv, | ||
| 682 | .Armv8Mmain, | 682 | .Armv8Mmain, |
| 683 | .Dsp, | 683 | .Dsp, |
| 684 | .Fp16, | ||
| 685 | .Fpregs, | 684 | .Fpregs, |
| 685 | .Fp16, | ||
| 686 | .FpArmv8d16sp, | 686 | .FpArmv8d16sp, |
| 687 | .NoBranchPredictor, | 687 | .NoBranchPredictor, |
| 688 | .Slowfpvmlx, | 688 | .Slowfpvmlx, |
| 689 | .LoopAlign, | 689 | .LoopAlign, |
| 690 | .UseAa, | 690 | .UseAa, |
| 691 | .UseMisched, | 691 | .UseMisched, |
| 692 | }, | 692 | }), |
| 693 | CpuInfo(@This()).create(.CortexM35p, "cortex-m35p", &[_]FeatureType { | 693 | CpuInfo(@This(), FeatureType).create(.CortexM35p, "cortex-m35p", &[_]FeatureType { |
| 694 | .Thumb2, | ||
| 695 | .Mclass, | ||
| 696 | .Perfmon, | 694 | .Perfmon, |
| 695 | .V4t, | ||
| 697 | .ThumbMode, | 696 | .ThumbMode, |
| 698 | .Db, | ||
| 699 | .Msecext8, | 697 | .Msecext8, |
| 700 | .V7clrex, | 698 | .V7clrex, |
| 701 | .V4t, | 699 | .Thumb2, |
| 702 | .Hwdiv, | 700 | .Db, |
| 701 | .Mclass, | ||
| 703 | .Noarm, | 702 | .Noarm, |
| 704 | .AcquireRelease, | 703 | .AcquireRelease, |
| 704 | .Hwdiv, | ||
| 705 | .Armv8Mmain, | 705 | .Armv8Mmain, |
| 706 | .Dsp, | 706 | .Dsp, |
| 707 | .Fp16, | ||
| 708 | .Fpregs, | 707 | .Fpregs, |
| 708 | .Fp16, | ||
| 709 | .FpArmv8d16sp, | 709 | .FpArmv8d16sp, |
| 710 | .NoBranchPredictor, | 710 | .NoBranchPredictor, |
| 711 | .Slowfpvmlx, | 711 | .Slowfpvmlx, |
| 712 | .LoopAlign, | 712 | .LoopAlign, |
| 713 | .UseAa, | 713 | .UseAa, |
| 714 | .UseMisched, | 714 | .UseMisched, |
| 715 | }, | 715 | }), |
| 716 | CpuInfo(@This()).create(.CortexM4, "cortex-m4", &[_]FeatureType { | 716 | CpuInfo(@This(), FeatureType).create(.CortexM4, "cortex-m4", &[_]FeatureType { |
| 717 | .Thumb2, | ||
| 718 | .Mclass, | ||
| 719 | .Perfmon, | 717 | .Perfmon, |
| 718 | .V4t, | ||
| 720 | .ThumbMode, | 719 | .ThumbMode, |
| 721 | .Db, | ||
| 722 | .Dsp, | ||
| 723 | .V7clrex, | 720 | .V7clrex, |
| 724 | .V4t, | 721 | .Dsp, |
| 725 | .Hwdiv, | 722 | .Thumb2, |
| 723 | .Db, | ||
| 724 | .Mclass, | ||
| 726 | .Noarm, | 725 | .Noarm, |
| 726 | .Hwdiv, | ||
| 727 | .Armv7eM, | 727 | .Armv7eM, |
| 728 | .NoBranchPredictor, | 728 | .NoBranchPredictor, |
| 729 | .Slowfpvmlx, | 729 | .Slowfpvmlx, |
| 730 | .LoopAlign, | 730 | .LoopAlign, |
| 731 | .UseAa, | 731 | .UseAa, |
| 732 | .UseMisched, | 732 | .UseMisched, |
| 733 | .Fp16, | ||
| 734 | .Fpregs, | 733 | .Fpregs, |
| 734 | .Fp16, | ||
| 735 | .Vfp4d16sp, | 735 | .Vfp4d16sp, |
| 736 | }, | 736 | }), |
| 737 | CpuInfo(@This()).create(.CortexM7, "cortex-m7", &[_]FeatureType { | 737 | CpuInfo(@This(), FeatureType).create(.CortexM7, "cortex-m7", &[_]FeatureType { |
| 738 | .Thumb2, | ||
| 739 | .Mclass, | ||
| 740 | .Perfmon, | 738 | .Perfmon, |
| 739 | .V4t, | ||
| 741 | .ThumbMode, | 740 | .ThumbMode, |
| 742 | .Db, | ||
| 743 | .Dsp, | ||
| 744 | .V7clrex, | 741 | .V7clrex, |
| 745 | .V4t, | 742 | .Dsp, |
| 746 | .Hwdiv, | 743 | .Thumb2, |
| 744 | .Db, | ||
| 745 | .Mclass, | ||
| 747 | .Noarm, | 746 | .Noarm, |
| 747 | .Hwdiv, | ||
| 748 | .Armv7eM, | 748 | .Armv7eM, |
| 749 | .Fp16, | ||
| 750 | .Fpregs, | 749 | .Fpregs, |
| 750 | .Fp16, | ||
| 751 | .FpArmv8d16, | 751 | .FpArmv8d16, |
| 752 | }, | 752 | }), |
| 753 | CpuInfo(@This()).create(.CortexR4, "cortex-r4", &[_]FeatureType { | 753 | CpuInfo(@This(), FeatureType).create(.CortexR4, "cortex-r4", &[_]FeatureType { |
| 754 | .Thumb2, | ||
| 755 | .Perfmon, | 754 | .Perfmon, |
| 756 | .Db, | ||
| 757 | .Dsp, | ||
| 758 | .Rclass, | ||
| 759 | .V7clrex, | ||
| 760 | .V4t, | 755 | .V4t, |
| 756 | .V7clrex, | ||
| 757 | .Dsp, | ||
| 758 | .Thumb2, | ||
| 759 | .Db, | ||
| 761 | .Hwdiv, | 760 | .Hwdiv, |
| 761 | .Rclass, | ||
| 762 | .Armv7R, | 762 | .Armv7R, |
| 763 | .AvoidPartialCpsr, | 763 | .AvoidPartialCpsr, |
| 764 | .RetAddrStack, | 764 | .RetAddrStack, |
| 765 | .R4, | 765 | .R4, |
| 766 | }, | 766 | }), |
| 767 | CpuInfo(@This()).create(.CortexR4f, "cortex-r4f", &[_]FeatureType { | 767 | CpuInfo(@This(), FeatureType).create(.CortexR4f, "cortex-r4f", &[_]FeatureType { |
| 768 | .Thumb2, | ||
| 769 | .Perfmon, | 768 | .Perfmon, |
| 770 | .Db, | ||
| 771 | .Dsp, | ||
| 772 | .Rclass, | ||
| 773 | .V7clrex, | ||
| 774 | .V4t, | 769 | .V4t, |
| 770 | .V7clrex, | ||
| 771 | .Dsp, | ||
| 772 | .Thumb2, | ||
| 773 | .Db, | ||
| 775 | .Hwdiv, | 774 | .Hwdiv, |
| 775 | .Rclass, | ||
| 776 | .Armv7R, | 776 | .Armv7R, |
| 777 | .AvoidPartialCpsr, | 777 | .AvoidPartialCpsr, |
| 778 | .RetAddrStack, | 778 | .RetAddrStack, |
| ... | @@ -781,16 +781,16 @@ pub const ArmCpu = enum { | ... | @@ -781,16 +781,16 @@ pub const ArmCpu = enum { |
| 781 | .Fpregs, | 781 | .Fpregs, |
| 782 | .Vfp3d16, | 782 | .Vfp3d16, |
| 783 | .R4, | 783 | .R4, |
| 784 | }, | 784 | }), |
| 785 | CpuInfo(@This()).create(.CortexR5, "cortex-r5", &[_]FeatureType { | 785 | CpuInfo(@This(), FeatureType).create(.CortexR5, "cortex-r5", &[_]FeatureType { |
| 786 | .Thumb2, | ||
| 787 | .Perfmon, | 786 | .Perfmon, |
| 788 | .Db, | ||
| 789 | .Dsp, | ||
| 790 | .Rclass, | ||
| 791 | .V7clrex, | ||
| 792 | .V4t, | 787 | .V4t, |
| 788 | .V7clrex, | ||
| 789 | .Dsp, | ||
| 790 | .Thumb2, | ||
| 791 | .Db, | ||
| 793 | .Hwdiv, | 792 | .Hwdiv, |
| 793 | .Rclass, | ||
| 794 | .Armv7R, | 794 | .Armv7R, |
| 795 | .AvoidPartialCpsr, | 795 | .AvoidPartialCpsr, |
| 796 | .HwdivArm, | 796 | .HwdivArm, |
| ... | @@ -800,39 +800,39 @@ pub const ArmCpu = enum { | ... | @@ -800,39 +800,39 @@ pub const ArmCpu = enum { |
| 800 | .Fpregs, | 800 | .Fpregs, |
| 801 | .Vfp3d16, | 801 | .Vfp3d16, |
| 802 | .R5, | 802 | .R5, |
| 803 | }, | 803 | }), |
| 804 | CpuInfo(@This()).create(.CortexR52, "cortex-r52", &[_]FeatureType { | 804 | CpuInfo(@This(), FeatureType).create(.CortexR52, "cortex-r52", &[_]FeatureType { |
| 805 | .Thumb2, | 805 | .HwdivArm, |
| 806 | .Mp, | ||
| 807 | .Perfmon, | 806 | .Perfmon, |
| 808 | .Db, | 807 | .D32, |
| 809 | .Crc, | 808 | .Crc, |
| 810 | .Fp16, | 809 | .Fpregs, |
| 810 | .Mp, | ||
| 811 | .Dfb, | 811 | .Dfb, |
| 812 | .Dsp, | 812 | .Dsp, |
| 813 | .Rclass, | 813 | .Fp16, |
| 814 | .V7clrex, | ||
| 815 | .V4t, | 814 | .V4t, |
| 816 | .Fpregs, | 815 | .Db, |
| 817 | .D32, | 816 | .V7clrex, |
| 818 | .Hwdiv, | 817 | .Thumb2, |
| 819 | .HwdivArm, | ||
| 820 | .AcquireRelease, | 818 | .AcquireRelease, |
| 819 | .Hwdiv, | ||
| 820 | .Rclass, | ||
| 821 | .Armv8R, | 821 | .Armv8R, |
| 822 | .Fpao, | 822 | .Fpao, |
| 823 | .UseAa, | 823 | .UseAa, |
| 824 | .UseMisched, | 824 | .UseMisched, |
| 825 | .R52, | 825 | .R52, |
| 826 | }, | 826 | }), |
| 827 | CpuInfo(@This()).create(.CortexR7, "cortex-r7", &[_]FeatureType { | 827 | CpuInfo(@This(), FeatureType).create(.CortexR7, "cortex-r7", &[_]FeatureType { |
| 828 | .Thumb2, | ||
| 829 | .Perfmon, | 828 | .Perfmon, |
| 830 | .Db, | ||
| 831 | .Dsp, | ||
| 832 | .Rclass, | ||
| 833 | .V7clrex, | ||
| 834 | .V4t, | 829 | .V4t, |
| 830 | .V7clrex, | ||
| 831 | .Dsp, | ||
| 832 | .Thumb2, | ||
| 833 | .Db, | ||
| 835 | .Hwdiv, | 834 | .Hwdiv, |
| 835 | .Rclass, | ||
| 836 | .Armv7R, | 836 | .Armv7R, |
| 837 | .AvoidPartialCpsr, | 837 | .AvoidPartialCpsr, |
| 838 | .Fp16, | 838 | .Fp16, |
| ... | @@ -844,16 +844,16 @@ pub const ArmCpu = enum { | ... | @@ -844,16 +844,16 @@ pub const ArmCpu = enum { |
| 844 | .Fpregs, | 844 | .Fpregs, |
| 845 | .Vfp3d16, | 845 | .Vfp3d16, |
| 846 | .R7, | 846 | .R7, |
| 847 | }, | 847 | }), |
| 848 | CpuInfo(@This()).create(.CortexR8, "cortex-r8", &[_]FeatureType { | 848 | CpuInfo(@This(), FeatureType).create(.CortexR8, "cortex-r8", &[_]FeatureType { |
| 849 | .Thumb2, | ||
| 850 | .Perfmon, | 849 | .Perfmon, |
| 851 | .Db, | ||
| 852 | .Dsp, | ||
| 853 | .Rclass, | ||
| 854 | .V7clrex, | ||
| 855 | .V4t, | 850 | .V4t, |
| 851 | .V7clrex, | ||
| 852 | .Dsp, | ||
| 853 | .Thumb2, | ||
| 854 | .Db, | ||
| 856 | .Hwdiv, | 855 | .Hwdiv, |
| 856 | .Rclass, | ||
| 857 | .Armv7R, | 857 | .Armv7R, |
| 858 | .AvoidPartialCpsr, | 858 | .AvoidPartialCpsr, |
| 859 | .Fp16, | 859 | .Fp16, |
| ... | @@ -864,24 +864,24 @@ pub const ArmCpu = enum { | ... | @@ -864,24 +864,24 @@ pub const ArmCpu = enum { |
| 864 | .SlowFpBrcc, | 864 | .SlowFpBrcc, |
| 865 | .Fpregs, | 865 | .Fpregs, |
| 866 | .Vfp3d16, | 866 | .Vfp3d16, |
| 867 | }, | 867 | }), |
| 868 | CpuInfo(@This()).create(.Cyclone, "cyclone", &[_]FeatureType { | 868 | CpuInfo(@This(), FeatureType).create(.Cyclone, "cyclone", &[_]FeatureType { |
| 869 | .Thumb2, | 869 | .HwdivArm, |
| 870 | .Mp, | ||
| 871 | .Perfmon, | 870 | .Perfmon, |
| 872 | .Db, | 871 | .D32, |
| 872 | .Fpregs, | ||
| 873 | .Crc, | 873 | .Crc, |
| 874 | .Mp, | ||
| 874 | .Fp16, | 875 | .Fp16, |
| 875 | .Dsp, | 876 | .Dsp, |
| 876 | .V7clrex, | ||
| 877 | .V4t, | 877 | .V4t, |
| 878 | .Fpregs, | 878 | .V7clrex, |
| 879 | .D32, | 879 | .Db, |
| 880 | .Hwdiv, | ||
| 881 | .HwdivArm, | ||
| 882 | .Aclass, | 880 | .Aclass, |
| 883 | .Trustzone, | 881 | .Thumb2, |
| 884 | .AcquireRelease, | 882 | .AcquireRelease, |
| 883 | .Hwdiv, | ||
| 884 | .Trustzone, | ||
| 885 | .Armv8A, | 885 | .Armv8A, |
| 886 | .AvoidMovsShop, | 886 | .AvoidMovsShop, |
| 887 | .AvoidPartialCpsr, | 887 | .AvoidPartialCpsr, |
| ... | @@ -894,197 +894,197 @@ pub const ArmCpu = enum { | ... | @@ -894,197 +894,197 @@ pub const ArmCpu = enum { |
| 894 | .Vfp4, | 894 | .Vfp4, |
| 895 | .Zcz, | 895 | .Zcz, |
| 896 | .Swift, | 896 | .Swift, |
| 897 | }, | 897 | }), |
| 898 | CpuInfo(@This()).create(.Ep9312, "ep9312", &[_]FeatureType { | 898 | CpuInfo(@This(), FeatureType).create(.Ep9312, "ep9312", &[_]FeatureType { |
| 899 | .V4t, | 899 | .V4t, |
| 900 | .Armv4t, | 900 | .Armv4t, |
| 901 | }, | 901 | }), |
| 902 | CpuInfo(@This()).create(.ExynosM1, "exynos-m1", &[_]FeatureType { | 902 | CpuInfo(@This(), FeatureType).create(.ExynosM1, "exynos-m1", &[_]FeatureType { |
| 903 | .Thumb2, | 903 | .HwdivArm, |
| 904 | .Mp, | ||
| 905 | .Perfmon, | 904 | .Perfmon, |
| 906 | .Db, | 905 | .D32, |
| 906 | .Fpregs, | ||
| 907 | .Crc, | 907 | .Crc, |
| 908 | .Mp, | ||
| 908 | .Fp16, | 909 | .Fp16, |
| 909 | .Dsp, | 910 | .Dsp, |
| 910 | .V7clrex, | ||
| 911 | .V4t, | 911 | .V4t, |
| 912 | .Fpregs, | 912 | .V7clrex, |
| 913 | .D32, | 913 | .Db, |
| 914 | .Hwdiv, | ||
| 915 | .HwdivArm, | ||
| 916 | .Aclass, | 914 | .Aclass, |
| 917 | .Trustzone, | 915 | .Thumb2, |
| 918 | .AcquireRelease, | 916 | .AcquireRelease, |
| 917 | .Hwdiv, | ||
| 918 | .Trustzone, | ||
| 919 | .Armv8A, | 919 | .Armv8A, |
| 920 | .Zcz, | 920 | .RetAddrStack, |
| 921 | .SlowVdup32, | ||
| 922 | .SlowVgetlni32, | 921 | .SlowVgetlni32, |
| 923 | .DontWidenVmovs, | ||
| 924 | .FuseAes, | ||
| 925 | .WideStrideVfp, | 922 | .WideStrideVfp, |
| 923 | .SlowVdup32, | ||
| 924 | .SlowFpBrcc, | ||
| 926 | .ProfUnpr, | 925 | .ProfUnpr, |
| 926 | .DontWidenVmovs, | ||
| 927 | .Zcz, | ||
| 928 | .FuseAes, | ||
| 927 | .Slowfpvmlx, | 929 | .Slowfpvmlx, |
| 928 | .SlowFpBrcc, | 930 | .UseAa, |
| 929 | .FuseLiterals, | 931 | .FuseLiterals, |
| 930 | .ExpandFpMlx, | 932 | .ExpandFpMlx, |
| 931 | .RetAddrStack, | ||
| 932 | .UseAa, | ||
| 933 | .Exynos, | 933 | .Exynos, |
| 934 | }, | 934 | }), |
| 935 | CpuInfo(@This()).create(.ExynosM2, "exynos-m2", &[_]FeatureType { | 935 | CpuInfo(@This(), FeatureType).create(.ExynosM2, "exynos-m2", &[_]FeatureType { |
| 936 | .Thumb2, | 936 | .HwdivArm, |
| 937 | .Mp, | ||
| 938 | .Perfmon, | 937 | .Perfmon, |
| 939 | .Db, | 938 | .D32, |
| 939 | .Fpregs, | ||
| 940 | .Crc, | 940 | .Crc, |
| 941 | .Mp, | ||
| 941 | .Fp16, | 942 | .Fp16, |
| 942 | .Dsp, | 943 | .Dsp, |
| 943 | .V7clrex, | ||
| 944 | .V4t, | 944 | .V4t, |
| 945 | .Fpregs, | 945 | .V7clrex, |
| 946 | .D32, | 946 | .Db, |
| 947 | .Hwdiv, | ||
| 948 | .HwdivArm, | ||
| 949 | .Aclass, | 947 | .Aclass, |
| 950 | .Trustzone, | 948 | .Thumb2, |
| 951 | .AcquireRelease, | 949 | .AcquireRelease, |
| 950 | .Hwdiv, | ||
| 951 | .Trustzone, | ||
| 952 | .Armv8A, | 952 | .Armv8A, |
| 953 | .Zcz, | 953 | .RetAddrStack, |
| 954 | .SlowVdup32, | ||
| 955 | .SlowVgetlni32, | 954 | .SlowVgetlni32, |
| 956 | .DontWidenVmovs, | ||
| 957 | .FuseAes, | ||
| 958 | .WideStrideVfp, | 955 | .WideStrideVfp, |
| 956 | .SlowVdup32, | ||
| 957 | .SlowFpBrcc, | ||
| 959 | .ProfUnpr, | 958 | .ProfUnpr, |
| 959 | .DontWidenVmovs, | ||
| 960 | .Zcz, | ||
| 961 | .FuseAes, | ||
| 960 | .Slowfpvmlx, | 962 | .Slowfpvmlx, |
| 961 | .SlowFpBrcc, | 963 | .UseAa, |
| 962 | .FuseLiterals, | 964 | .FuseLiterals, |
| 963 | .ExpandFpMlx, | 965 | .ExpandFpMlx, |
| 964 | .RetAddrStack, | ||
| 965 | .UseAa, | ||
| 966 | .Exynos, | 966 | .Exynos, |
| 967 | }, | 967 | }), |
| 968 | CpuInfo(@This()).create(.ExynosM3, "exynos-m3", &[_]FeatureType { | 968 | CpuInfo(@This(), FeatureType).create(.ExynosM3, "exynos-m3", &[_]FeatureType { |
| 969 | .Thumb2, | 969 | .HwdivArm, |
| 970 | .Mp, | ||
| 971 | .Perfmon, | 970 | .Perfmon, |
| 972 | .Db, | 971 | .D32, |
| 972 | .Fpregs, | ||
| 973 | .Crc, | 973 | .Crc, |
| 974 | .Mp, | ||
| 974 | .Fp16, | 975 | .Fp16, |
| 975 | .Dsp, | 976 | .Dsp, |
| 976 | .V7clrex, | ||
| 977 | .V4t, | 977 | .V4t, |
| 978 | .Fpregs, | 978 | .V7clrex, |
| 979 | .D32, | 979 | .Db, |
| 980 | .Hwdiv, | ||
| 981 | .HwdivArm, | ||
| 982 | .Aclass, | 980 | .Aclass, |
| 983 | .Trustzone, | 981 | .Thumb2, |
| 984 | .AcquireRelease, | 982 | .AcquireRelease, |
| 983 | .Hwdiv, | ||
| 984 | .Trustzone, | ||
| 985 | .Armv8A, | 985 | .Armv8A, |
| 986 | .Zcz, | 986 | .RetAddrStack, |
| 987 | .SlowVdup32, | ||
| 988 | .SlowVgetlni32, | 987 | .SlowVgetlni32, |
| 989 | .DontWidenVmovs, | ||
| 990 | .FuseAes, | ||
| 991 | .WideStrideVfp, | 988 | .WideStrideVfp, |
| 989 | .SlowVdup32, | ||
| 990 | .SlowFpBrcc, | ||
| 992 | .ProfUnpr, | 991 | .ProfUnpr, |
| 992 | .DontWidenVmovs, | ||
| 993 | .Zcz, | ||
| 994 | .FuseAes, | ||
| 993 | .Slowfpvmlx, | 995 | .Slowfpvmlx, |
| 994 | .SlowFpBrcc, | 996 | .UseAa, |
| 995 | .FuseLiterals, | 997 | .FuseLiterals, |
| 996 | .ExpandFpMlx, | 998 | .ExpandFpMlx, |
| 997 | .RetAddrStack, | ||
| 998 | .UseAa, | ||
| 999 | .Exynos, | 999 | .Exynos, |
| 1000 | }, | 1000 | }), |
| 1001 | CpuInfo(@This()).create(.ExynosM4, "exynos-m4", &[_]FeatureType { | 1001 | CpuInfo(@This(), FeatureType).create(.ExynosM4, "exynos-m4", &[_]FeatureType { |
| 1002 | .Thumb2, | 1002 | .HwdivArm, |
| 1003 | .Mp, | ||
| 1004 | .Perfmon, | 1003 | .Perfmon, |
| 1005 | .Db, | 1004 | .D32, |
| 1005 | .Fpregs, | ||
| 1006 | .Crc, | 1006 | .Crc, |
| 1007 | .Mp, | ||
| 1007 | .Fp16, | 1008 | .Fp16, |
| 1008 | .Ras, | ||
| 1009 | .Dsp, | 1009 | .Dsp, |
| 1010 | .V7clrex, | ||
| 1011 | .V4t, | 1010 | .V4t, |
| 1012 | .Fpregs, | 1011 | .V7clrex, |
| 1013 | .D32, | 1012 | .Db, |
| 1014 | .Hwdiv, | ||
| 1015 | .HwdivArm, | ||
| 1016 | .Aclass, | 1013 | .Aclass, |
| 1017 | .Trustzone, | 1014 | .Thumb2, |
| 1015 | .Ras, | ||
| 1018 | .AcquireRelease, | 1016 | .AcquireRelease, |
| 1017 | .Hwdiv, | ||
| 1018 | .Trustzone, | ||
| 1019 | .Armv82A, | 1019 | .Armv82A, |
| 1020 | .Dotprod, | 1020 | .Dotprod, |
| 1021 | .Fullfp16, | 1021 | .Fullfp16, |
| 1022 | .Zcz, | 1022 | .RetAddrStack, |
| 1023 | .SlowVdup32, | ||
| 1024 | .SlowVgetlni32, | 1023 | .SlowVgetlni32, |
| 1025 | .DontWidenVmovs, | ||
| 1026 | .FuseAes, | ||
| 1027 | .WideStrideVfp, | 1024 | .WideStrideVfp, |
| 1025 | .SlowVdup32, | ||
| 1026 | .SlowFpBrcc, | ||
| 1028 | .ProfUnpr, | 1027 | .ProfUnpr, |
| 1028 | .DontWidenVmovs, | ||
| 1029 | .Zcz, | ||
| 1030 | .FuseAes, | ||
| 1029 | .Slowfpvmlx, | 1031 | .Slowfpvmlx, |
| 1030 | .SlowFpBrcc, | 1032 | .UseAa, |
| 1031 | .FuseLiterals, | 1033 | .FuseLiterals, |
| 1032 | .ExpandFpMlx, | 1034 | .ExpandFpMlx, |
| 1033 | .RetAddrStack, | ||
| 1034 | .UseAa, | ||
| 1035 | .Exynos, | 1035 | .Exynos, |
| 1036 | }, | 1036 | }), |
| 1037 | CpuInfo(@This()).create(.ExynosM5, "exynos-m5", &[_]FeatureType { | 1037 | CpuInfo(@This(), FeatureType).create(.ExynosM5, "exynos-m5", &[_]FeatureType { |
| 1038 | .Thumb2, | 1038 | .HwdivArm, |
| 1039 | .Mp, | ||
| 1040 | .Perfmon, | 1039 | .Perfmon, |
| 1041 | .Db, | 1040 | .D32, |
| 1041 | .Fpregs, | ||
| 1042 | .Crc, | 1042 | .Crc, |
| 1043 | .Mp, | ||
| 1043 | .Fp16, | 1044 | .Fp16, |
| 1044 | .Ras, | ||
| 1045 | .Dsp, | 1045 | .Dsp, |
| 1046 | .V7clrex, | ||
| 1047 | .V4t, | 1046 | .V4t, |
| 1048 | .Fpregs, | 1047 | .V7clrex, |
| 1049 | .D32, | 1048 | .Db, |
| 1050 | .Hwdiv, | ||
| 1051 | .HwdivArm, | ||
| 1052 | .Aclass, | 1049 | .Aclass, |
| 1053 | .Trustzone, | 1050 | .Thumb2, |
| 1051 | .Ras, | ||
| 1054 | .AcquireRelease, | 1052 | .AcquireRelease, |
| 1053 | .Hwdiv, | ||
| 1054 | .Trustzone, | ||
| 1055 | .Armv82A, | 1055 | .Armv82A, |
| 1056 | .Dotprod, | 1056 | .Dotprod, |
| 1057 | .Fullfp16, | 1057 | .Fullfp16, |
| 1058 | .Zcz, | 1058 | .RetAddrStack, |
| 1059 | .SlowVdup32, | ||
| 1060 | .SlowVgetlni32, | 1059 | .SlowVgetlni32, |
| 1061 | .DontWidenVmovs, | ||
| 1062 | .FuseAes, | ||
| 1063 | .WideStrideVfp, | 1060 | .WideStrideVfp, |
| 1061 | .SlowVdup32, | ||
| 1062 | .SlowFpBrcc, | ||
| 1064 | .ProfUnpr, | 1063 | .ProfUnpr, |
| 1064 | .DontWidenVmovs, | ||
| 1065 | .Zcz, | ||
| 1066 | .FuseAes, | ||
| 1065 | .Slowfpvmlx, | 1067 | .Slowfpvmlx, |
| 1066 | .SlowFpBrcc, | 1068 | .UseAa, |
| 1067 | .FuseLiterals, | 1069 | .FuseLiterals, |
| 1068 | .ExpandFpMlx, | 1070 | .ExpandFpMlx, |
| 1069 | .RetAddrStack, | ||
| 1070 | .UseAa, | ||
| 1071 | .Exynos, | 1071 | .Exynos, |
| 1072 | }, | 1072 | }), |
| 1073 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | 1073 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { |
| 1074 | }, | 1074 | }), |
| 1075 | CpuInfo(@This()).create(.Iwmmxt, "iwmmxt", &[_]FeatureType { | 1075 | CpuInfo(@This(), FeatureType).create(.Iwmmxt, "iwmmxt", &[_]FeatureType { |
| 1076 | .V4t, | 1076 | .V4t, |
| 1077 | .Armv5te, | 1077 | .Armv5te, |
| 1078 | }, | 1078 | }), |
| 1079 | CpuInfo(@This()).create(.Krait, "krait", &[_]FeatureType { | 1079 | CpuInfo(@This(), FeatureType).create(.Krait, "krait", &[_]FeatureType { |
| 1080 | .Thumb2, | ||
| 1081 | .Perfmon, | 1080 | .Perfmon, |
| 1082 | .Db, | ||
| 1083 | .Dsp, | ||
| 1084 | .V7clrex, | ||
| 1085 | .V4t, | 1081 | .V4t, |
| 1086 | .Fpregs, | ||
| 1087 | .D32, | 1082 | .D32, |
| 1083 | .Fpregs, | ||
| 1084 | .V7clrex, | ||
| 1085 | .Dsp, | ||
| 1086 | .Thumb2, | ||
| 1087 | .Db, | ||
| 1088 | .Aclass, | 1088 | .Aclass, |
| 1089 | .Armv7A, | 1089 | .Armv7A, |
| 1090 | .AvoidPartialCpsr, | 1090 | .AvoidPartialCpsr, |
| ... | @@ -1097,107 +1097,107 @@ pub const ArmCpu = enum { | ... | @@ -1097,107 +1097,107 @@ pub const ArmCpu = enum { |
| 1097 | .Vfp4, | 1097 | .Vfp4, |
| 1098 | .VmlxForwarding, | 1098 | .VmlxForwarding, |
| 1099 | .Krait, | 1099 | .Krait, |
| 1100 | }, | 1100 | }), |
| 1101 | CpuInfo(@This()).create(.Kryo, "kryo", &[_]FeatureType { | 1101 | CpuInfo(@This(), FeatureType).create(.Kryo, "kryo", &[_]FeatureType { |
| 1102 | .Thumb2, | 1102 | .HwdivArm, |
| 1103 | .Mp, | ||
| 1104 | .Perfmon, | 1103 | .Perfmon, |
| 1105 | .Db, | 1104 | .D32, |
| 1105 | .Fpregs, | ||
| 1106 | .Crc, | 1106 | .Crc, |
| 1107 | .Mp, | ||
| 1107 | .Fp16, | 1108 | .Fp16, |
| 1108 | .Dsp, | 1109 | .Dsp, |
| 1109 | .V7clrex, | ||
| 1110 | .V4t, | 1110 | .V4t, |
| 1111 | .Fpregs, | 1111 | .V7clrex, |
| 1112 | .D32, | 1112 | .Db, |
| 1113 | .Hwdiv, | ||
| 1114 | .HwdivArm, | ||
| 1115 | .Aclass, | 1113 | .Aclass, |
| 1116 | .Trustzone, | 1114 | .Thumb2, |
| 1117 | .AcquireRelease, | 1115 | .AcquireRelease, |
| 1116 | .Hwdiv, | ||
| 1117 | .Trustzone, | ||
| 1118 | .Armv8A, | 1118 | .Armv8A, |
| 1119 | .Crypto, | 1119 | .Crypto, |
| 1120 | .Kryo, | 1120 | .Kryo, |
| 1121 | }, | 1121 | }), |
| 1122 | CpuInfo(@This()).create(.Mpcore, "mpcore", &[_]FeatureType { | 1122 | CpuInfo(@This(), FeatureType).create(.Mpcore, "mpcore", &[_]FeatureType { |
| 1123 | .V4t, | 1123 | .V4t, |
| 1124 | .Armv6k, | 1124 | .Armv6k, |
| 1125 | .Slowfpvmlx, | 1125 | .Slowfpvmlx, |
| 1126 | .Fpregs, | 1126 | .Fpregs, |
| 1127 | .Vfp2, | 1127 | .Vfp2, |
| 1128 | }, | 1128 | }), |
| 1129 | CpuInfo(@This()).create(.Mpcorenovfp, "mpcorenovfp", &[_]FeatureType { | 1129 | CpuInfo(@This(), FeatureType).create(.Mpcorenovfp, "mpcorenovfp", &[_]FeatureType { |
| 1130 | .V4t, | 1130 | .V4t, |
| 1131 | .Armv6k, | 1131 | .Armv6k, |
| 1132 | }, | 1132 | }), |
| 1133 | CpuInfo(@This()).create(.NeoverseN1, "neoverse-n1", &[_]FeatureType { | 1133 | CpuInfo(@This(), FeatureType).create(.NeoverseN1, "neoverse-n1", &[_]FeatureType { |
| 1134 | .Thumb2, | 1134 | .HwdivArm, |
| 1135 | .Mp, | ||
| 1136 | .Perfmon, | 1135 | .Perfmon, |
| 1137 | .Db, | 1136 | .D32, |
| 1137 | .Fpregs, | ||
| 1138 | .Crc, | 1138 | .Crc, |
| 1139 | .Mp, | ||
| 1139 | .Fp16, | 1140 | .Fp16, |
| 1140 | .Ras, | ||
| 1141 | .Dsp, | 1141 | .Dsp, |
| 1142 | .V7clrex, | ||
| 1143 | .V4t, | 1142 | .V4t, |
| 1144 | .Fpregs, | 1143 | .V7clrex, |
| 1145 | .D32, | 1144 | .Db, |
| 1146 | .Hwdiv, | ||
| 1147 | .HwdivArm, | ||
| 1148 | .Aclass, | 1145 | .Aclass, |
| 1149 | .Trustzone, | 1146 | .Thumb2, |
| 1147 | .Ras, | ||
| 1150 | .AcquireRelease, | 1148 | .AcquireRelease, |
| 1149 | .Hwdiv, | ||
| 1150 | .Trustzone, | ||
| 1151 | .Armv82A, | 1151 | .Armv82A, |
| 1152 | .Crypto, | 1152 | .Crypto, |
| 1153 | .Dotprod, | 1153 | .Dotprod, |
| 1154 | }, | 1154 | }), |
| 1155 | CpuInfo(@This()).create(.Sc000, "sc000", &[_]FeatureType { | 1155 | CpuInfo(@This(), FeatureType).create(.Sc000, "sc000", &[_]FeatureType { |
| 1156 | .Mclass, | 1156 | .V4t, |
| 1157 | .StrictAlign, | ||
| 1158 | .ThumbMode, | 1157 | .ThumbMode, |
| 1159 | .Db, | 1158 | .Db, |
| 1160 | .V4t, | 1159 | .StrictAlign, |
| 1160 | .Mclass, | ||
| 1161 | .Noarm, | 1161 | .Noarm, |
| 1162 | .Armv6M, | 1162 | .Armv6M, |
| 1163 | }, | 1163 | }), |
| 1164 | CpuInfo(@This()).create(.Sc300, "sc300", &[_]FeatureType { | 1164 | CpuInfo(@This(), FeatureType).create(.Sc300, "sc300", &[_]FeatureType { |
| 1165 | .Thumb2, | ||
| 1166 | .Mclass, | ||
| 1167 | .Perfmon, | 1165 | .Perfmon, |
| 1166 | .V4t, | ||
| 1168 | .ThumbMode, | 1167 | .ThumbMode, |
| 1169 | .Db, | ||
| 1170 | .V7clrex, | 1168 | .V7clrex, |
| 1171 | .V4t, | 1169 | .Thumb2, |
| 1172 | .Hwdiv, | 1170 | .Db, |
| 1171 | .Mclass, | ||
| 1173 | .Noarm, | 1172 | .Noarm, |
| 1173 | .Hwdiv, | ||
| 1174 | .Armv7M, | 1174 | .Armv7M, |
| 1175 | .NoBranchPredictor, | 1175 | .NoBranchPredictor, |
| 1176 | .UseAa, | 1176 | .UseAa, |
| 1177 | .UseMisched, | 1177 | .UseMisched, |
| 1178 | .M3, | 1178 | .M3, |
| 1179 | }, | 1179 | }), |
| 1180 | CpuInfo(@This()).create(.Strongarm, "strongarm", &[_]FeatureType { | 1180 | CpuInfo(@This(), FeatureType).create(.Strongarm, "strongarm", &[_]FeatureType { |
| 1181 | .Armv4, | 1181 | .Armv4, |
| 1182 | }, | 1182 | }), |
| 1183 | CpuInfo(@This()).create(.Strongarm110, "strongarm110", &[_]FeatureType { | 1183 | CpuInfo(@This(), FeatureType).create(.Strongarm110, "strongarm110", &[_]FeatureType { |
| 1184 | .Armv4, | 1184 | .Armv4, |
| 1185 | }, | 1185 | }), |
| 1186 | CpuInfo(@This()).create(.Strongarm1100, "strongarm1100", &[_]FeatureType { | 1186 | CpuInfo(@This(), FeatureType).create(.Strongarm1100, "strongarm1100", &[_]FeatureType { |
| 1187 | .Armv4, | 1187 | .Armv4, |
| 1188 | }, | 1188 | }), |
| 1189 | CpuInfo(@This()).create(.Strongarm1110, "strongarm1110", &[_]FeatureType { | 1189 | CpuInfo(@This(), FeatureType).create(.Strongarm1110, "strongarm1110", &[_]FeatureType { |
| 1190 | .Armv4, | 1190 | .Armv4, |
| 1191 | }, | 1191 | }), |
| 1192 | CpuInfo(@This()).create(.Swift, "swift", &[_]FeatureType { | 1192 | CpuInfo(@This(), FeatureType).create(.Swift, "swift", &[_]FeatureType { |
| 1193 | .Thumb2, | ||
| 1194 | .Perfmon, | 1193 | .Perfmon, |
| 1195 | .Db, | ||
| 1196 | .Dsp, | ||
| 1197 | .V7clrex, | ||
| 1198 | .V4t, | 1194 | .V4t, |
| 1199 | .Fpregs, | ||
| 1200 | .D32, | 1195 | .D32, |
| 1196 | .Fpregs, | ||
| 1197 | .V7clrex, | ||
| 1198 | .Dsp, | ||
| 1199 | .Thumb2, | ||
| 1200 | .Db, | ||
| 1201 | .Aclass, | 1201 | .Aclass, |
| 1202 | .Armv7A, | 1202 | .Armv7A, |
| 1203 | .AvoidMovsShop, | 1203 | .AvoidMovsShop, |
| ... | @@ -1221,10 +1221,10 @@ pub const ArmCpu = enum { | ... | @@ -1221,10 +1221,10 @@ pub const ArmCpu = enum { |
| 1221 | .Fp16, | 1221 | .Fp16, |
| 1222 | .Vfp4, | 1222 | .Vfp4, |
| 1223 | .Swift, | 1223 | .Swift, |
| 1224 | }, | 1224 | }), |
| 1225 | CpuInfo(@This()).create(.Xscale, "xscale", &[_]FeatureType { | 1225 | CpuInfo(@This(), FeatureType).create(.Xscale, "xscale", &[_]FeatureType { |
| 1226 | .V4t, | 1226 | .V4t, |
| 1227 | .Armv5te, | 1227 | .Armv5te, |
| 1228 | }, | 1228 | }), |
| 1229 | }; | 1229 | }; |
| 1230 | }; | 1230 | }; |
lib/std/target/cpu/AvrCpu.zig+2159-2159| ... | @@ -260,3604 +260,3604 @@ pub const AvrCpu = enum { | ... | @@ -260,3604 +260,3604 @@ pub const AvrCpu = enum { |
| 260 | Avrxmega7, | 260 | Avrxmega7, |
| 261 | M3000, | 261 | M3000, |
| 262 | 262 | ||
| 263 | pub fn getInfo(self: @This()) CpuInfo { | 263 | const FeatureType = feature.AvrFeature; |
| 264 | |||
| 265 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 264 | return cpu_infos[@enumToInt(self)]; | 266 | return cpu_infos[@enumToInt(self)]; |
| 265 | } | 267 | } |
| 266 | 268 | ||
| 267 | pub const FeatureType = feature.AvrFeature; | 269 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 268 | 270 | CpuInfo(@This(), FeatureType).create(.At43usb320, "at43usb320", &[_]FeatureType { | |
| 269 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | 271 | .Lpm, |
| 270 | CpuInfo(@This()).create(.At43usb320, "at43usb320", &[_]FeatureType { | ||
| 271 | .Ijmpcall, | ||
| 272 | .Sram, | ||
| 273 | .Elpm, | 272 | .Elpm, |
| 274 | .Avr0, | 273 | .Avr0, |
| 274 | .Sram, | ||
| 275 | .Jmpcall, | 275 | .Jmpcall, |
| 276 | .Addsubiw, | 276 | .Addsubiw, |
| 277 | .Lpm, | ||
| 278 | .Avr31, | ||
| 279 | }, | ||
| 280 | CpuInfo(@This()).create(.At43usb355, "at43usb355", &[_]FeatureType { | ||
| 281 | .Ijmpcall, | 277 | .Ijmpcall, |
| 282 | .Sram, | 278 | .Avr31, |
| 279 | }), | ||
| 280 | CpuInfo(@This(), FeatureType).create(.At43usb355, "at43usb355", &[_]FeatureType { | ||
| 281 | .Lpm, | ||
| 283 | .Avr0, | 282 | .Avr0, |
| 283 | .Sram, | ||
| 284 | .Jmpcall, | 284 | .Jmpcall, |
| 285 | .Addsubiw, | 285 | .Addsubiw, |
| 286 | .Lpm, | ||
| 287 | .Avr3, | ||
| 288 | }, | ||
| 289 | CpuInfo(@This()).create(.At76c711, "at76c711", &[_]FeatureType { | ||
| 290 | .Ijmpcall, | 286 | .Ijmpcall, |
| 291 | .Sram, | 287 | .Avr3, |
| 288 | }), | ||
| 289 | CpuInfo(@This(), FeatureType).create(.At76c711, "at76c711", &[_]FeatureType { | ||
| 290 | .Lpm, | ||
| 292 | .Avr0, | 291 | .Avr0, |
| 292 | .Sram, | ||
| 293 | .Jmpcall, | 293 | .Jmpcall, |
| 294 | .Addsubiw, | 294 | .Addsubiw, |
| 295 | .Lpm, | ||
| 296 | .Avr3, | ||
| 297 | }, | ||
| 298 | CpuInfo(@This()).create(.At86rf401, "at86rf401", &[_]FeatureType { | ||
| 299 | .Ijmpcall, | 295 | .Ijmpcall, |
| 300 | .Sram, | 296 | .Avr3, |
| 297 | }), | ||
| 298 | CpuInfo(@This(), FeatureType).create(.At86rf401, "at86rf401", &[_]FeatureType { | ||
| 299 | .Lpm, | ||
| 301 | .Avr0, | 300 | .Avr0, |
| 301 | .Sram, | ||
| 302 | .Addsubiw, | 302 | .Addsubiw, |
| 303 | .Lpm, | 303 | .Ijmpcall, |
| 304 | .Avr2, | 304 | .Avr2, |
| 305 | .Lpmx, | 305 | .Lpmx, |
| 306 | .Movw, | 306 | .Movw, |
| 307 | }, | 307 | }), |
| 308 | CpuInfo(@This()).create(.At90c8534, "at90c8534", &[_]FeatureType { | 308 | CpuInfo(@This(), FeatureType).create(.At90c8534, "at90c8534", &[_]FeatureType { |
| 309 | .Ijmpcall, | 309 | .Lpm, |
| 310 | .Sram, | ||
| 311 | .Avr0, | 310 | .Avr0, |
| 311 | .Sram, | ||
| 312 | .Addsubiw, | 312 | .Addsubiw, |
| 313 | .Lpm, | ||
| 314 | .Avr2, | ||
| 315 | }, | ||
| 316 | CpuInfo(@This()).create(.At90can128, "at90can128", &[_]FeatureType { | ||
| 317 | .Ijmpcall, | 313 | .Ijmpcall, |
| 318 | .Elpmx, | 314 | .Avr2, |
| 315 | }), | ||
| 316 | CpuInfo(@This(), FeatureType).create(.At90can128, "at90can128", &[_]FeatureType { | ||
| 317 | .Lpm, | ||
| 318 | .Elpm, | ||
| 319 | .Movw, | 319 | .Movw, |
| 320 | .Mul, | 320 | .Elpmx, |
| 321 | .Sram, | ||
| 322 | .Break, | ||
| 323 | .Spm, | 321 | .Spm, |
| 324 | .Elpm, | ||
| 325 | .Lpmx, | ||
| 326 | .Avr0, | 322 | .Avr0, |
| 323 | .Sram, | ||
| 327 | .Jmpcall, | 324 | .Jmpcall, |
| 328 | .Addsubiw, | 325 | .Addsubiw, |
| 329 | .Lpm, | ||
| 330 | .Avr51, | ||
| 331 | }, | ||
| 332 | CpuInfo(@This()).create(.At90can32, "at90can32", &[_]FeatureType { | ||
| 333 | .Ijmpcall, | ||
| 334 | .Movw, | ||
| 335 | .Mul, | 326 | .Mul, |
| 336 | .Sram, | 327 | .Lpmx, |
| 328 | .Ijmpcall, | ||
| 337 | .Break, | 329 | .Break, |
| 330 | .Avr51, | ||
| 331 | }), | ||
| 332 | CpuInfo(@This(), FeatureType).create(.At90can32, "at90can32", &[_]FeatureType { | ||
| 333 | .Lpm, | ||
| 334 | .Movw, | ||
| 338 | .Spm, | 335 | .Spm, |
| 339 | .Lpmx, | ||
| 340 | .Avr0, | 336 | .Avr0, |
| 337 | .Sram, | ||
| 341 | .Jmpcall, | 338 | .Jmpcall, |
| 342 | .Addsubiw, | 339 | .Addsubiw, |
| 343 | .Lpm, | ||
| 344 | .Avr5, | ||
| 345 | }, | ||
| 346 | CpuInfo(@This()).create(.At90can64, "at90can64", &[_]FeatureType { | ||
| 347 | .Ijmpcall, | ||
| 348 | .Movw, | ||
| 349 | .Mul, | 340 | .Mul, |
| 350 | .Sram, | 341 | .Lpmx, |
| 342 | .Ijmpcall, | ||
| 351 | .Break, | 343 | .Break, |
| 344 | .Avr5, | ||
| 345 | }), | ||
| 346 | CpuInfo(@This(), FeatureType).create(.At90can64, "at90can64", &[_]FeatureType { | ||
| 347 | .Lpm, | ||
| 348 | .Movw, | ||
| 352 | .Spm, | 349 | .Spm, |
| 353 | .Lpmx, | ||
| 354 | .Avr0, | 350 | .Avr0, |
| 351 | .Sram, | ||
| 355 | .Jmpcall, | 352 | .Jmpcall, |
| 356 | .Addsubiw, | 353 | .Addsubiw, |
| 357 | .Lpm, | ||
| 358 | .Avr5, | ||
| 359 | }, | ||
| 360 | CpuInfo(@This()).create(.At90pwm1, "at90pwm1", &[_]FeatureType { | ||
| 361 | .Ijmpcall, | ||
| 362 | .Movw, | ||
| 363 | .Mul, | 354 | .Mul, |
| 364 | .Sram, | 355 | .Lpmx, |
| 356 | .Ijmpcall, | ||
| 365 | .Break, | 357 | .Break, |
| 358 | .Avr5, | ||
| 359 | }), | ||
| 360 | CpuInfo(@This(), FeatureType).create(.At90pwm1, "at90pwm1", &[_]FeatureType { | ||
| 361 | .Lpm, | ||
| 362 | .Movw, | ||
| 366 | .Spm, | 363 | .Spm, |
| 367 | .Lpmx, | ||
| 368 | .Avr0, | 364 | .Avr0, |
| 365 | .Sram, | ||
| 369 | .Addsubiw, | 366 | .Addsubiw, |
| 370 | .Lpm, | ||
| 371 | .Avr4, | ||
| 372 | }, | ||
| 373 | CpuInfo(@This()).create(.At90pwm161, "at90pwm161", &[_]FeatureType { | ||
| 374 | .Ijmpcall, | ||
| 375 | .Movw, | ||
| 376 | .Mul, | 367 | .Mul, |
| 377 | .Sram, | 368 | .Lpmx, |
| 369 | .Ijmpcall, | ||
| 378 | .Break, | 370 | .Break, |
| 371 | .Avr4, | ||
| 372 | }), | ||
| 373 | CpuInfo(@This(), FeatureType).create(.At90pwm161, "at90pwm161", &[_]FeatureType { | ||
| 374 | .Lpm, | ||
| 375 | .Movw, | ||
| 379 | .Spm, | 376 | .Spm, |
| 380 | .Lpmx, | ||
| 381 | .Avr0, | 377 | .Avr0, |
| 378 | .Sram, | ||
| 382 | .Jmpcall, | 379 | .Jmpcall, |
| 383 | .Addsubiw, | 380 | .Addsubiw, |
| 384 | .Lpm, | ||
| 385 | .Avr5, | ||
| 386 | }, | ||
| 387 | CpuInfo(@This()).create(.At90pwm2, "at90pwm2", &[_]FeatureType { | ||
| 388 | .Ijmpcall, | ||
| 389 | .Movw, | ||
| 390 | .Mul, | 381 | .Mul, |
| 391 | .Sram, | 382 | .Lpmx, |
| 383 | .Ijmpcall, | ||
| 392 | .Break, | 384 | .Break, |
| 385 | .Avr5, | ||
| 386 | }), | ||
| 387 | CpuInfo(@This(), FeatureType).create(.At90pwm2, "at90pwm2", &[_]FeatureType { | ||
| 388 | .Lpm, | ||
| 389 | .Movw, | ||
| 393 | .Spm, | 390 | .Spm, |
| 394 | .Lpmx, | ||
| 395 | .Avr0, | 391 | .Avr0, |
| 392 | .Sram, | ||
| 396 | .Addsubiw, | 393 | .Addsubiw, |
| 397 | .Lpm, | ||
| 398 | .Avr4, | ||
| 399 | }, | ||
| 400 | CpuInfo(@This()).create(.At90pwm216, "at90pwm216", &[_]FeatureType { | ||
| 401 | .Ijmpcall, | ||
| 402 | .Movw, | ||
| 403 | .Mul, | 394 | .Mul, |
| 404 | .Sram, | 395 | .Lpmx, |
| 396 | .Ijmpcall, | ||
| 405 | .Break, | 397 | .Break, |
| 398 | .Avr4, | ||
| 399 | }), | ||
| 400 | CpuInfo(@This(), FeatureType).create(.At90pwm216, "at90pwm216", &[_]FeatureType { | ||
| 401 | .Lpm, | ||
| 402 | .Movw, | ||
| 406 | .Spm, | 403 | .Spm, |
| 407 | .Lpmx, | ||
| 408 | .Avr0, | 404 | .Avr0, |
| 405 | .Sram, | ||
| 409 | .Jmpcall, | 406 | .Jmpcall, |
| 410 | .Addsubiw, | 407 | .Addsubiw, |
| 411 | .Lpm, | ||
| 412 | .Avr5, | ||
| 413 | }, | ||
| 414 | CpuInfo(@This()).create(.At90pwm2b, "at90pwm2b", &[_]FeatureType { | ||
| 415 | .Ijmpcall, | ||
| 416 | .Movw, | ||
| 417 | .Mul, | 408 | .Mul, |
| 418 | .Sram, | 409 | .Lpmx, |
| 410 | .Ijmpcall, | ||
| 419 | .Break, | 411 | .Break, |
| 412 | .Avr5, | ||
| 413 | }), | ||
| 414 | CpuInfo(@This(), FeatureType).create(.At90pwm2b, "at90pwm2b", &[_]FeatureType { | ||
| 415 | .Lpm, | ||
| 416 | .Movw, | ||
| 420 | .Spm, | 417 | .Spm, |
| 421 | .Lpmx, | ||
| 422 | .Avr0, | 418 | .Avr0, |
| 419 | .Sram, | ||
| 423 | .Addsubiw, | 420 | .Addsubiw, |
| 424 | .Lpm, | ||
| 425 | .Avr4, | ||
| 426 | }, | ||
| 427 | CpuInfo(@This()).create(.At90pwm3, "at90pwm3", &[_]FeatureType { | ||
| 428 | .Ijmpcall, | ||
| 429 | .Movw, | ||
| 430 | .Mul, | 421 | .Mul, |
| 431 | .Sram, | 422 | .Lpmx, |
| 423 | .Ijmpcall, | ||
| 432 | .Break, | 424 | .Break, |
| 425 | .Avr4, | ||
| 426 | }), | ||
| 427 | CpuInfo(@This(), FeatureType).create(.At90pwm3, "at90pwm3", &[_]FeatureType { | ||
| 428 | .Lpm, | ||
| 429 | .Movw, | ||
| 433 | .Spm, | 430 | .Spm, |
| 434 | .Lpmx, | ||
| 435 | .Avr0, | 431 | .Avr0, |
| 432 | .Sram, | ||
| 436 | .Addsubiw, | 433 | .Addsubiw, |
| 437 | .Lpm, | ||
| 438 | .Avr4, | ||
| 439 | }, | ||
| 440 | CpuInfo(@This()).create(.At90pwm316, "at90pwm316", &[_]FeatureType { | ||
| 441 | .Ijmpcall, | ||
| 442 | .Movw, | ||
| 443 | .Mul, | 434 | .Mul, |
| 444 | .Sram, | 435 | .Lpmx, |
| 436 | .Ijmpcall, | ||
| 445 | .Break, | 437 | .Break, |
| 438 | .Avr4, | ||
| 439 | }), | ||
| 440 | CpuInfo(@This(), FeatureType).create(.At90pwm316, "at90pwm316", &[_]FeatureType { | ||
| 441 | .Lpm, | ||
| 442 | .Movw, | ||
| 446 | .Spm, | 443 | .Spm, |
| 447 | .Lpmx, | ||
| 448 | .Avr0, | 444 | .Avr0, |
| 445 | .Sram, | ||
| 449 | .Jmpcall, | 446 | .Jmpcall, |
| 450 | .Addsubiw, | 447 | .Addsubiw, |
| 451 | .Lpm, | ||
| 452 | .Avr5, | ||
| 453 | }, | ||
| 454 | CpuInfo(@This()).create(.At90pwm3b, "at90pwm3b", &[_]FeatureType { | ||
| 455 | .Ijmpcall, | ||
| 456 | .Movw, | ||
| 457 | .Mul, | 448 | .Mul, |
| 458 | .Sram, | 449 | .Lpmx, |
| 450 | .Ijmpcall, | ||
| 459 | .Break, | 451 | .Break, |
| 452 | .Avr5, | ||
| 453 | }), | ||
| 454 | CpuInfo(@This(), FeatureType).create(.At90pwm3b, "at90pwm3b", &[_]FeatureType { | ||
| 455 | .Lpm, | ||
| 456 | .Movw, | ||
| 460 | .Spm, | 457 | .Spm, |
| 461 | .Lpmx, | ||
| 462 | .Avr0, | 458 | .Avr0, |
| 459 | .Sram, | ||
| 463 | .Addsubiw, | 460 | .Addsubiw, |
| 464 | .Lpm, | ||
| 465 | .Avr4, | ||
| 466 | }, | ||
| 467 | CpuInfo(@This()).create(.At90pwm81, "at90pwm81", &[_]FeatureType { | ||
| 468 | .Ijmpcall, | ||
| 469 | .Movw, | ||
| 470 | .Mul, | 461 | .Mul, |
| 471 | .Sram, | 462 | .Lpmx, |
| 463 | .Ijmpcall, | ||
| 472 | .Break, | 464 | .Break, |
| 465 | .Avr4, | ||
| 466 | }), | ||
| 467 | CpuInfo(@This(), FeatureType).create(.At90pwm81, "at90pwm81", &[_]FeatureType { | ||
| 468 | .Lpm, | ||
| 469 | .Movw, | ||
| 473 | .Spm, | 470 | .Spm, |
| 474 | .Lpmx, | ||
| 475 | .Avr0, | 471 | .Avr0, |
| 472 | .Sram, | ||
| 476 | .Addsubiw, | 473 | .Addsubiw, |
| 477 | .Lpm, | 474 | .Mul, |
| 475 | .Lpmx, | ||
| 476 | .Ijmpcall, | ||
| 477 | .Break, | ||
| 478 | .Avr4, | 478 | .Avr4, |
| 479 | }, | 479 | }), |
| 480 | CpuInfo(@This()).create(.At90s1200, "at90s1200", &[_]FeatureType { | 480 | CpuInfo(@This(), FeatureType).create(.At90s1200, "at90s1200", &[_]FeatureType { |
| 481 | .Avr0, | 481 | .Avr0, |
| 482 | }, | 482 | }), |
| 483 | CpuInfo(@This()).create(.At90s2313, "at90s2313", &[_]FeatureType { | 483 | CpuInfo(@This(), FeatureType).create(.At90s2313, "at90s2313", &[_]FeatureType { |
| 484 | .Ijmpcall, | 484 | .Lpm, |
| 485 | .Sram, | ||
| 486 | .Avr0, | 485 | .Avr0, |
| 486 | .Sram, | ||
| 487 | .Addsubiw, | 487 | .Addsubiw, |
| 488 | .Lpm, | ||
| 489 | .Avr2, | ||
| 490 | }, | ||
| 491 | CpuInfo(@This()).create(.At90s2323, "at90s2323", &[_]FeatureType { | ||
| 492 | .Ijmpcall, | 488 | .Ijmpcall, |
| 493 | .Sram, | 489 | .Avr2, |
| 490 | }), | ||
| 491 | CpuInfo(@This(), FeatureType).create(.At90s2323, "at90s2323", &[_]FeatureType { | ||
| 492 | .Lpm, | ||
| 494 | .Avr0, | 493 | .Avr0, |
| 494 | .Sram, | ||
| 495 | .Addsubiw, | 495 | .Addsubiw, |
| 496 | .Lpm, | ||
| 497 | .Avr2, | ||
| 498 | }, | ||
| 499 | CpuInfo(@This()).create(.At90s2333, "at90s2333", &[_]FeatureType { | ||
| 500 | .Ijmpcall, | 496 | .Ijmpcall, |
| 501 | .Sram, | 497 | .Avr2, |
| 498 | }), | ||
| 499 | CpuInfo(@This(), FeatureType).create(.At90s2333, "at90s2333", &[_]FeatureType { | ||
| 500 | .Lpm, | ||
| 502 | .Avr0, | 501 | .Avr0, |
| 502 | .Sram, | ||
| 503 | .Addsubiw, | 503 | .Addsubiw, |
| 504 | .Lpm, | ||
| 505 | .Avr2, | ||
| 506 | }, | ||
| 507 | CpuInfo(@This()).create(.At90s2343, "at90s2343", &[_]FeatureType { | ||
| 508 | .Ijmpcall, | 504 | .Ijmpcall, |
| 509 | .Sram, | 505 | .Avr2, |
| 506 | }), | ||
| 507 | CpuInfo(@This(), FeatureType).create(.At90s2343, "at90s2343", &[_]FeatureType { | ||
| 508 | .Lpm, | ||
| 510 | .Avr0, | 509 | .Avr0, |
| 510 | .Sram, | ||
| 511 | .Addsubiw, | 511 | .Addsubiw, |
| 512 | .Lpm, | ||
| 513 | .Avr2, | ||
| 514 | }, | ||
| 515 | CpuInfo(@This()).create(.At90s4414, "at90s4414", &[_]FeatureType { | ||
| 516 | .Ijmpcall, | 512 | .Ijmpcall, |
| 517 | .Sram, | 513 | .Avr2, |
| 514 | }), | ||
| 515 | CpuInfo(@This(), FeatureType).create(.At90s4414, "at90s4414", &[_]FeatureType { | ||
| 516 | .Lpm, | ||
| 518 | .Avr0, | 517 | .Avr0, |
| 518 | .Sram, | ||
| 519 | .Addsubiw, | 519 | .Addsubiw, |
| 520 | .Lpm, | ||
| 521 | .Avr2, | ||
| 522 | }, | ||
| 523 | CpuInfo(@This()).create(.At90s4433, "at90s4433", &[_]FeatureType { | ||
| 524 | .Ijmpcall, | 520 | .Ijmpcall, |
| 525 | .Sram, | 521 | .Avr2, |
| 522 | }), | ||
| 523 | CpuInfo(@This(), FeatureType).create(.At90s4433, "at90s4433", &[_]FeatureType { | ||
| 524 | .Lpm, | ||
| 526 | .Avr0, | 525 | .Avr0, |
| 526 | .Sram, | ||
| 527 | .Addsubiw, | 527 | .Addsubiw, |
| 528 | .Lpm, | ||
| 529 | .Avr2, | ||
| 530 | }, | ||
| 531 | CpuInfo(@This()).create(.At90s4434, "at90s4434", &[_]FeatureType { | ||
| 532 | .Ijmpcall, | 528 | .Ijmpcall, |
| 533 | .Sram, | 529 | .Avr2, |
| 530 | }), | ||
| 531 | CpuInfo(@This(), FeatureType).create(.At90s4434, "at90s4434", &[_]FeatureType { | ||
| 532 | .Lpm, | ||
| 534 | .Avr0, | 533 | .Avr0, |
| 534 | .Sram, | ||
| 535 | .Addsubiw, | 535 | .Addsubiw, |
| 536 | .Lpm, | ||
| 537 | .Avr2, | ||
| 538 | }, | ||
| 539 | CpuInfo(@This()).create(.At90s8515, "at90s8515", &[_]FeatureType { | ||
| 540 | .Ijmpcall, | 536 | .Ijmpcall, |
| 541 | .Sram, | 537 | .Avr2, |
| 538 | }), | ||
| 539 | CpuInfo(@This(), FeatureType).create(.At90s8515, "at90s8515", &[_]FeatureType { | ||
| 540 | .Lpm, | ||
| 542 | .Avr0, | 541 | .Avr0, |
| 542 | .Sram, | ||
| 543 | .Addsubiw, | 543 | .Addsubiw, |
| 544 | .Lpm, | ||
| 545 | .Avr2, | ||
| 546 | }, | ||
| 547 | CpuInfo(@This()).create(.At90s8535, "at90s8535", &[_]FeatureType { | ||
| 548 | .Ijmpcall, | 544 | .Ijmpcall, |
| 549 | .Sram, | 545 | .Avr2, |
| 546 | }), | ||
| 547 | CpuInfo(@This(), FeatureType).create(.At90s8535, "at90s8535", &[_]FeatureType { | ||
| 548 | .Lpm, | ||
| 550 | .Avr0, | 549 | .Avr0, |
| 550 | .Sram, | ||
| 551 | .Addsubiw, | 551 | .Addsubiw, |
| 552 | .Lpm, | ||
| 553 | .Avr2, | ||
| 554 | }, | ||
| 555 | CpuInfo(@This()).create(.At90scr100, "at90scr100", &[_]FeatureType { | ||
| 556 | .Ijmpcall, | 552 | .Ijmpcall, |
| 553 | .Avr2, | ||
| 554 | }), | ||
| 555 | CpuInfo(@This(), FeatureType).create(.At90scr100, "at90scr100", &[_]FeatureType { | ||
| 556 | .Lpm, | ||
| 557 | .Movw, | 557 | .Movw, |
| 558 | .Mul, | ||
| 559 | .Sram, | ||
| 560 | .Break, | ||
| 561 | .Spm, | 558 | .Spm, |
| 562 | .Lpmx, | ||
| 563 | .Avr0, | 559 | .Avr0, |
| 560 | .Sram, | ||
| 564 | .Jmpcall, | 561 | .Jmpcall, |
| 565 | .Addsubiw, | 562 | .Addsubiw, |
| 566 | .Lpm, | ||
| 567 | .Avr5, | ||
| 568 | }, | ||
| 569 | CpuInfo(@This()).create(.At90usb1286, "at90usb1286", &[_]FeatureType { | ||
| 570 | .Ijmpcall, | ||
| 571 | .Elpmx, | ||
| 572 | .Movw, | ||
| 573 | .Mul, | 563 | .Mul, |
| 574 | .Sram, | 564 | .Lpmx, |
| 565 | .Ijmpcall, | ||
| 575 | .Break, | 566 | .Break, |
| 576 | .Spm, | 567 | .Avr5, |
| 568 | }), | ||
| 569 | CpuInfo(@This(), FeatureType).create(.At90usb1286, "at90usb1286", &[_]FeatureType { | ||
| 570 | .Lpm, | ||
| 577 | .Elpm, | 571 | .Elpm, |
| 578 | .Lpmx, | 572 | .Movw, |
| 573 | .Elpmx, | ||
| 574 | .Spm, | ||
| 579 | .Avr0, | 575 | .Avr0, |
| 576 | .Sram, | ||
| 580 | .Jmpcall, | 577 | .Jmpcall, |
| 581 | .Addsubiw, | 578 | .Addsubiw, |
| 582 | .Lpm, | ||
| 583 | .Avr51, | ||
| 584 | }, | ||
| 585 | CpuInfo(@This()).create(.At90usb1287, "at90usb1287", &[_]FeatureType { | ||
| 586 | .Ijmpcall, | ||
| 587 | .Elpmx, | ||
| 588 | .Movw, | ||
| 589 | .Mul, | 579 | .Mul, |
| 590 | .Sram, | 580 | .Lpmx, |
| 581 | .Ijmpcall, | ||
| 591 | .Break, | 582 | .Break, |
| 592 | .Spm, | 583 | .Avr51, |
| 584 | }), | ||
| 585 | CpuInfo(@This(), FeatureType).create(.At90usb1287, "at90usb1287", &[_]FeatureType { | ||
| 586 | .Lpm, | ||
| 593 | .Elpm, | 587 | .Elpm, |
| 594 | .Lpmx, | 588 | .Movw, |
| 589 | .Elpmx, | ||
| 590 | .Spm, | ||
| 595 | .Avr0, | 591 | .Avr0, |
| 592 | .Sram, | ||
| 596 | .Jmpcall, | 593 | .Jmpcall, |
| 597 | .Addsubiw, | 594 | .Addsubiw, |
| 598 | .Lpm, | 595 | .Mul, |
| 599 | .Avr51, | 596 | .Lpmx, |
| 600 | }, | ||
| 601 | CpuInfo(@This()).create(.At90usb162, "at90usb162", &[_]FeatureType { | ||
| 602 | .Ijmpcall, | 597 | .Ijmpcall, |
| 603 | .Movw, | ||
| 604 | .Sram, | ||
| 605 | .Break, | 598 | .Break, |
| 599 | .Avr51, | ||
| 600 | }), | ||
| 601 | CpuInfo(@This(), FeatureType).create(.At90usb162, "at90usb162", &[_]FeatureType { | ||
| 602 | .Lpm, | ||
| 603 | .Movw, | ||
| 606 | .Spm, | 604 | .Spm, |
| 607 | .Lpmx, | ||
| 608 | .Avr0, | 605 | .Avr0, |
| 606 | .Sram, | ||
| 609 | .Jmpcall, | 607 | .Jmpcall, |
| 610 | .Addsubiw, | 608 | .Addsubiw, |
| 611 | .Lpm, | 609 | .Lpmx, |
| 612 | .Avr35, | ||
| 613 | }, | ||
| 614 | CpuInfo(@This()).create(.At90usb646, "at90usb646", &[_]FeatureType { | ||
| 615 | .Ijmpcall, | 610 | .Ijmpcall, |
| 616 | .Movw, | ||
| 617 | .Mul, | ||
| 618 | .Sram, | ||
| 619 | .Break, | 611 | .Break, |
| 612 | .Avr35, | ||
| 613 | }), | ||
| 614 | CpuInfo(@This(), FeatureType).create(.At90usb646, "at90usb646", &[_]FeatureType { | ||
| 615 | .Lpm, | ||
| 616 | .Movw, | ||
| 620 | .Spm, | 617 | .Spm, |
| 621 | .Lpmx, | ||
| 622 | .Avr0, | 618 | .Avr0, |
| 619 | .Sram, | ||
| 623 | .Jmpcall, | 620 | .Jmpcall, |
| 624 | .Addsubiw, | 621 | .Addsubiw, |
| 625 | .Lpm, | ||
| 626 | .Avr5, | ||
| 627 | }, | ||
| 628 | CpuInfo(@This()).create(.At90usb647, "at90usb647", &[_]FeatureType { | ||
| 629 | .Ijmpcall, | ||
| 630 | .Movw, | ||
| 631 | .Mul, | 622 | .Mul, |
| 632 | .Sram, | 623 | .Lpmx, |
| 624 | .Ijmpcall, | ||
| 633 | .Break, | 625 | .Break, |
| 626 | .Avr5, | ||
| 627 | }), | ||
| 628 | CpuInfo(@This(), FeatureType).create(.At90usb647, "at90usb647", &[_]FeatureType { | ||
| 629 | .Lpm, | ||
| 630 | .Movw, | ||
| 634 | .Spm, | 631 | .Spm, |
| 635 | .Lpmx, | ||
| 636 | .Avr0, | 632 | .Avr0, |
| 633 | .Sram, | ||
| 637 | .Jmpcall, | 634 | .Jmpcall, |
| 638 | .Addsubiw, | 635 | .Addsubiw, |
| 639 | .Lpm, | 636 | .Mul, |
| 640 | .Avr5, | 637 | .Lpmx, |
| 641 | }, | ||
| 642 | CpuInfo(@This()).create(.At90usb82, "at90usb82", &[_]FeatureType { | ||
| 643 | .Ijmpcall, | 638 | .Ijmpcall, |
| 644 | .Movw, | ||
| 645 | .Sram, | ||
| 646 | .Break, | 639 | .Break, |
| 640 | .Avr5, | ||
| 641 | }), | ||
| 642 | CpuInfo(@This(), FeatureType).create(.At90usb82, "at90usb82", &[_]FeatureType { | ||
| 643 | .Lpm, | ||
| 644 | .Movw, | ||
| 647 | .Spm, | 645 | .Spm, |
| 648 | .Lpmx, | ||
| 649 | .Avr0, | 646 | .Avr0, |
| 647 | .Sram, | ||
| 650 | .Jmpcall, | 648 | .Jmpcall, |
| 651 | .Addsubiw, | 649 | .Addsubiw, |
| 652 | .Lpm, | 650 | .Lpmx, |
| 653 | .Avr35, | ||
| 654 | }, | ||
| 655 | CpuInfo(@This()).create(.At94k, "at94k", &[_]FeatureType { | ||
| 656 | .Ijmpcall, | 651 | .Ijmpcall, |
| 657 | .Sram, | 652 | .Break, |
| 653 | .Avr35, | ||
| 654 | }), | ||
| 655 | CpuInfo(@This(), FeatureType).create(.At94k, "at94k", &[_]FeatureType { | ||
| 656 | .Lpm, | ||
| 658 | .Avr0, | 657 | .Avr0, |
| 658 | .Sram, | ||
| 659 | .Jmpcall, | 659 | .Jmpcall, |
| 660 | .Addsubiw, | 660 | .Addsubiw, |
| 661 | .Lpm, | 661 | .Ijmpcall, |
| 662 | .Avr3, | 662 | .Avr3, |
| 663 | .Lpmx, | 663 | .Lpmx, |
| 664 | .Movw, | 664 | .Movw, |
| 665 | .Mul, | 665 | .Mul, |
| 666 | }, | 666 | }), |
| 667 | CpuInfo(@This()).create(.Ata5272, "ata5272", &[_]FeatureType { | 667 | CpuInfo(@This(), FeatureType).create(.Ata5272, "ata5272", &[_]FeatureType { |
| 668 | .Ijmpcall, | 668 | .Lpm, |
| 669 | .Movw, | 669 | .Movw, |
| 670 | .Sram, | ||
| 671 | .Break, | ||
| 672 | .Spm, | 670 | .Spm, |
| 673 | .Lpmx, | ||
| 674 | .Avr0, | 671 | .Avr0, |
| 672 | .Sram, | ||
| 675 | .Addsubiw, | 673 | .Addsubiw, |
| 676 | .Lpm, | 674 | .Lpmx, |
| 677 | .Avr25, | ||
| 678 | }, | ||
| 679 | CpuInfo(@This()).create(.Ata5505, "ata5505", &[_]FeatureType { | ||
| 680 | .Ijmpcall, | 675 | .Ijmpcall, |
| 681 | .Movw, | ||
| 682 | .Sram, | ||
| 683 | .Break, | 676 | .Break, |
| 677 | .Avr25, | ||
| 678 | }), | ||
| 679 | CpuInfo(@This(), FeatureType).create(.Ata5505, "ata5505", &[_]FeatureType { | ||
| 680 | .Lpm, | ||
| 681 | .Movw, | ||
| 684 | .Spm, | 682 | .Spm, |
| 685 | .Lpmx, | ||
| 686 | .Avr0, | 683 | .Avr0, |
| 684 | .Sram, | ||
| 687 | .Jmpcall, | 685 | .Jmpcall, |
| 688 | .Addsubiw, | 686 | .Addsubiw, |
| 689 | .Lpm, | 687 | .Lpmx, |
| 690 | .Avr35, | ||
| 691 | }, | ||
| 692 | CpuInfo(@This()).create(.Ata5790, "ata5790", &[_]FeatureType { | ||
| 693 | .Ijmpcall, | 688 | .Ijmpcall, |
| 694 | .Movw, | ||
| 695 | .Mul, | ||
| 696 | .Sram, | ||
| 697 | .Break, | 689 | .Break, |
| 690 | .Avr35, | ||
| 691 | }), | ||
| 692 | CpuInfo(@This(), FeatureType).create(.Ata5790, "ata5790", &[_]FeatureType { | ||
| 693 | .Lpm, | ||
| 694 | .Movw, | ||
| 698 | .Spm, | 695 | .Spm, |
| 699 | .Lpmx, | ||
| 700 | .Avr0, | 696 | .Avr0, |
| 697 | .Sram, | ||
| 701 | .Jmpcall, | 698 | .Jmpcall, |
| 702 | .Addsubiw, | 699 | .Addsubiw, |
| 703 | .Lpm, | ||
| 704 | .Avr5, | ||
| 705 | }, | ||
| 706 | CpuInfo(@This()).create(.Ata5795, "ata5795", &[_]FeatureType { | ||
| 707 | .Ijmpcall, | ||
| 708 | .Movw, | ||
| 709 | .Mul, | 700 | .Mul, |
| 710 | .Sram, | 701 | .Lpmx, |
| 702 | .Ijmpcall, | ||
| 711 | .Break, | 703 | .Break, |
| 704 | .Avr5, | ||
| 705 | }), | ||
| 706 | CpuInfo(@This(), FeatureType).create(.Ata5795, "ata5795", &[_]FeatureType { | ||
| 707 | .Lpm, | ||
| 708 | .Movw, | ||
| 712 | .Spm, | 709 | .Spm, |
| 713 | .Lpmx, | ||
| 714 | .Avr0, | 710 | .Avr0, |
| 711 | .Sram, | ||
| 715 | .Jmpcall, | 712 | .Jmpcall, |
| 716 | .Addsubiw, | 713 | .Addsubiw, |
| 717 | .Lpm, | ||
| 718 | .Avr5, | ||
| 719 | }, | ||
| 720 | CpuInfo(@This()).create(.Ata6285, "ata6285", &[_]FeatureType { | ||
| 721 | .Ijmpcall, | ||
| 722 | .Movw, | ||
| 723 | .Mul, | 714 | .Mul, |
| 724 | .Sram, | 715 | .Lpmx, |
| 716 | .Ijmpcall, | ||
| 725 | .Break, | 717 | .Break, |
| 718 | .Avr5, | ||
| 719 | }), | ||
| 720 | CpuInfo(@This(), FeatureType).create(.Ata6285, "ata6285", &[_]FeatureType { | ||
| 721 | .Lpm, | ||
| 722 | .Movw, | ||
| 726 | .Spm, | 723 | .Spm, |
| 727 | .Lpmx, | ||
| 728 | .Avr0, | 724 | .Avr0, |
| 725 | .Sram, | ||
| 729 | .Addsubiw, | 726 | .Addsubiw, |
| 730 | .Lpm, | ||
| 731 | .Avr4, | ||
| 732 | }, | ||
| 733 | CpuInfo(@This()).create(.Ata6286, "ata6286", &[_]FeatureType { | ||
| 734 | .Ijmpcall, | ||
| 735 | .Movw, | ||
| 736 | .Mul, | 727 | .Mul, |
| 737 | .Sram, | 728 | .Lpmx, |
| 729 | .Ijmpcall, | ||
| 738 | .Break, | 730 | .Break, |
| 731 | .Avr4, | ||
| 732 | }), | ||
| 733 | CpuInfo(@This(), FeatureType).create(.Ata6286, "ata6286", &[_]FeatureType { | ||
| 734 | .Lpm, | ||
| 735 | .Movw, | ||
| 739 | .Spm, | 736 | .Spm, |
| 740 | .Lpmx, | ||
| 741 | .Avr0, | 737 | .Avr0, |
| 738 | .Sram, | ||
| 742 | .Addsubiw, | 739 | .Addsubiw, |
| 743 | .Lpm, | ||
| 744 | .Avr4, | ||
| 745 | }, | ||
| 746 | CpuInfo(@This()).create(.Ata6289, "ata6289", &[_]FeatureType { | ||
| 747 | .Ijmpcall, | ||
| 748 | .Movw, | ||
| 749 | .Mul, | 740 | .Mul, |
| 750 | .Sram, | 741 | .Lpmx, |
| 742 | .Ijmpcall, | ||
| 751 | .Break, | 743 | .Break, |
| 744 | .Avr4, | ||
| 745 | }), | ||
| 746 | CpuInfo(@This(), FeatureType).create(.Ata6289, "ata6289", &[_]FeatureType { | ||
| 747 | .Lpm, | ||
| 748 | .Movw, | ||
| 752 | .Spm, | 749 | .Spm, |
| 753 | .Lpmx, | ||
| 754 | .Avr0, | 750 | .Avr0, |
| 751 | .Sram, | ||
| 755 | .Addsubiw, | 752 | .Addsubiw, |
| 756 | .Lpm, | 753 | .Mul, |
| 757 | .Avr4, | 754 | .Lpmx, |
| 758 | }, | ||
| 759 | CpuInfo(@This()).create(.Atmega103, "atmega103", &[_]FeatureType { | ||
| 760 | .Ijmpcall, | 755 | .Ijmpcall, |
| 761 | .Sram, | 756 | .Break, |
| 757 | .Avr4, | ||
| 758 | }), | ||
| 759 | CpuInfo(@This(), FeatureType).create(.Atmega103, "atmega103", &[_]FeatureType { | ||
| 760 | .Lpm, | ||
| 762 | .Elpm, | 761 | .Elpm, |
| 763 | .Avr0, | 762 | .Avr0, |
| 763 | .Sram, | ||
| 764 | .Jmpcall, | 764 | .Jmpcall, |
| 765 | .Addsubiw, | 765 | .Addsubiw, |
| 766 | .Lpm, | ||
| 767 | .Avr31, | ||
| 768 | }, | ||
| 769 | CpuInfo(@This()).create(.Atmega128, "atmega128", &[_]FeatureType { | ||
| 770 | .Ijmpcall, | 766 | .Ijmpcall, |
| 771 | .Elpmx, | 767 | .Avr31, |
| 768 | }), | ||
| 769 | CpuInfo(@This(), FeatureType).create(.Atmega128, "atmega128", &[_]FeatureType { | ||
| 770 | .Lpm, | ||
| 771 | .Elpm, | ||
| 772 | .Movw, | 772 | .Movw, |
| 773 | .Mul, | 773 | .Elpmx, |
| 774 | .Sram, | ||
| 775 | .Break, | ||
| 776 | .Spm, | 774 | .Spm, |
| 777 | .Elpm, | ||
| 778 | .Lpmx, | ||
| 779 | .Avr0, | 775 | .Avr0, |
| 776 | .Sram, | ||
| 780 | .Jmpcall, | 777 | .Jmpcall, |
| 781 | .Addsubiw, | 778 | .Addsubiw, |
| 782 | .Lpm, | ||
| 783 | .Avr51, | ||
| 784 | }, | ||
| 785 | CpuInfo(@This()).create(.Atmega1280, "atmega1280", &[_]FeatureType { | ||
| 786 | .Ijmpcall, | ||
| 787 | .Elpmx, | ||
| 788 | .Movw, | ||
| 789 | .Mul, | 779 | .Mul, |
| 790 | .Sram, | 780 | .Lpmx, |
| 781 | .Ijmpcall, | ||
| 791 | .Break, | 782 | .Break, |
| 792 | .Spm, | 783 | .Avr51, |
| 784 | }), | ||
| 785 | CpuInfo(@This(), FeatureType).create(.Atmega1280, "atmega1280", &[_]FeatureType { | ||
| 786 | .Lpm, | ||
| 793 | .Elpm, | 787 | .Elpm, |
| 794 | .Lpmx, | 788 | .Movw, |
| 789 | .Elpmx, | ||
| 790 | .Spm, | ||
| 795 | .Avr0, | 791 | .Avr0, |
| 792 | .Sram, | ||
| 796 | .Jmpcall, | 793 | .Jmpcall, |
| 797 | .Addsubiw, | 794 | .Addsubiw, |
| 798 | .Lpm, | ||
| 799 | .Avr51, | ||
| 800 | }, | ||
| 801 | CpuInfo(@This()).create(.Atmega1281, "atmega1281", &[_]FeatureType { | ||
| 802 | .Ijmpcall, | ||
| 803 | .Elpmx, | ||
| 804 | .Movw, | ||
| 805 | .Mul, | 795 | .Mul, |
| 806 | .Sram, | 796 | .Lpmx, |
| 797 | .Ijmpcall, | ||
| 807 | .Break, | 798 | .Break, |
| 808 | .Spm, | 799 | .Avr51, |
| 800 | }), | ||
| 801 | CpuInfo(@This(), FeatureType).create(.Atmega1281, "atmega1281", &[_]FeatureType { | ||
| 802 | .Lpm, | ||
| 809 | .Elpm, | 803 | .Elpm, |
| 810 | .Lpmx, | 804 | .Movw, |
| 805 | .Elpmx, | ||
| 806 | .Spm, | ||
| 811 | .Avr0, | 807 | .Avr0, |
| 808 | .Sram, | ||
| 812 | .Jmpcall, | 809 | .Jmpcall, |
| 813 | .Addsubiw, | 810 | .Addsubiw, |
| 814 | .Lpm, | ||
| 815 | .Avr51, | ||
| 816 | }, | ||
| 817 | CpuInfo(@This()).create(.Atmega1284, "atmega1284", &[_]FeatureType { | ||
| 818 | .Ijmpcall, | ||
| 819 | .Elpmx, | ||
| 820 | .Movw, | ||
| 821 | .Mul, | 811 | .Mul, |
| 822 | .Sram, | 812 | .Lpmx, |
| 813 | .Ijmpcall, | ||
| 823 | .Break, | 814 | .Break, |
| 824 | .Spm, | 815 | .Avr51, |
| 816 | }), | ||
| 817 | CpuInfo(@This(), FeatureType).create(.Atmega1284, "atmega1284", &[_]FeatureType { | ||
| 818 | .Lpm, | ||
| 825 | .Elpm, | 819 | .Elpm, |
| 826 | .Lpmx, | 820 | .Movw, |
| 821 | .Elpmx, | ||
| 822 | .Spm, | ||
| 827 | .Avr0, | 823 | .Avr0, |
| 824 | .Sram, | ||
| 828 | .Jmpcall, | 825 | .Jmpcall, |
| 829 | .Addsubiw, | 826 | .Addsubiw, |
| 830 | .Lpm, | ||
| 831 | .Avr51, | ||
| 832 | }, | ||
| 833 | CpuInfo(@This()).create(.Atmega1284p, "atmega1284p", &[_]FeatureType { | ||
| 834 | .Ijmpcall, | ||
| 835 | .Elpmx, | ||
| 836 | .Movw, | ||
| 837 | .Mul, | 827 | .Mul, |
| 838 | .Sram, | 828 | .Lpmx, |
| 829 | .Ijmpcall, | ||
| 839 | .Break, | 830 | .Break, |
| 840 | .Spm, | 831 | .Avr51, |
| 832 | }), | ||
| 833 | CpuInfo(@This(), FeatureType).create(.Atmega1284p, "atmega1284p", &[_]FeatureType { | ||
| 834 | .Lpm, | ||
| 841 | .Elpm, | 835 | .Elpm, |
| 842 | .Lpmx, | 836 | .Movw, |
| 837 | .Elpmx, | ||
| 838 | .Spm, | ||
| 843 | .Avr0, | 839 | .Avr0, |
| 840 | .Sram, | ||
| 844 | .Jmpcall, | 841 | .Jmpcall, |
| 845 | .Addsubiw, | 842 | .Addsubiw, |
| 846 | .Lpm, | ||
| 847 | .Avr51, | ||
| 848 | }, | ||
| 849 | CpuInfo(@This()).create(.Atmega1284rfr2, "atmega1284rfr2", &[_]FeatureType { | ||
| 850 | .Ijmpcall, | ||
| 851 | .Elpmx, | ||
| 852 | .Movw, | ||
| 853 | .Mul, | 843 | .Mul, |
| 854 | .Sram, | 844 | .Lpmx, |
| 845 | .Ijmpcall, | ||
| 855 | .Break, | 846 | .Break, |
| 856 | .Spm, | 847 | .Avr51, |
| 848 | }), | ||
| 849 | CpuInfo(@This(), FeatureType).create(.Atmega1284rfr2, "atmega1284rfr2", &[_]FeatureType { | ||
| 850 | .Lpm, | ||
| 857 | .Elpm, | 851 | .Elpm, |
| 858 | .Lpmx, | 852 | .Movw, |
| 853 | .Elpmx, | ||
| 854 | .Spm, | ||
| 859 | .Avr0, | 855 | .Avr0, |
| 856 | .Sram, | ||
| 860 | .Jmpcall, | 857 | .Jmpcall, |
| 861 | .Addsubiw, | 858 | .Addsubiw, |
| 862 | .Lpm, | ||
| 863 | .Avr51, | ||
| 864 | }, | ||
| 865 | CpuInfo(@This()).create(.Atmega128a, "atmega128a", &[_]FeatureType { | ||
| 866 | .Ijmpcall, | ||
| 867 | .Elpmx, | ||
| 868 | .Movw, | ||
| 869 | .Mul, | 859 | .Mul, |
| 870 | .Sram, | ||
| 871 | .Break, | ||
| 872 | .Spm, | ||
| 873 | .Elpm, | ||
| 874 | .Lpmx, | 860 | .Lpmx, |
| 861 | .Ijmpcall, | ||
| 862 | .Break, | ||
| 863 | .Avr51, | ||
| 864 | }), | ||
| 865 | CpuInfo(@This(), FeatureType).create(.Atmega128a, "atmega128a", &[_]FeatureType { | ||
| 866 | .Lpm, | ||
| 867 | .Elpm, | ||
| 868 | .Movw, | ||
| 869 | .Elpmx, | ||
| 870 | .Spm, | ||
| 875 | .Avr0, | 871 | .Avr0, |
| 872 | .Sram, | ||
| 876 | .Jmpcall, | 873 | .Jmpcall, |
| 877 | .Addsubiw, | 874 | .Addsubiw, |
| 878 | .Lpm, | ||
| 879 | .Avr51, | ||
| 880 | }, | ||
| 881 | CpuInfo(@This()).create(.Atmega128rfa1, "atmega128rfa1", &[_]FeatureType { | ||
| 882 | .Ijmpcall, | ||
| 883 | .Elpmx, | ||
| 884 | .Movw, | ||
| 885 | .Mul, | 875 | .Mul, |
| 886 | .Sram, | 876 | .Lpmx, |
| 877 | .Ijmpcall, | ||
| 887 | .Break, | 878 | .Break, |
| 888 | .Spm, | 879 | .Avr51, |
| 880 | }), | ||
| 881 | CpuInfo(@This(), FeatureType).create(.Atmega128rfa1, "atmega128rfa1", &[_]FeatureType { | ||
| 882 | .Lpm, | ||
| 889 | .Elpm, | 883 | .Elpm, |
| 890 | .Lpmx, | 884 | .Movw, |
| 885 | .Elpmx, | ||
| 886 | .Spm, | ||
| 891 | .Avr0, | 887 | .Avr0, |
| 888 | .Sram, | ||
| 892 | .Jmpcall, | 889 | .Jmpcall, |
| 893 | .Addsubiw, | 890 | .Addsubiw, |
| 894 | .Lpm, | ||
| 895 | .Avr51, | ||
| 896 | }, | ||
| 897 | CpuInfo(@This()).create(.Atmega128rfr2, "atmega128rfr2", &[_]FeatureType { | ||
| 898 | .Ijmpcall, | ||
| 899 | .Elpmx, | ||
| 900 | .Movw, | ||
| 901 | .Mul, | 891 | .Mul, |
| 902 | .Sram, | 892 | .Lpmx, |
| 893 | .Ijmpcall, | ||
| 903 | .Break, | 894 | .Break, |
| 904 | .Spm, | 895 | .Avr51, |
| 896 | }), | ||
| 897 | CpuInfo(@This(), FeatureType).create(.Atmega128rfr2, "atmega128rfr2", &[_]FeatureType { | ||
| 898 | .Lpm, | ||
| 905 | .Elpm, | 899 | .Elpm, |
| 906 | .Lpmx, | 900 | .Movw, |
| 901 | .Elpmx, | ||
| 902 | .Spm, | ||
| 907 | .Avr0, | 903 | .Avr0, |
| 904 | .Sram, | ||
| 908 | .Jmpcall, | 905 | .Jmpcall, |
| 909 | .Addsubiw, | 906 | .Addsubiw, |
| 910 | .Lpm, | ||
| 911 | .Avr51, | ||
| 912 | }, | ||
| 913 | CpuInfo(@This()).create(.Atmega16, "atmega16", &[_]FeatureType { | ||
| 914 | .Ijmpcall, | ||
| 915 | .Movw, | ||
| 916 | .Mul, | 907 | .Mul, |
| 917 | .Sram, | 908 | .Lpmx, |
| 909 | .Ijmpcall, | ||
| 918 | .Break, | 910 | .Break, |
| 911 | .Avr51, | ||
| 912 | }), | ||
| 913 | CpuInfo(@This(), FeatureType).create(.Atmega16, "atmega16", &[_]FeatureType { | ||
| 914 | .Lpm, | ||
| 915 | .Movw, | ||
| 919 | .Spm, | 916 | .Spm, |
| 920 | .Lpmx, | ||
| 921 | .Avr0, | 917 | .Avr0, |
| 918 | .Sram, | ||
| 922 | .Jmpcall, | 919 | .Jmpcall, |
| 923 | .Addsubiw, | 920 | .Addsubiw, |
| 924 | .Lpm, | 921 | .Mul, |
| 925 | .Avr5, | 922 | .Lpmx, |
| 926 | }, | ||
| 927 | CpuInfo(@This()).create(.Atmega161, "atmega161", &[_]FeatureType { | ||
| 928 | .Ijmpcall, | 923 | .Ijmpcall, |
| 929 | .Sram, | 924 | .Break, |
| 925 | .Avr5, | ||
| 926 | }), | ||
| 927 | CpuInfo(@This(), FeatureType).create(.Atmega161, "atmega161", &[_]FeatureType { | ||
| 928 | .Lpm, | ||
| 930 | .Avr0, | 929 | .Avr0, |
| 930 | .Sram, | ||
| 931 | .Jmpcall, | 931 | .Jmpcall, |
| 932 | .Addsubiw, | 932 | .Addsubiw, |
| 933 | .Lpm, | 933 | .Ijmpcall, |
| 934 | .Avr3, | 934 | .Avr3, |
| 935 | .Lpmx, | 935 | .Lpmx, |
| 936 | .Movw, | 936 | .Movw, |
| 937 | .Mul, | 937 | .Mul, |
| 938 | .Spm, | 938 | .Spm, |
| 939 | }, | 939 | }), |
| 940 | CpuInfo(@This()).create(.Atmega162, "atmega162", &[_]FeatureType { | 940 | CpuInfo(@This(), FeatureType).create(.Atmega162, "atmega162", &[_]FeatureType { |
| 941 | .Ijmpcall, | 941 | .Lpm, |
| 942 | .Movw, | 942 | .Movw, |
| 943 | .Mul, | ||
| 944 | .Sram, | ||
| 945 | .Break, | ||
| 946 | .Spm, | 943 | .Spm, |
| 947 | .Lpmx, | ||
| 948 | .Avr0, | 944 | .Avr0, |
| 945 | .Sram, | ||
| 949 | .Jmpcall, | 946 | .Jmpcall, |
| 950 | .Addsubiw, | 947 | .Addsubiw, |
| 951 | .Lpm, | 948 | .Mul, |
| 952 | .Avr5, | 949 | .Lpmx, |
| 953 | }, | ||
| 954 | CpuInfo(@This()).create(.Atmega163, "atmega163", &[_]FeatureType { | ||
| 955 | .Ijmpcall, | 950 | .Ijmpcall, |
| 956 | .Sram, | 951 | .Break, |
| 952 | .Avr5, | ||
| 953 | }), | ||
| 954 | CpuInfo(@This(), FeatureType).create(.Atmega163, "atmega163", &[_]FeatureType { | ||
| 955 | .Lpm, | ||
| 957 | .Avr0, | 956 | .Avr0, |
| 957 | .Sram, | ||
| 958 | .Jmpcall, | 958 | .Jmpcall, |
| 959 | .Addsubiw, | 959 | .Addsubiw, |
| 960 | .Lpm, | 960 | .Ijmpcall, |
| 961 | .Avr3, | 961 | .Avr3, |
| 962 | .Lpmx, | 962 | .Lpmx, |
| 963 | .Movw, | 963 | .Movw, |
| 964 | .Mul, | 964 | .Mul, |
| 965 | .Spm, | 965 | .Spm, |
| 966 | }, | 966 | }), |
| 967 | CpuInfo(@This()).create(.Atmega164a, "atmega164a", &[_]FeatureType { | 967 | CpuInfo(@This(), FeatureType).create(.Atmega164a, "atmega164a", &[_]FeatureType { |
| 968 | .Ijmpcall, | 968 | .Lpm, |
| 969 | .Movw, | 969 | .Movw, |
| 970 | .Mul, | ||
| 971 | .Sram, | ||
| 972 | .Break, | ||
| 973 | .Spm, | 970 | .Spm, |
| 974 | .Lpmx, | ||
| 975 | .Avr0, | 971 | .Avr0, |
| 972 | .Sram, | ||
| 976 | .Jmpcall, | 973 | .Jmpcall, |
| 977 | .Addsubiw, | 974 | .Addsubiw, |
| 978 | .Lpm, | ||
| 979 | .Avr5, | ||
| 980 | }, | ||
| 981 | CpuInfo(@This()).create(.Atmega164p, "atmega164p", &[_]FeatureType { | ||
| 982 | .Ijmpcall, | ||
| 983 | .Movw, | ||
| 984 | .Mul, | 975 | .Mul, |
| 985 | .Sram, | ||
| 986 | .Break, | ||
| 987 | .Spm, | ||
| 988 | .Lpmx, | 976 | .Lpmx, |
| 989 | .Avr0, | ||
| 990 | .Jmpcall, | ||
| 991 | .Addsubiw, | ||
| 992 | .Lpm, | ||
| 993 | .Avr5, | ||
| 994 | }, | ||
| 995 | CpuInfo(@This()).create(.Atmega164pa, "atmega164pa", &[_]FeatureType { | ||
| 996 | .Ijmpcall, | 977 | .Ijmpcall, |
| 997 | .Movw, | ||
| 998 | .Mul, | ||
| 999 | .Sram, | ||
| 1000 | .Break, | 978 | .Break, |
| 979 | .Avr5, | ||
| 980 | }), | ||
| 981 | CpuInfo(@This(), FeatureType).create(.Atmega164p, "atmega164p", &[_]FeatureType { | ||
| 982 | .Lpm, | ||
| 983 | .Movw, | ||
| 1001 | .Spm, | 984 | .Spm, |
| 1002 | .Lpmx, | ||
| 1003 | .Avr0, | 985 | .Avr0, |
| 986 | .Sram, | ||
| 1004 | .Jmpcall, | 987 | .Jmpcall, |
| 1005 | .Addsubiw, | 988 | .Addsubiw, |
| 1006 | .Lpm, | ||
| 1007 | .Avr5, | ||
| 1008 | }, | ||
| 1009 | CpuInfo(@This()).create(.Atmega165, "atmega165", &[_]FeatureType { | ||
| 1010 | .Ijmpcall, | ||
| 1011 | .Movw, | ||
| 1012 | .Mul, | 989 | .Mul, |
| 1013 | .Sram, | 990 | .Lpmx, |
| 991 | .Ijmpcall, | ||
| 1014 | .Break, | 992 | .Break, |
| 993 | .Avr5, | ||
| 994 | }), | ||
| 995 | CpuInfo(@This(), FeatureType).create(.Atmega164pa, "atmega164pa", &[_]FeatureType { | ||
| 996 | .Lpm, | ||
| 997 | .Movw, | ||
| 1015 | .Spm, | 998 | .Spm, |
| 1016 | .Lpmx, | ||
| 1017 | .Avr0, | 999 | .Avr0, |
| 1000 | .Sram, | ||
| 1018 | .Jmpcall, | 1001 | .Jmpcall, |
| 1019 | .Addsubiw, | 1002 | .Addsubiw, |
| 1020 | .Lpm, | ||
| 1021 | .Avr5, | ||
| 1022 | }, | ||
| 1023 | CpuInfo(@This()).create(.Atmega165a, "atmega165a", &[_]FeatureType { | ||
| 1024 | .Ijmpcall, | ||
| 1025 | .Movw, | ||
| 1026 | .Mul, | 1003 | .Mul, |
| 1027 | .Sram, | 1004 | .Lpmx, |
| 1005 | .Ijmpcall, | ||
| 1028 | .Break, | 1006 | .Break, |
| 1007 | .Avr5, | ||
| 1008 | }), | ||
| 1009 | CpuInfo(@This(), FeatureType).create(.Atmega165, "atmega165", &[_]FeatureType { | ||
| 1010 | .Lpm, | ||
| 1011 | .Movw, | ||
| 1029 | .Spm, | 1012 | .Spm, |
| 1030 | .Lpmx, | ||
| 1031 | .Avr0, | 1013 | .Avr0, |
| 1014 | .Sram, | ||
| 1032 | .Jmpcall, | 1015 | .Jmpcall, |
| 1033 | .Addsubiw, | 1016 | .Addsubiw, |
| 1034 | .Lpm, | ||
| 1035 | .Avr5, | ||
| 1036 | }, | ||
| 1037 | CpuInfo(@This()).create(.Atmega165p, "atmega165p", &[_]FeatureType { | ||
| 1038 | .Ijmpcall, | ||
| 1039 | .Movw, | ||
| 1040 | .Mul, | 1017 | .Mul, |
| 1041 | .Sram, | 1018 | .Lpmx, |
| 1019 | .Ijmpcall, | ||
| 1042 | .Break, | 1020 | .Break, |
| 1021 | .Avr5, | ||
| 1022 | }), | ||
| 1023 | CpuInfo(@This(), FeatureType).create(.Atmega165a, "atmega165a", &[_]FeatureType { | ||
| 1024 | .Lpm, | ||
| 1025 | .Movw, | ||
| 1043 | .Spm, | 1026 | .Spm, |
| 1044 | .Lpmx, | ||
| 1045 | .Avr0, | 1027 | .Avr0, |
| 1028 | .Sram, | ||
| 1046 | .Jmpcall, | 1029 | .Jmpcall, |
| 1047 | .Addsubiw, | 1030 | .Addsubiw, |
| 1048 | .Lpm, | ||
| 1049 | .Avr5, | ||
| 1050 | }, | ||
| 1051 | CpuInfo(@This()).create(.Atmega165pa, "atmega165pa", &[_]FeatureType { | ||
| 1052 | .Ijmpcall, | ||
| 1053 | .Movw, | ||
| 1054 | .Mul, | 1031 | .Mul, |
| 1055 | .Sram, | 1032 | .Lpmx, |
| 1033 | .Ijmpcall, | ||
| 1056 | .Break, | 1034 | .Break, |
| 1035 | .Avr5, | ||
| 1036 | }), | ||
| 1037 | CpuInfo(@This(), FeatureType).create(.Atmega165p, "atmega165p", &[_]FeatureType { | ||
| 1038 | .Lpm, | ||
| 1039 | .Movw, | ||
| 1057 | .Spm, | 1040 | .Spm, |
| 1058 | .Lpmx, | ||
| 1059 | .Avr0, | 1041 | .Avr0, |
| 1042 | .Sram, | ||
| 1060 | .Jmpcall, | 1043 | .Jmpcall, |
| 1061 | .Addsubiw, | 1044 | .Addsubiw, |
| 1062 | .Lpm, | ||
| 1063 | .Avr5, | ||
| 1064 | }, | ||
| 1065 | CpuInfo(@This()).create(.Atmega168, "atmega168", &[_]FeatureType { | ||
| 1066 | .Ijmpcall, | ||
| 1067 | .Movw, | ||
| 1068 | .Mul, | 1045 | .Mul, |
| 1069 | .Sram, | 1046 | .Lpmx, |
| 1047 | .Ijmpcall, | ||
| 1070 | .Break, | 1048 | .Break, |
| 1049 | .Avr5, | ||
| 1050 | }), | ||
| 1051 | CpuInfo(@This(), FeatureType).create(.Atmega165pa, "atmega165pa", &[_]FeatureType { | ||
| 1052 | .Lpm, | ||
| 1053 | .Movw, | ||
| 1071 | .Spm, | 1054 | .Spm, |
| 1072 | .Lpmx, | ||
| 1073 | .Avr0, | 1055 | .Avr0, |
| 1056 | .Sram, | ||
| 1074 | .Jmpcall, | 1057 | .Jmpcall, |
| 1075 | .Addsubiw, | 1058 | .Addsubiw, |
| 1076 | .Lpm, | ||
| 1077 | .Avr5, | ||
| 1078 | }, | ||
| 1079 | CpuInfo(@This()).create(.Atmega168a, "atmega168a", &[_]FeatureType { | ||
| 1080 | .Ijmpcall, | ||
| 1081 | .Movw, | ||
| 1082 | .Mul, | 1059 | .Mul, |
| 1083 | .Sram, | 1060 | .Lpmx, |
| 1061 | .Ijmpcall, | ||
| 1084 | .Break, | 1062 | .Break, |
| 1063 | .Avr5, | ||
| 1064 | }), | ||
| 1065 | CpuInfo(@This(), FeatureType).create(.Atmega168, "atmega168", &[_]FeatureType { | ||
| 1066 | .Lpm, | ||
| 1067 | .Movw, | ||
| 1085 | .Spm, | 1068 | .Spm, |
| 1086 | .Lpmx, | ||
| 1087 | .Avr0, | 1069 | .Avr0, |
| 1070 | .Sram, | ||
| 1088 | .Jmpcall, | 1071 | .Jmpcall, |
| 1089 | .Addsubiw, | 1072 | .Addsubiw, |
| 1090 | .Lpm, | ||
| 1091 | .Avr5, | ||
| 1092 | }, | ||
| 1093 | CpuInfo(@This()).create(.Atmega168p, "atmega168p", &[_]FeatureType { | ||
| 1094 | .Ijmpcall, | ||
| 1095 | .Movw, | ||
| 1096 | .Mul, | 1073 | .Mul, |
| 1097 | .Sram, | 1074 | .Lpmx, |
| 1075 | .Ijmpcall, | ||
| 1098 | .Break, | 1076 | .Break, |
| 1077 | .Avr5, | ||
| 1078 | }), | ||
| 1079 | CpuInfo(@This(), FeatureType).create(.Atmega168a, "atmega168a", &[_]FeatureType { | ||
| 1080 | .Lpm, | ||
| 1081 | .Movw, | ||
| 1099 | .Spm, | 1082 | .Spm, |
| 1100 | .Lpmx, | ||
| 1101 | .Avr0, | 1083 | .Avr0, |
| 1084 | .Sram, | ||
| 1102 | .Jmpcall, | 1085 | .Jmpcall, |
| 1103 | .Addsubiw, | 1086 | .Addsubiw, |
| 1104 | .Lpm, | ||
| 1105 | .Avr5, | ||
| 1106 | }, | ||
| 1107 | CpuInfo(@This()).create(.Atmega168pa, "atmega168pa", &[_]FeatureType { | ||
| 1108 | .Ijmpcall, | ||
| 1109 | .Movw, | ||
| 1110 | .Mul, | 1087 | .Mul, |
| 1111 | .Sram, | 1088 | .Lpmx, |
| 1089 | .Ijmpcall, | ||
| 1112 | .Break, | 1090 | .Break, |
| 1091 | .Avr5, | ||
| 1092 | }), | ||
| 1093 | CpuInfo(@This(), FeatureType).create(.Atmega168p, "atmega168p", &[_]FeatureType { | ||
| 1094 | .Lpm, | ||
| 1095 | .Movw, | ||
| 1113 | .Spm, | 1096 | .Spm, |
| 1114 | .Lpmx, | ||
| 1115 | .Avr0, | 1097 | .Avr0, |
| 1098 | .Sram, | ||
| 1116 | .Jmpcall, | 1099 | .Jmpcall, |
| 1117 | .Addsubiw, | 1100 | .Addsubiw, |
| 1118 | .Lpm, | ||
| 1119 | .Avr5, | ||
| 1120 | }, | ||
| 1121 | CpuInfo(@This()).create(.Atmega169, "atmega169", &[_]FeatureType { | ||
| 1122 | .Ijmpcall, | ||
| 1123 | .Movw, | ||
| 1124 | .Mul, | 1101 | .Mul, |
| 1125 | .Sram, | 1102 | .Lpmx, |
| 1103 | .Ijmpcall, | ||
| 1126 | .Break, | 1104 | .Break, |
| 1105 | .Avr5, | ||
| 1106 | }), | ||
| 1107 | CpuInfo(@This(), FeatureType).create(.Atmega168pa, "atmega168pa", &[_]FeatureType { | ||
| 1108 | .Lpm, | ||
| 1109 | .Movw, | ||
| 1127 | .Spm, | 1110 | .Spm, |
| 1128 | .Lpmx, | ||
| 1129 | .Avr0, | 1111 | .Avr0, |
| 1112 | .Sram, | ||
| 1130 | .Jmpcall, | 1113 | .Jmpcall, |
| 1131 | .Addsubiw, | 1114 | .Addsubiw, |
| 1132 | .Lpm, | ||
| 1133 | .Avr5, | ||
| 1134 | }, | ||
| 1135 | CpuInfo(@This()).create(.Atmega169a, "atmega169a", &[_]FeatureType { | ||
| 1136 | .Ijmpcall, | ||
| 1137 | .Movw, | ||
| 1138 | .Mul, | 1115 | .Mul, |
| 1139 | .Sram, | 1116 | .Lpmx, |
| 1117 | .Ijmpcall, | ||
| 1140 | .Break, | 1118 | .Break, |
| 1119 | .Avr5, | ||
| 1120 | }), | ||
| 1121 | CpuInfo(@This(), FeatureType).create(.Atmega169, "atmega169", &[_]FeatureType { | ||
| 1122 | .Lpm, | ||
| 1123 | .Movw, | ||
| 1141 | .Spm, | 1124 | .Spm, |
| 1142 | .Lpmx, | ||
| 1143 | .Avr0, | 1125 | .Avr0, |
| 1126 | .Sram, | ||
| 1144 | .Jmpcall, | 1127 | .Jmpcall, |
| 1145 | .Addsubiw, | 1128 | .Addsubiw, |
| 1146 | .Lpm, | ||
| 1147 | .Avr5, | ||
| 1148 | }, | ||
| 1149 | CpuInfo(@This()).create(.Atmega169p, "atmega169p", &[_]FeatureType { | ||
| 1150 | .Ijmpcall, | ||
| 1151 | .Movw, | ||
| 1152 | .Mul, | 1129 | .Mul, |
| 1153 | .Sram, | 1130 | .Lpmx, |
| 1131 | .Ijmpcall, | ||
| 1154 | .Break, | 1132 | .Break, |
| 1133 | .Avr5, | ||
| 1134 | }), | ||
| 1135 | CpuInfo(@This(), FeatureType).create(.Atmega169a, "atmega169a", &[_]FeatureType { | ||
| 1136 | .Lpm, | ||
| 1137 | .Movw, | ||
| 1155 | .Spm, | 1138 | .Spm, |
| 1156 | .Lpmx, | ||
| 1157 | .Avr0, | 1139 | .Avr0, |
| 1140 | .Sram, | ||
| 1158 | .Jmpcall, | 1141 | .Jmpcall, |
| 1159 | .Addsubiw, | 1142 | .Addsubiw, |
| 1160 | .Lpm, | ||
| 1161 | .Avr5, | ||
| 1162 | }, | ||
| 1163 | CpuInfo(@This()).create(.Atmega169pa, "atmega169pa", &[_]FeatureType { | ||
| 1164 | .Ijmpcall, | ||
| 1165 | .Movw, | ||
| 1166 | .Mul, | 1143 | .Mul, |
| 1167 | .Sram, | 1144 | .Lpmx, |
| 1145 | .Ijmpcall, | ||
| 1168 | .Break, | 1146 | .Break, |
| 1147 | .Avr5, | ||
| 1148 | }), | ||
| 1149 | CpuInfo(@This(), FeatureType).create(.Atmega169p, "atmega169p", &[_]FeatureType { | ||
| 1150 | .Lpm, | ||
| 1151 | .Movw, | ||
| 1169 | .Spm, | 1152 | .Spm, |
| 1170 | .Lpmx, | ||
| 1171 | .Avr0, | 1153 | .Avr0, |
| 1154 | .Sram, | ||
| 1172 | .Jmpcall, | 1155 | .Jmpcall, |
| 1173 | .Addsubiw, | 1156 | .Addsubiw, |
| 1174 | .Lpm, | ||
| 1175 | .Avr5, | ||
| 1176 | }, | ||
| 1177 | CpuInfo(@This()).create(.Atmega16a, "atmega16a", &[_]FeatureType { | ||
| 1178 | .Ijmpcall, | ||
| 1179 | .Movw, | ||
| 1180 | .Mul, | 1157 | .Mul, |
| 1181 | .Sram, | 1158 | .Lpmx, |
| 1159 | .Ijmpcall, | ||
| 1182 | .Break, | 1160 | .Break, |
| 1161 | .Avr5, | ||
| 1162 | }), | ||
| 1163 | CpuInfo(@This(), FeatureType).create(.Atmega169pa, "atmega169pa", &[_]FeatureType { | ||
| 1164 | .Lpm, | ||
| 1165 | .Movw, | ||
| 1183 | .Spm, | 1166 | .Spm, |
| 1184 | .Lpmx, | ||
| 1185 | .Avr0, | 1167 | .Avr0, |
| 1168 | .Sram, | ||
| 1186 | .Jmpcall, | 1169 | .Jmpcall, |
| 1187 | .Addsubiw, | 1170 | .Addsubiw, |
| 1188 | .Lpm, | ||
| 1189 | .Avr5, | ||
| 1190 | }, | ||
| 1191 | CpuInfo(@This()).create(.Atmega16hva, "atmega16hva", &[_]FeatureType { | ||
| 1192 | .Ijmpcall, | ||
| 1193 | .Movw, | ||
| 1194 | .Mul, | 1171 | .Mul, |
| 1195 | .Sram, | 1172 | .Lpmx, |
| 1173 | .Ijmpcall, | ||
| 1196 | .Break, | 1174 | .Break, |
| 1175 | .Avr5, | ||
| 1176 | }), | ||
| 1177 | CpuInfo(@This(), FeatureType).create(.Atmega16a, "atmega16a", &[_]FeatureType { | ||
| 1178 | .Lpm, | ||
| 1179 | .Movw, | ||
| 1197 | .Spm, | 1180 | .Spm, |
| 1198 | .Lpmx, | ||
| 1199 | .Avr0, | 1181 | .Avr0, |
| 1182 | .Sram, | ||
| 1200 | .Jmpcall, | 1183 | .Jmpcall, |
| 1201 | .Addsubiw, | 1184 | .Addsubiw, |
| 1202 | .Lpm, | ||
| 1203 | .Avr5, | ||
| 1204 | }, | ||
| 1205 | CpuInfo(@This()).create(.Atmega16hva2, "atmega16hva2", &[_]FeatureType { | ||
| 1206 | .Ijmpcall, | ||
| 1207 | .Movw, | ||
| 1208 | .Mul, | 1185 | .Mul, |
| 1209 | .Sram, | 1186 | .Lpmx, |
| 1187 | .Ijmpcall, | ||
| 1210 | .Break, | 1188 | .Break, |
| 1189 | .Avr5, | ||
| 1190 | }), | ||
| 1191 | CpuInfo(@This(), FeatureType).create(.Atmega16hva, "atmega16hva", &[_]FeatureType { | ||
| 1192 | .Lpm, | ||
| 1193 | .Movw, | ||
| 1211 | .Spm, | 1194 | .Spm, |
| 1212 | .Lpmx, | ||
| 1213 | .Avr0, | 1195 | .Avr0, |
| 1196 | .Sram, | ||
| 1214 | .Jmpcall, | 1197 | .Jmpcall, |
| 1215 | .Addsubiw, | 1198 | .Addsubiw, |
| 1216 | .Lpm, | ||
| 1217 | .Avr5, | ||
| 1218 | }, | ||
| 1219 | CpuInfo(@This()).create(.Atmega16hvb, "atmega16hvb", &[_]FeatureType { | ||
| 1220 | .Ijmpcall, | ||
| 1221 | .Movw, | ||
| 1222 | .Mul, | 1199 | .Mul, |
| 1223 | .Sram, | 1200 | .Lpmx, |
| 1201 | .Ijmpcall, | ||
| 1224 | .Break, | 1202 | .Break, |
| 1203 | .Avr5, | ||
| 1204 | }), | ||
| 1205 | CpuInfo(@This(), FeatureType).create(.Atmega16hva2, "atmega16hva2", &[_]FeatureType { | ||
| 1206 | .Lpm, | ||
| 1207 | .Movw, | ||
| 1225 | .Spm, | 1208 | .Spm, |
| 1226 | .Lpmx, | ||
| 1227 | .Avr0, | 1209 | .Avr0, |
| 1210 | .Sram, | ||
| 1228 | .Jmpcall, | 1211 | .Jmpcall, |
| 1229 | .Addsubiw, | 1212 | .Addsubiw, |
| 1230 | .Lpm, | ||
| 1231 | .Avr5, | ||
| 1232 | }, | ||
| 1233 | CpuInfo(@This()).create(.Atmega16hvbrevb, "atmega16hvbrevb", &[_]FeatureType { | ||
| 1234 | .Ijmpcall, | ||
| 1235 | .Movw, | ||
| 1236 | .Mul, | 1213 | .Mul, |
| 1237 | .Sram, | 1214 | .Lpmx, |
| 1215 | .Ijmpcall, | ||
| 1238 | .Break, | 1216 | .Break, |
| 1217 | .Avr5, | ||
| 1218 | }), | ||
| 1219 | CpuInfo(@This(), FeatureType).create(.Atmega16hvb, "atmega16hvb", &[_]FeatureType { | ||
| 1220 | .Lpm, | ||
| 1221 | .Movw, | ||
| 1239 | .Spm, | 1222 | .Spm, |
| 1240 | .Lpmx, | ||
| 1241 | .Avr0, | 1223 | .Avr0, |
| 1224 | .Sram, | ||
| 1242 | .Jmpcall, | 1225 | .Jmpcall, |
| 1243 | .Addsubiw, | 1226 | .Addsubiw, |
| 1244 | .Lpm, | ||
| 1245 | .Avr5, | ||
| 1246 | }, | ||
| 1247 | CpuInfo(@This()).create(.Atmega16m1, "atmega16m1", &[_]FeatureType { | ||
| 1248 | .Ijmpcall, | ||
| 1249 | .Movw, | ||
| 1250 | .Mul, | 1227 | .Mul, |
| 1251 | .Sram, | 1228 | .Lpmx, |
| 1229 | .Ijmpcall, | ||
| 1252 | .Break, | 1230 | .Break, |
| 1231 | .Avr5, | ||
| 1232 | }), | ||
| 1233 | CpuInfo(@This(), FeatureType).create(.Atmega16hvbrevb, "atmega16hvbrevb", &[_]FeatureType { | ||
| 1234 | .Lpm, | ||
| 1235 | .Movw, | ||
| 1253 | .Spm, | 1236 | .Spm, |
| 1254 | .Lpmx, | ||
| 1255 | .Avr0, | 1237 | .Avr0, |
| 1238 | .Sram, | ||
| 1256 | .Jmpcall, | 1239 | .Jmpcall, |
| 1257 | .Addsubiw, | 1240 | .Addsubiw, |
| 1258 | .Lpm, | 1241 | .Mul, |
| 1259 | .Avr5, | 1242 | .Lpmx, |
| 1260 | }, | ||
| 1261 | CpuInfo(@This()).create(.Atmega16u2, "atmega16u2", &[_]FeatureType { | ||
| 1262 | .Ijmpcall, | 1243 | .Ijmpcall, |
| 1263 | .Movw, | ||
| 1264 | .Sram, | ||
| 1265 | .Break, | 1244 | .Break, |
| 1245 | .Avr5, | ||
| 1246 | }), | ||
| 1247 | CpuInfo(@This(), FeatureType).create(.Atmega16m1, "atmega16m1", &[_]FeatureType { | ||
| 1248 | .Lpm, | ||
| 1249 | .Movw, | ||
| 1266 | .Spm, | 1250 | .Spm, |
| 1267 | .Lpmx, | ||
| 1268 | .Avr0, | 1251 | .Avr0, |
| 1252 | .Sram, | ||
| 1269 | .Jmpcall, | 1253 | .Jmpcall, |
| 1270 | .Addsubiw, | 1254 | .Addsubiw, |
| 1271 | .Lpm, | ||
| 1272 | .Avr35, | ||
| 1273 | }, | ||
| 1274 | CpuInfo(@This()).create(.Atmega16u4, "atmega16u4", &[_]FeatureType { | ||
| 1275 | .Ijmpcall, | ||
| 1276 | .Movw, | ||
| 1277 | .Mul, | 1255 | .Mul, |
| 1278 | .Sram, | 1256 | .Lpmx, |
| 1257 | .Ijmpcall, | ||
| 1279 | .Break, | 1258 | .Break, |
| 1259 | .Avr5, | ||
| 1260 | }), | ||
| 1261 | CpuInfo(@This(), FeatureType).create(.Atmega16u2, "atmega16u2", &[_]FeatureType { | ||
| 1262 | .Lpm, | ||
| 1263 | .Movw, | ||
| 1280 | .Spm, | 1264 | .Spm, |
| 1281 | .Lpmx, | ||
| 1282 | .Avr0, | 1265 | .Avr0, |
| 1266 | .Sram, | ||
| 1283 | .Jmpcall, | 1267 | .Jmpcall, |
| 1284 | .Addsubiw, | 1268 | .Addsubiw, |
| 1285 | .Lpm, | 1269 | .Lpmx, |
| 1286 | .Avr5, | ||
| 1287 | }, | ||
| 1288 | CpuInfo(@This()).create(.Atmega2560, "atmega2560", &[_]FeatureType { | ||
| 1289 | .Ijmpcall, | 1270 | .Ijmpcall, |
| 1290 | .Elpmx, | ||
| 1291 | .Movw, | ||
| 1292 | .Mul, | ||
| 1293 | .Sram, | ||
| 1294 | .Break, | 1271 | .Break, |
| 1272 | .Avr35, | ||
| 1273 | }), | ||
| 1274 | CpuInfo(@This(), FeatureType).create(.Atmega16u4, "atmega16u4", &[_]FeatureType { | ||
| 1275 | .Lpm, | ||
| 1276 | .Movw, | ||
| 1295 | .Spm, | 1277 | .Spm, |
| 1296 | .Elpm, | ||
| 1297 | .Lpmx, | ||
| 1298 | .Avr0, | 1278 | .Avr0, |
| 1279 | .Sram, | ||
| 1299 | .Jmpcall, | 1280 | .Jmpcall, |
| 1300 | .Addsubiw, | 1281 | .Addsubiw, |
| 1301 | .Lpm, | ||
| 1302 | .Avr6, | ||
| 1303 | }, | ||
| 1304 | CpuInfo(@This()).create(.Atmega2561, "atmega2561", &[_]FeatureType { | ||
| 1305 | .Ijmpcall, | ||
| 1306 | .Elpmx, | ||
| 1307 | .Movw, | ||
| 1308 | .Mul, | 1282 | .Mul, |
| 1309 | .Sram, | 1283 | .Lpmx, |
| 1284 | .Ijmpcall, | ||
| 1310 | .Break, | 1285 | .Break, |
| 1311 | .Spm, | 1286 | .Avr5, |
| 1287 | }), | ||
| 1288 | CpuInfo(@This(), FeatureType).create(.Atmega2560, "atmega2560", &[_]FeatureType { | ||
| 1289 | .Lpm, | ||
| 1312 | .Elpm, | 1290 | .Elpm, |
| 1313 | .Lpmx, | 1291 | .Movw, |
| 1292 | .Elpmx, | ||
| 1293 | .Spm, | ||
| 1314 | .Avr0, | 1294 | .Avr0, |
| 1295 | .Sram, | ||
| 1315 | .Jmpcall, | 1296 | .Jmpcall, |
| 1316 | .Addsubiw, | 1297 | .Addsubiw, |
| 1317 | .Lpm, | ||
| 1318 | .Avr6, | ||
| 1319 | }, | ||
| 1320 | CpuInfo(@This()).create(.Atmega2564rfr2, "atmega2564rfr2", &[_]FeatureType { | ||
| 1321 | .Ijmpcall, | ||
| 1322 | .Elpmx, | ||
| 1323 | .Movw, | ||
| 1324 | .Mul, | 1298 | .Mul, |
| 1325 | .Sram, | 1299 | .Lpmx, |
| 1300 | .Ijmpcall, | ||
| 1326 | .Break, | 1301 | .Break, |
| 1327 | .Spm, | 1302 | .Avr6, |
| 1303 | }), | ||
| 1304 | CpuInfo(@This(), FeatureType).create(.Atmega2561, "atmega2561", &[_]FeatureType { | ||
| 1305 | .Lpm, | ||
| 1328 | .Elpm, | 1306 | .Elpm, |
| 1329 | .Lpmx, | 1307 | .Movw, |
| 1308 | .Elpmx, | ||
| 1309 | .Spm, | ||
| 1330 | .Avr0, | 1310 | .Avr0, |
| 1311 | .Sram, | ||
| 1331 | .Jmpcall, | 1312 | .Jmpcall, |
| 1332 | .Addsubiw, | 1313 | .Addsubiw, |
| 1333 | .Lpm, | ||
| 1334 | .Avr6, | ||
| 1335 | }, | ||
| 1336 | CpuInfo(@This()).create(.Atmega256rfr2, "atmega256rfr2", &[_]FeatureType { | ||
| 1337 | .Ijmpcall, | ||
| 1338 | .Elpmx, | ||
| 1339 | .Movw, | ||
| 1340 | .Mul, | 1314 | .Mul, |
| 1341 | .Sram, | 1315 | .Lpmx, |
| 1316 | .Ijmpcall, | ||
| 1342 | .Break, | 1317 | .Break, |
| 1343 | .Spm, | 1318 | .Avr6, |
| 1319 | }), | ||
| 1320 | CpuInfo(@This(), FeatureType).create(.Atmega2564rfr2, "atmega2564rfr2", &[_]FeatureType { | ||
| 1321 | .Lpm, | ||
| 1344 | .Elpm, | 1322 | .Elpm, |
| 1345 | .Lpmx, | 1323 | .Movw, |
| 1324 | .Elpmx, | ||
| 1325 | .Spm, | ||
| 1346 | .Avr0, | 1326 | .Avr0, |
| 1327 | .Sram, | ||
| 1347 | .Jmpcall, | 1328 | .Jmpcall, |
| 1348 | .Addsubiw, | 1329 | .Addsubiw, |
| 1349 | .Lpm, | ||
| 1350 | .Avr6, | ||
| 1351 | }, | ||
| 1352 | CpuInfo(@This()).create(.Atmega32, "atmega32", &[_]FeatureType { | ||
| 1353 | .Ijmpcall, | ||
| 1354 | .Movw, | ||
| 1355 | .Mul, | 1330 | .Mul, |
| 1356 | .Sram, | 1331 | .Lpmx, |
| 1332 | .Ijmpcall, | ||
| 1357 | .Break, | 1333 | .Break, |
| 1334 | .Avr6, | ||
| 1335 | }), | ||
| 1336 | CpuInfo(@This(), FeatureType).create(.Atmega256rfr2, "atmega256rfr2", &[_]FeatureType { | ||
| 1337 | .Lpm, | ||
| 1338 | .Elpm, | ||
| 1339 | .Movw, | ||
| 1340 | .Elpmx, | ||
| 1358 | .Spm, | 1341 | .Spm, |
| 1359 | .Lpmx, | ||
| 1360 | .Avr0, | 1342 | .Avr0, |
| 1343 | .Sram, | ||
| 1361 | .Jmpcall, | 1344 | .Jmpcall, |
| 1362 | .Addsubiw, | 1345 | .Addsubiw, |
| 1363 | .Lpm, | ||
| 1364 | .Avr5, | ||
| 1365 | }, | ||
| 1366 | CpuInfo(@This()).create(.Atmega323, "atmega323", &[_]FeatureType { | ||
| 1367 | .Ijmpcall, | ||
| 1368 | .Movw, | ||
| 1369 | .Mul, | 1346 | .Mul, |
| 1370 | .Sram, | 1347 | .Lpmx, |
| 1348 | .Ijmpcall, | ||
| 1371 | .Break, | 1349 | .Break, |
| 1350 | .Avr6, | ||
| 1351 | }), | ||
| 1352 | CpuInfo(@This(), FeatureType).create(.Atmega32, "atmega32", &[_]FeatureType { | ||
| 1353 | .Lpm, | ||
| 1354 | .Movw, | ||
| 1372 | .Spm, | 1355 | .Spm, |
| 1373 | .Lpmx, | ||
| 1374 | .Avr0, | 1356 | .Avr0, |
| 1357 | .Sram, | ||
| 1375 | .Jmpcall, | 1358 | .Jmpcall, |
| 1376 | .Addsubiw, | 1359 | .Addsubiw, |
| 1377 | .Lpm, | ||
| 1378 | .Avr5, | ||
| 1379 | }, | ||
| 1380 | CpuInfo(@This()).create(.Atmega324a, "atmega324a", &[_]FeatureType { | ||
| 1381 | .Ijmpcall, | ||
| 1382 | .Movw, | ||
| 1383 | .Mul, | 1360 | .Mul, |
| 1384 | .Sram, | 1361 | .Lpmx, |
| 1362 | .Ijmpcall, | ||
| 1385 | .Break, | 1363 | .Break, |
| 1364 | .Avr5, | ||
| 1365 | }), | ||
| 1366 | CpuInfo(@This(), FeatureType).create(.Atmega323, "atmega323", &[_]FeatureType { | ||
| 1367 | .Lpm, | ||
| 1368 | .Movw, | ||
| 1386 | .Spm, | 1369 | .Spm, |
| 1387 | .Lpmx, | ||
| 1388 | .Avr0, | 1370 | .Avr0, |
| 1371 | .Sram, | ||
| 1389 | .Jmpcall, | 1372 | .Jmpcall, |
| 1390 | .Addsubiw, | 1373 | .Addsubiw, |
| 1391 | .Lpm, | ||
| 1392 | .Avr5, | ||
| 1393 | }, | ||
| 1394 | CpuInfo(@This()).create(.Atmega324p, "atmega324p", &[_]FeatureType { | ||
| 1395 | .Ijmpcall, | ||
| 1396 | .Movw, | ||
| 1397 | .Mul, | 1374 | .Mul, |
| 1398 | .Sram, | 1375 | .Lpmx, |
| 1376 | .Ijmpcall, | ||
| 1399 | .Break, | 1377 | .Break, |
| 1378 | .Avr5, | ||
| 1379 | }), | ||
| 1380 | CpuInfo(@This(), FeatureType).create(.Atmega324a, "atmega324a", &[_]FeatureType { | ||
| 1381 | .Lpm, | ||
| 1382 | .Movw, | ||
| 1400 | .Spm, | 1383 | .Spm, |
| 1401 | .Lpmx, | ||
| 1402 | .Avr0, | 1384 | .Avr0, |
| 1385 | .Sram, | ||
| 1403 | .Jmpcall, | 1386 | .Jmpcall, |
| 1404 | .Addsubiw, | 1387 | .Addsubiw, |
| 1405 | .Lpm, | ||
| 1406 | .Avr5, | ||
| 1407 | }, | ||
| 1408 | CpuInfo(@This()).create(.Atmega324pa, "atmega324pa", &[_]FeatureType { | ||
| 1409 | .Ijmpcall, | ||
| 1410 | .Movw, | ||
| 1411 | .Mul, | 1388 | .Mul, |
| 1412 | .Sram, | 1389 | .Lpmx, |
| 1390 | .Ijmpcall, | ||
| 1413 | .Break, | 1391 | .Break, |
| 1392 | .Avr5, | ||
| 1393 | }), | ||
| 1394 | CpuInfo(@This(), FeatureType).create(.Atmega324p, "atmega324p", &[_]FeatureType { | ||
| 1395 | .Lpm, | ||
| 1396 | .Movw, | ||
| 1414 | .Spm, | 1397 | .Spm, |
| 1415 | .Lpmx, | ||
| 1416 | .Avr0, | 1398 | .Avr0, |
| 1399 | .Sram, | ||
| 1417 | .Jmpcall, | 1400 | .Jmpcall, |
| 1418 | .Addsubiw, | 1401 | .Addsubiw, |
| 1419 | .Lpm, | ||
| 1420 | .Avr5, | ||
| 1421 | }, | ||
| 1422 | CpuInfo(@This()).create(.Atmega325, "atmega325", &[_]FeatureType { | ||
| 1423 | .Ijmpcall, | ||
| 1424 | .Movw, | ||
| 1425 | .Mul, | 1402 | .Mul, |
| 1426 | .Sram, | 1403 | .Lpmx, |
| 1404 | .Ijmpcall, | ||
| 1427 | .Break, | 1405 | .Break, |
| 1406 | .Avr5, | ||
| 1407 | }), | ||
| 1408 | CpuInfo(@This(), FeatureType).create(.Atmega324pa, "atmega324pa", &[_]FeatureType { | ||
| 1409 | .Lpm, | ||
| 1410 | .Movw, | ||
| 1428 | .Spm, | 1411 | .Spm, |
| 1429 | .Lpmx, | ||
| 1430 | .Avr0, | 1412 | .Avr0, |
| 1413 | .Sram, | ||
| 1431 | .Jmpcall, | 1414 | .Jmpcall, |
| 1432 | .Addsubiw, | 1415 | .Addsubiw, |
| 1433 | .Lpm, | ||
| 1434 | .Avr5, | ||
| 1435 | }, | ||
| 1436 | CpuInfo(@This()).create(.Atmega3250, "atmega3250", &[_]FeatureType { | ||
| 1437 | .Ijmpcall, | ||
| 1438 | .Movw, | ||
| 1439 | .Mul, | 1416 | .Mul, |
| 1440 | .Sram, | 1417 | .Lpmx, |
| 1418 | .Ijmpcall, | ||
| 1441 | .Break, | 1419 | .Break, |
| 1420 | .Avr5, | ||
| 1421 | }), | ||
| 1422 | CpuInfo(@This(), FeatureType).create(.Atmega325, "atmega325", &[_]FeatureType { | ||
| 1423 | .Lpm, | ||
| 1424 | .Movw, | ||
| 1442 | .Spm, | 1425 | .Spm, |
| 1443 | .Lpmx, | ||
| 1444 | .Avr0, | 1426 | .Avr0, |
| 1427 | .Sram, | ||
| 1445 | .Jmpcall, | 1428 | .Jmpcall, |
| 1446 | .Addsubiw, | 1429 | .Addsubiw, |
| 1447 | .Lpm, | ||
| 1448 | .Avr5, | ||
| 1449 | }, | ||
| 1450 | CpuInfo(@This()).create(.Atmega3250a, "atmega3250a", &[_]FeatureType { | ||
| 1451 | .Ijmpcall, | ||
| 1452 | .Movw, | ||
| 1453 | .Mul, | 1430 | .Mul, |
| 1454 | .Sram, | 1431 | .Lpmx, |
| 1432 | .Ijmpcall, | ||
| 1455 | .Break, | 1433 | .Break, |
| 1434 | .Avr5, | ||
| 1435 | }), | ||
| 1436 | CpuInfo(@This(), FeatureType).create(.Atmega3250, "atmega3250", &[_]FeatureType { | ||
| 1437 | .Lpm, | ||
| 1438 | .Movw, | ||
| 1456 | .Spm, | 1439 | .Spm, |
| 1457 | .Lpmx, | ||
| 1458 | .Avr0, | 1440 | .Avr0, |
| 1441 | .Sram, | ||
| 1459 | .Jmpcall, | 1442 | .Jmpcall, |
| 1460 | .Addsubiw, | 1443 | .Addsubiw, |
| 1461 | .Lpm, | ||
| 1462 | .Avr5, | ||
| 1463 | }, | ||
| 1464 | CpuInfo(@This()).create(.Atmega3250p, "atmega3250p", &[_]FeatureType { | ||
| 1465 | .Ijmpcall, | ||
| 1466 | .Movw, | ||
| 1467 | .Mul, | 1444 | .Mul, |
| 1468 | .Sram, | ||
| 1469 | .Break, | ||
| 1470 | .Spm, | ||
| 1471 | .Lpmx, | 1445 | .Lpmx, |
| 1472 | .Avr0, | ||
| 1473 | .Jmpcall, | ||
| 1474 | .Addsubiw, | ||
| 1475 | .Lpm, | ||
| 1476 | .Avr5, | ||
| 1477 | }, | ||
| 1478 | CpuInfo(@This()).create(.Atmega3250pa, "atmega3250pa", &[_]FeatureType { | ||
| 1479 | .Ijmpcall, | 1446 | .Ijmpcall, |
| 1480 | .Movw, | ||
| 1481 | .Mul, | ||
| 1482 | .Sram, | ||
| 1483 | .Break, | 1447 | .Break, |
| 1448 | .Avr5, | ||
| 1449 | }), | ||
| 1450 | CpuInfo(@This(), FeatureType).create(.Atmega3250a, "atmega3250a", &[_]FeatureType { | ||
| 1451 | .Lpm, | ||
| 1452 | .Movw, | ||
| 1484 | .Spm, | 1453 | .Spm, |
| 1485 | .Lpmx, | ||
| 1486 | .Avr0, | 1454 | .Avr0, |
| 1455 | .Sram, | ||
| 1487 | .Jmpcall, | 1456 | .Jmpcall, |
| 1488 | .Addsubiw, | 1457 | .Addsubiw, |
| 1489 | .Lpm, | ||
| 1490 | .Avr5, | ||
| 1491 | }, | ||
| 1492 | CpuInfo(@This()).create(.Atmega325a, "atmega325a", &[_]FeatureType { | ||
| 1493 | .Ijmpcall, | ||
| 1494 | .Movw, | ||
| 1495 | .Mul, | 1458 | .Mul, |
| 1496 | .Sram, | 1459 | .Lpmx, |
| 1460 | .Ijmpcall, | ||
| 1497 | .Break, | 1461 | .Break, |
| 1462 | .Avr5, | ||
| 1463 | }), | ||
| 1464 | CpuInfo(@This(), FeatureType).create(.Atmega3250p, "atmega3250p", &[_]FeatureType { | ||
| 1465 | .Lpm, | ||
| 1466 | .Movw, | ||
| 1498 | .Spm, | 1467 | .Spm, |
| 1499 | .Lpmx, | ||
| 1500 | .Avr0, | 1468 | .Avr0, |
| 1469 | .Sram, | ||
| 1501 | .Jmpcall, | 1470 | .Jmpcall, |
| 1502 | .Addsubiw, | 1471 | .Addsubiw, |
| 1503 | .Lpm, | ||
| 1504 | .Avr5, | ||
| 1505 | }, | ||
| 1506 | CpuInfo(@This()).create(.Atmega325p, "atmega325p", &[_]FeatureType { | ||
| 1507 | .Ijmpcall, | ||
| 1508 | .Movw, | ||
| 1509 | .Mul, | 1472 | .Mul, |
| 1510 | .Sram, | 1473 | .Lpmx, |
| 1474 | .Ijmpcall, | ||
| 1511 | .Break, | 1475 | .Break, |
| 1476 | .Avr5, | ||
| 1477 | }), | ||
| 1478 | CpuInfo(@This(), FeatureType).create(.Atmega3250pa, "atmega3250pa", &[_]FeatureType { | ||
| 1479 | .Lpm, | ||
| 1480 | .Movw, | ||
| 1512 | .Spm, | 1481 | .Spm, |
| 1513 | .Lpmx, | ||
| 1514 | .Avr0, | 1482 | .Avr0, |
| 1483 | .Sram, | ||
| 1515 | .Jmpcall, | 1484 | .Jmpcall, |
| 1516 | .Addsubiw, | 1485 | .Addsubiw, |
| 1517 | .Lpm, | ||
| 1518 | .Avr5, | ||
| 1519 | }, | ||
| 1520 | CpuInfo(@This()).create(.Atmega325pa, "atmega325pa", &[_]FeatureType { | ||
| 1521 | .Ijmpcall, | ||
| 1522 | .Movw, | ||
| 1523 | .Mul, | 1486 | .Mul, |
| 1524 | .Sram, | 1487 | .Lpmx, |
| 1488 | .Ijmpcall, | ||
| 1525 | .Break, | 1489 | .Break, |
| 1490 | .Avr5, | ||
| 1491 | }), | ||
| 1492 | CpuInfo(@This(), FeatureType).create(.Atmega325a, "atmega325a", &[_]FeatureType { | ||
| 1493 | .Lpm, | ||
| 1494 | .Movw, | ||
| 1526 | .Spm, | 1495 | .Spm, |
| 1527 | .Lpmx, | ||
| 1528 | .Avr0, | 1496 | .Avr0, |
| 1497 | .Sram, | ||
| 1529 | .Jmpcall, | 1498 | .Jmpcall, |
| 1530 | .Addsubiw, | 1499 | .Addsubiw, |
| 1531 | .Lpm, | ||
| 1532 | .Avr5, | ||
| 1533 | }, | ||
| 1534 | CpuInfo(@This()).create(.Atmega328, "atmega328", &[_]FeatureType { | ||
| 1535 | .Ijmpcall, | ||
| 1536 | .Movw, | ||
| 1537 | .Mul, | 1500 | .Mul, |
| 1538 | .Sram, | 1501 | .Lpmx, |
| 1502 | .Ijmpcall, | ||
| 1539 | .Break, | 1503 | .Break, |
| 1504 | .Avr5, | ||
| 1505 | }), | ||
| 1506 | CpuInfo(@This(), FeatureType).create(.Atmega325p, "atmega325p", &[_]FeatureType { | ||
| 1507 | .Lpm, | ||
| 1508 | .Movw, | ||
| 1540 | .Spm, | 1509 | .Spm, |
| 1541 | .Lpmx, | ||
| 1542 | .Avr0, | 1510 | .Avr0, |
| 1511 | .Sram, | ||
| 1543 | .Jmpcall, | 1512 | .Jmpcall, |
| 1544 | .Addsubiw, | 1513 | .Addsubiw, |
| 1545 | .Lpm, | ||
| 1546 | .Avr5, | ||
| 1547 | }, | ||
| 1548 | CpuInfo(@This()).create(.Atmega328p, "atmega328p", &[_]FeatureType { | ||
| 1549 | .Ijmpcall, | ||
| 1550 | .Movw, | ||
| 1551 | .Mul, | 1514 | .Mul, |
| 1552 | .Sram, | 1515 | .Lpmx, |
| 1516 | .Ijmpcall, | ||
| 1553 | .Break, | 1517 | .Break, |
| 1518 | .Avr5, | ||
| 1519 | }), | ||
| 1520 | CpuInfo(@This(), FeatureType).create(.Atmega325pa, "atmega325pa", &[_]FeatureType { | ||
| 1521 | .Lpm, | ||
| 1522 | .Movw, | ||
| 1554 | .Spm, | 1523 | .Spm, |
| 1555 | .Lpmx, | ||
| 1556 | .Avr0, | 1524 | .Avr0, |
| 1525 | .Sram, | ||
| 1557 | .Jmpcall, | 1526 | .Jmpcall, |
| 1558 | .Addsubiw, | 1527 | .Addsubiw, |
| 1559 | .Lpm, | ||
| 1560 | .Avr5, | ||
| 1561 | }, | ||
| 1562 | CpuInfo(@This()).create(.Atmega329, "atmega329", &[_]FeatureType { | ||
| 1563 | .Ijmpcall, | ||
| 1564 | .Movw, | ||
| 1565 | .Mul, | 1528 | .Mul, |
| 1566 | .Sram, | 1529 | .Lpmx, |
| 1530 | .Ijmpcall, | ||
| 1567 | .Break, | 1531 | .Break, |
| 1532 | .Avr5, | ||
| 1533 | }), | ||
| 1534 | CpuInfo(@This(), FeatureType).create(.Atmega328, "atmega328", &[_]FeatureType { | ||
| 1535 | .Lpm, | ||
| 1536 | .Movw, | ||
| 1568 | .Spm, | 1537 | .Spm, |
| 1569 | .Lpmx, | ||
| 1570 | .Avr0, | 1538 | .Avr0, |
| 1539 | .Sram, | ||
| 1571 | .Jmpcall, | 1540 | .Jmpcall, |
| 1572 | .Addsubiw, | 1541 | .Addsubiw, |
| 1573 | .Lpm, | ||
| 1574 | .Avr5, | ||
| 1575 | }, | ||
| 1576 | CpuInfo(@This()).create(.Atmega3290, "atmega3290", &[_]FeatureType { | ||
| 1577 | .Ijmpcall, | ||
| 1578 | .Movw, | ||
| 1579 | .Mul, | 1542 | .Mul, |
| 1580 | .Sram, | 1543 | .Lpmx, |
| 1544 | .Ijmpcall, | ||
| 1581 | .Break, | 1545 | .Break, |
| 1546 | .Avr5, | ||
| 1547 | }), | ||
| 1548 | CpuInfo(@This(), FeatureType).create(.Atmega328p, "atmega328p", &[_]FeatureType { | ||
| 1549 | .Lpm, | ||
| 1550 | .Movw, | ||
| 1582 | .Spm, | 1551 | .Spm, |
| 1583 | .Lpmx, | ||
| 1584 | .Avr0, | 1552 | .Avr0, |
| 1553 | .Sram, | ||
| 1585 | .Jmpcall, | 1554 | .Jmpcall, |
| 1586 | .Addsubiw, | 1555 | .Addsubiw, |
| 1587 | .Lpm, | ||
| 1588 | .Avr5, | ||
| 1589 | }, | ||
| 1590 | CpuInfo(@This()).create(.Atmega3290a, "atmega3290a", &[_]FeatureType { | ||
| 1591 | .Ijmpcall, | ||
| 1592 | .Movw, | ||
| 1593 | .Mul, | 1556 | .Mul, |
| 1594 | .Sram, | 1557 | .Lpmx, |
| 1558 | .Ijmpcall, | ||
| 1595 | .Break, | 1559 | .Break, |
| 1560 | .Avr5, | ||
| 1561 | }), | ||
| 1562 | CpuInfo(@This(), FeatureType).create(.Atmega329, "atmega329", &[_]FeatureType { | ||
| 1563 | .Lpm, | ||
| 1564 | .Movw, | ||
| 1596 | .Spm, | 1565 | .Spm, |
| 1597 | .Lpmx, | ||
| 1598 | .Avr0, | 1566 | .Avr0, |
| 1567 | .Sram, | ||
| 1599 | .Jmpcall, | 1568 | .Jmpcall, |
| 1600 | .Addsubiw, | 1569 | .Addsubiw, |
| 1601 | .Lpm, | ||
| 1602 | .Avr5, | ||
| 1603 | }, | ||
| 1604 | CpuInfo(@This()).create(.Atmega3290p, "atmega3290p", &[_]FeatureType { | ||
| 1605 | .Ijmpcall, | ||
| 1606 | .Movw, | ||
| 1607 | .Mul, | 1570 | .Mul, |
| 1608 | .Sram, | 1571 | .Lpmx, |
| 1572 | .Ijmpcall, | ||
| 1609 | .Break, | 1573 | .Break, |
| 1574 | .Avr5, | ||
| 1575 | }), | ||
| 1576 | CpuInfo(@This(), FeatureType).create(.Atmega3290, "atmega3290", &[_]FeatureType { | ||
| 1577 | .Lpm, | ||
| 1578 | .Movw, | ||
| 1610 | .Spm, | 1579 | .Spm, |
| 1611 | .Lpmx, | ||
| 1612 | .Avr0, | 1580 | .Avr0, |
| 1581 | .Sram, | ||
| 1613 | .Jmpcall, | 1582 | .Jmpcall, |
| 1614 | .Addsubiw, | 1583 | .Addsubiw, |
| 1615 | .Lpm, | ||
| 1616 | .Avr5, | ||
| 1617 | }, | ||
| 1618 | CpuInfo(@This()).create(.Atmega3290pa, "atmega3290pa", &[_]FeatureType { | ||
| 1619 | .Ijmpcall, | ||
| 1620 | .Movw, | ||
| 1621 | .Mul, | 1584 | .Mul, |
| 1622 | .Sram, | 1585 | .Lpmx, |
| 1586 | .Ijmpcall, | ||
| 1623 | .Break, | 1587 | .Break, |
| 1588 | .Avr5, | ||
| 1589 | }), | ||
| 1590 | CpuInfo(@This(), FeatureType).create(.Atmega3290a, "atmega3290a", &[_]FeatureType { | ||
| 1591 | .Lpm, | ||
| 1592 | .Movw, | ||
| 1624 | .Spm, | 1593 | .Spm, |
| 1625 | .Lpmx, | ||
| 1626 | .Avr0, | 1594 | .Avr0, |
| 1595 | .Sram, | ||
| 1627 | .Jmpcall, | 1596 | .Jmpcall, |
| 1628 | .Addsubiw, | 1597 | .Addsubiw, |
| 1629 | .Lpm, | ||
| 1630 | .Avr5, | ||
| 1631 | }, | ||
| 1632 | CpuInfo(@This()).create(.Atmega329a, "atmega329a", &[_]FeatureType { | ||
| 1633 | .Ijmpcall, | ||
| 1634 | .Movw, | ||
| 1635 | .Mul, | 1598 | .Mul, |
| 1636 | .Sram, | 1599 | .Lpmx, |
| 1600 | .Ijmpcall, | ||
| 1637 | .Break, | 1601 | .Break, |
| 1602 | .Avr5, | ||
| 1603 | }), | ||
| 1604 | CpuInfo(@This(), FeatureType).create(.Atmega3290p, "atmega3290p", &[_]FeatureType { | ||
| 1605 | .Lpm, | ||
| 1606 | .Movw, | ||
| 1638 | .Spm, | 1607 | .Spm, |
| 1639 | .Lpmx, | ||
| 1640 | .Avr0, | 1608 | .Avr0, |
| 1609 | .Sram, | ||
| 1641 | .Jmpcall, | 1610 | .Jmpcall, |
| 1642 | .Addsubiw, | 1611 | .Addsubiw, |
| 1643 | .Lpm, | ||
| 1644 | .Avr5, | ||
| 1645 | }, | ||
| 1646 | CpuInfo(@This()).create(.Atmega329p, "atmega329p", &[_]FeatureType { | ||
| 1647 | .Ijmpcall, | ||
| 1648 | .Movw, | ||
| 1649 | .Mul, | 1612 | .Mul, |
| 1650 | .Sram, | 1613 | .Lpmx, |
| 1614 | .Ijmpcall, | ||
| 1651 | .Break, | 1615 | .Break, |
| 1616 | .Avr5, | ||
| 1617 | }), | ||
| 1618 | CpuInfo(@This(), FeatureType).create(.Atmega3290pa, "atmega3290pa", &[_]FeatureType { | ||
| 1619 | .Lpm, | ||
| 1620 | .Movw, | ||
| 1652 | .Spm, | 1621 | .Spm, |
| 1653 | .Lpmx, | ||
| 1654 | .Avr0, | 1622 | .Avr0, |
| 1623 | .Sram, | ||
| 1655 | .Jmpcall, | 1624 | .Jmpcall, |
| 1656 | .Addsubiw, | 1625 | .Addsubiw, |
| 1657 | .Lpm, | ||
| 1658 | .Avr5, | ||
| 1659 | }, | ||
| 1660 | CpuInfo(@This()).create(.Atmega329pa, "atmega329pa", &[_]FeatureType { | ||
| 1661 | .Ijmpcall, | ||
| 1662 | .Movw, | ||
| 1663 | .Mul, | 1626 | .Mul, |
| 1664 | .Sram, | 1627 | .Lpmx, |
| 1628 | .Ijmpcall, | ||
| 1665 | .Break, | 1629 | .Break, |
| 1630 | .Avr5, | ||
| 1631 | }), | ||
| 1632 | CpuInfo(@This(), FeatureType).create(.Atmega329a, "atmega329a", &[_]FeatureType { | ||
| 1633 | .Lpm, | ||
| 1634 | .Movw, | ||
| 1666 | .Spm, | 1635 | .Spm, |
| 1667 | .Lpmx, | ||
| 1668 | .Avr0, | 1636 | .Avr0, |
| 1637 | .Sram, | ||
| 1669 | .Jmpcall, | 1638 | .Jmpcall, |
| 1670 | .Addsubiw, | 1639 | .Addsubiw, |
| 1671 | .Lpm, | ||
| 1672 | .Avr5, | ||
| 1673 | }, | ||
| 1674 | CpuInfo(@This()).create(.Atmega32a, "atmega32a", &[_]FeatureType { | ||
| 1675 | .Ijmpcall, | ||
| 1676 | .Movw, | ||
| 1677 | .Mul, | 1640 | .Mul, |
| 1678 | .Sram, | 1641 | .Lpmx, |
| 1642 | .Ijmpcall, | ||
| 1679 | .Break, | 1643 | .Break, |
| 1644 | .Avr5, | ||
| 1645 | }), | ||
| 1646 | CpuInfo(@This(), FeatureType).create(.Atmega329p, "atmega329p", &[_]FeatureType { | ||
| 1647 | .Lpm, | ||
| 1648 | .Movw, | ||
| 1680 | .Spm, | 1649 | .Spm, |
| 1681 | .Lpmx, | ||
| 1682 | .Avr0, | 1650 | .Avr0, |
| 1651 | .Sram, | ||
| 1683 | .Jmpcall, | 1652 | .Jmpcall, |
| 1684 | .Addsubiw, | 1653 | .Addsubiw, |
| 1685 | .Lpm, | ||
| 1686 | .Avr5, | ||
| 1687 | }, | ||
| 1688 | CpuInfo(@This()).create(.Atmega32c1, "atmega32c1", &[_]FeatureType { | ||
| 1689 | .Ijmpcall, | ||
| 1690 | .Movw, | ||
| 1691 | .Mul, | 1654 | .Mul, |
| 1692 | .Sram, | 1655 | .Lpmx, |
| 1656 | .Ijmpcall, | ||
| 1693 | .Break, | 1657 | .Break, |
| 1658 | .Avr5, | ||
| 1659 | }), | ||
| 1660 | CpuInfo(@This(), FeatureType).create(.Atmega329pa, "atmega329pa", &[_]FeatureType { | ||
| 1661 | .Lpm, | ||
| 1662 | .Movw, | ||
| 1694 | .Spm, | 1663 | .Spm, |
| 1695 | .Lpmx, | ||
| 1696 | .Avr0, | 1664 | .Avr0, |
| 1665 | .Sram, | ||
| 1697 | .Jmpcall, | 1666 | .Jmpcall, |
| 1698 | .Addsubiw, | 1667 | .Addsubiw, |
| 1699 | .Lpm, | ||
| 1700 | .Avr5, | ||
| 1701 | }, | ||
| 1702 | CpuInfo(@This()).create(.Atmega32hvb, "atmega32hvb", &[_]FeatureType { | ||
| 1703 | .Ijmpcall, | ||
| 1704 | .Movw, | ||
| 1705 | .Mul, | 1668 | .Mul, |
| 1706 | .Sram, | 1669 | .Lpmx, |
| 1670 | .Ijmpcall, | ||
| 1707 | .Break, | 1671 | .Break, |
| 1672 | .Avr5, | ||
| 1673 | }), | ||
| 1674 | CpuInfo(@This(), FeatureType).create(.Atmega32a, "atmega32a", &[_]FeatureType { | ||
| 1675 | .Lpm, | ||
| 1676 | .Movw, | ||
| 1708 | .Spm, | 1677 | .Spm, |
| 1709 | .Lpmx, | ||
| 1710 | .Avr0, | 1678 | .Avr0, |
| 1679 | .Sram, | ||
| 1711 | .Jmpcall, | 1680 | .Jmpcall, |
| 1712 | .Addsubiw, | 1681 | .Addsubiw, |
| 1713 | .Lpm, | ||
| 1714 | .Avr5, | ||
| 1715 | }, | ||
| 1716 | CpuInfo(@This()).create(.Atmega32hvbrevb, "atmega32hvbrevb", &[_]FeatureType { | ||
| 1717 | .Ijmpcall, | ||
| 1718 | .Movw, | ||
| 1719 | .Mul, | 1682 | .Mul, |
| 1720 | .Sram, | 1683 | .Lpmx, |
| 1684 | .Ijmpcall, | ||
| 1721 | .Break, | 1685 | .Break, |
| 1686 | .Avr5, | ||
| 1687 | }), | ||
| 1688 | CpuInfo(@This(), FeatureType).create(.Atmega32c1, "atmega32c1", &[_]FeatureType { | ||
| 1689 | .Lpm, | ||
| 1690 | .Movw, | ||
| 1722 | .Spm, | 1691 | .Spm, |
| 1723 | .Lpmx, | ||
| 1724 | .Avr0, | 1692 | .Avr0, |
| 1693 | .Sram, | ||
| 1725 | .Jmpcall, | 1694 | .Jmpcall, |
| 1726 | .Addsubiw, | 1695 | .Addsubiw, |
| 1727 | .Lpm, | ||
| 1728 | .Avr5, | ||
| 1729 | }, | ||
| 1730 | CpuInfo(@This()).create(.Atmega32m1, "atmega32m1", &[_]FeatureType { | ||
| 1731 | .Ijmpcall, | ||
| 1732 | .Movw, | ||
| 1733 | .Mul, | 1696 | .Mul, |
| 1734 | .Sram, | 1697 | .Lpmx, |
| 1698 | .Ijmpcall, | ||
| 1735 | .Break, | 1699 | .Break, |
| 1700 | .Avr5, | ||
| 1701 | }), | ||
| 1702 | CpuInfo(@This(), FeatureType).create(.Atmega32hvb, "atmega32hvb", &[_]FeatureType { | ||
| 1703 | .Lpm, | ||
| 1704 | .Movw, | ||
| 1736 | .Spm, | 1705 | .Spm, |
| 1737 | .Lpmx, | ||
| 1738 | .Avr0, | 1706 | .Avr0, |
| 1707 | .Sram, | ||
| 1739 | .Jmpcall, | 1708 | .Jmpcall, |
| 1740 | .Addsubiw, | 1709 | .Addsubiw, |
| 1741 | .Lpm, | 1710 | .Mul, |
| 1742 | .Avr5, | 1711 | .Lpmx, |
| 1743 | }, | ||
| 1744 | CpuInfo(@This()).create(.Atmega32u2, "atmega32u2", &[_]FeatureType { | ||
| 1745 | .Ijmpcall, | 1712 | .Ijmpcall, |
| 1746 | .Movw, | ||
| 1747 | .Sram, | ||
| 1748 | .Break, | 1713 | .Break, |
| 1714 | .Avr5, | ||
| 1715 | }), | ||
| 1716 | CpuInfo(@This(), FeatureType).create(.Atmega32hvbrevb, "atmega32hvbrevb", &[_]FeatureType { | ||
| 1717 | .Lpm, | ||
| 1718 | .Movw, | ||
| 1749 | .Spm, | 1719 | .Spm, |
| 1750 | .Lpmx, | ||
| 1751 | .Avr0, | 1720 | .Avr0, |
| 1721 | .Sram, | ||
| 1752 | .Jmpcall, | 1722 | .Jmpcall, |
| 1753 | .Addsubiw, | 1723 | .Addsubiw, |
| 1754 | .Lpm, | ||
| 1755 | .Avr35, | ||
| 1756 | }, | ||
| 1757 | CpuInfo(@This()).create(.Atmega32u4, "atmega32u4", &[_]FeatureType { | ||
| 1758 | .Ijmpcall, | ||
| 1759 | .Movw, | ||
| 1760 | .Mul, | 1724 | .Mul, |
| 1761 | .Sram, | 1725 | .Lpmx, |
| 1726 | .Ijmpcall, | ||
| 1762 | .Break, | 1727 | .Break, |
| 1728 | .Avr5, | ||
| 1729 | }), | ||
| 1730 | CpuInfo(@This(), FeatureType).create(.Atmega32m1, "atmega32m1", &[_]FeatureType { | ||
| 1731 | .Lpm, | ||
| 1732 | .Movw, | ||
| 1763 | .Spm, | 1733 | .Spm, |
| 1764 | .Lpmx, | ||
| 1765 | .Avr0, | 1734 | .Avr0, |
| 1735 | .Sram, | ||
| 1766 | .Jmpcall, | 1736 | .Jmpcall, |
| 1767 | .Addsubiw, | 1737 | .Addsubiw, |
| 1768 | .Lpm, | ||
| 1769 | .Avr5, | ||
| 1770 | }, | ||
| 1771 | CpuInfo(@This()).create(.Atmega32u6, "atmega32u6", &[_]FeatureType { | ||
| 1772 | .Ijmpcall, | ||
| 1773 | .Movw, | ||
| 1774 | .Mul, | 1738 | .Mul, |
| 1775 | .Sram, | 1739 | .Lpmx, |
| 1740 | .Ijmpcall, | ||
| 1776 | .Break, | 1741 | .Break, |
| 1742 | .Avr5, | ||
| 1743 | }), | ||
| 1744 | CpuInfo(@This(), FeatureType).create(.Atmega32u2, "atmega32u2", &[_]FeatureType { | ||
| 1745 | .Lpm, | ||
| 1746 | .Movw, | ||
| 1777 | .Spm, | 1747 | .Spm, |
| 1778 | .Lpmx, | ||
| 1779 | .Avr0, | 1748 | .Avr0, |
| 1749 | .Sram, | ||
| 1780 | .Jmpcall, | 1750 | .Jmpcall, |
| 1781 | .Addsubiw, | 1751 | .Addsubiw, |
| 1782 | .Lpm, | 1752 | .Lpmx, |
| 1783 | .Avr5, | ||
| 1784 | }, | ||
| 1785 | CpuInfo(@This()).create(.Atmega406, "atmega406", &[_]FeatureType { | ||
| 1786 | .Ijmpcall, | 1753 | .Ijmpcall, |
| 1787 | .Movw, | ||
| 1788 | .Mul, | ||
| 1789 | .Sram, | ||
| 1790 | .Break, | 1754 | .Break, |
| 1755 | .Avr35, | ||
| 1756 | }), | ||
| 1757 | CpuInfo(@This(), FeatureType).create(.Atmega32u4, "atmega32u4", &[_]FeatureType { | ||
| 1758 | .Lpm, | ||
| 1759 | .Movw, | ||
| 1791 | .Spm, | 1760 | .Spm, |
| 1792 | .Lpmx, | ||
| 1793 | .Avr0, | 1761 | .Avr0, |
| 1762 | .Sram, | ||
| 1794 | .Jmpcall, | 1763 | .Jmpcall, |
| 1795 | .Addsubiw, | 1764 | .Addsubiw, |
| 1796 | .Lpm, | ||
| 1797 | .Avr5, | ||
| 1798 | }, | ||
| 1799 | CpuInfo(@This()).create(.Atmega48, "atmega48", &[_]FeatureType { | ||
| 1800 | .Ijmpcall, | ||
| 1801 | .Movw, | ||
| 1802 | .Mul, | 1765 | .Mul, |
| 1803 | .Sram, | 1766 | .Lpmx, |
| 1767 | .Ijmpcall, | ||
| 1804 | .Break, | 1768 | .Break, |
| 1769 | .Avr5, | ||
| 1770 | }), | ||
| 1771 | CpuInfo(@This(), FeatureType).create(.Atmega32u6, "atmega32u6", &[_]FeatureType { | ||
| 1772 | .Lpm, | ||
| 1773 | .Movw, | ||
| 1805 | .Spm, | 1774 | .Spm, |
| 1806 | .Lpmx, | ||
| 1807 | .Avr0, | 1775 | .Avr0, |
| 1776 | .Sram, | ||
| 1777 | .Jmpcall, | ||
| 1808 | .Addsubiw, | 1778 | .Addsubiw, |
| 1809 | .Lpm, | ||
| 1810 | .Avr4, | ||
| 1811 | }, | ||
| 1812 | CpuInfo(@This()).create(.Atmega48a, "atmega48a", &[_]FeatureType { | ||
| 1813 | .Ijmpcall, | ||
| 1814 | .Movw, | ||
| 1815 | .Mul, | 1779 | .Mul, |
| 1816 | .Sram, | 1780 | .Lpmx, |
| 1781 | .Ijmpcall, | ||
| 1817 | .Break, | 1782 | .Break, |
| 1783 | .Avr5, | ||
| 1784 | }), | ||
| 1785 | CpuInfo(@This(), FeatureType).create(.Atmega406, "atmega406", &[_]FeatureType { | ||
| 1786 | .Lpm, | ||
| 1787 | .Movw, | ||
| 1818 | .Spm, | 1788 | .Spm, |
| 1819 | .Lpmx, | ||
| 1820 | .Avr0, | 1789 | .Avr0, |
| 1790 | .Sram, | ||
| 1791 | .Jmpcall, | ||
| 1821 | .Addsubiw, | 1792 | .Addsubiw, |
| 1822 | .Lpm, | ||
| 1823 | .Avr4, | ||
| 1824 | }, | ||
| 1825 | CpuInfo(@This()).create(.Atmega48p, "atmega48p", &[_]FeatureType { | ||
| 1826 | .Ijmpcall, | ||
| 1827 | .Movw, | ||
| 1828 | .Mul, | 1793 | .Mul, |
| 1829 | .Sram, | 1794 | .Lpmx, |
| 1795 | .Ijmpcall, | ||
| 1830 | .Break, | 1796 | .Break, |
| 1797 | .Avr5, | ||
| 1798 | }), | ||
| 1799 | CpuInfo(@This(), FeatureType).create(.Atmega48, "atmega48", &[_]FeatureType { | ||
| 1800 | .Lpm, | ||
| 1801 | .Movw, | ||
| 1831 | .Spm, | 1802 | .Spm, |
| 1832 | .Lpmx, | ||
| 1833 | .Avr0, | 1803 | .Avr0, |
| 1804 | .Sram, | ||
| 1834 | .Addsubiw, | 1805 | .Addsubiw, |
| 1835 | .Lpm, | ||
| 1836 | .Avr4, | ||
| 1837 | }, | ||
| 1838 | CpuInfo(@This()).create(.Atmega48pa, "atmega48pa", &[_]FeatureType { | ||
| 1839 | .Ijmpcall, | ||
| 1840 | .Movw, | ||
| 1841 | .Mul, | 1806 | .Mul, |
| 1842 | .Sram, | 1807 | .Lpmx, |
| 1808 | .Ijmpcall, | ||
| 1843 | .Break, | 1809 | .Break, |
| 1810 | .Avr4, | ||
| 1811 | }), | ||
| 1812 | CpuInfo(@This(), FeatureType).create(.Atmega48a, "atmega48a", &[_]FeatureType { | ||
| 1813 | .Lpm, | ||
| 1814 | .Movw, | ||
| 1844 | .Spm, | 1815 | .Spm, |
| 1845 | .Lpmx, | ||
| 1846 | .Avr0, | 1816 | .Avr0, |
| 1817 | .Sram, | ||
| 1847 | .Addsubiw, | 1818 | .Addsubiw, |
| 1848 | .Lpm, | ||
| 1849 | .Avr4, | ||
| 1850 | }, | ||
| 1851 | CpuInfo(@This()).create(.Atmega64, "atmega64", &[_]FeatureType { | ||
| 1852 | .Ijmpcall, | ||
| 1853 | .Movw, | ||
| 1854 | .Mul, | 1819 | .Mul, |
| 1855 | .Sram, | 1820 | .Lpmx, |
| 1821 | .Ijmpcall, | ||
| 1856 | .Break, | 1822 | .Break, |
| 1823 | .Avr4, | ||
| 1824 | }), | ||
| 1825 | CpuInfo(@This(), FeatureType).create(.Atmega48p, "atmega48p", &[_]FeatureType { | ||
| 1826 | .Lpm, | ||
| 1827 | .Movw, | ||
| 1857 | .Spm, | 1828 | .Spm, |
| 1858 | .Lpmx, | ||
| 1859 | .Avr0, | 1829 | .Avr0, |
| 1860 | .Jmpcall, | 1830 | .Sram, |
| 1861 | .Addsubiw, | 1831 | .Addsubiw, |
| 1862 | .Lpm, | ||
| 1863 | .Avr5, | ||
| 1864 | }, | ||
| 1865 | CpuInfo(@This()).create(.Atmega640, "atmega640", &[_]FeatureType { | ||
| 1866 | .Ijmpcall, | ||
| 1867 | .Movw, | ||
| 1868 | .Mul, | 1832 | .Mul, |
| 1869 | .Sram, | 1833 | .Lpmx, |
| 1834 | .Ijmpcall, | ||
| 1870 | .Break, | 1835 | .Break, |
| 1836 | .Avr4, | ||
| 1837 | }), | ||
| 1838 | CpuInfo(@This(), FeatureType).create(.Atmega48pa, "atmega48pa", &[_]FeatureType { | ||
| 1839 | .Lpm, | ||
| 1840 | .Movw, | ||
| 1871 | .Spm, | 1841 | .Spm, |
| 1872 | .Lpmx, | ||
| 1873 | .Avr0, | 1842 | .Avr0, |
| 1874 | .Jmpcall, | 1843 | .Sram, |
| 1875 | .Addsubiw, | 1844 | .Addsubiw, |
| 1876 | .Lpm, | ||
| 1877 | .Avr5, | ||
| 1878 | }, | ||
| 1879 | CpuInfo(@This()).create(.Atmega644, "atmega644", &[_]FeatureType { | ||
| 1880 | .Ijmpcall, | ||
| 1881 | .Movw, | ||
| 1882 | .Mul, | 1845 | .Mul, |
| 1883 | .Sram, | 1846 | .Lpmx, |
| 1847 | .Ijmpcall, | ||
| 1884 | .Break, | 1848 | .Break, |
| 1849 | .Avr4, | ||
| 1850 | }), | ||
| 1851 | CpuInfo(@This(), FeatureType).create(.Atmega64, "atmega64", &[_]FeatureType { | ||
| 1852 | .Lpm, | ||
| 1853 | .Movw, | ||
| 1885 | .Spm, | 1854 | .Spm, |
| 1886 | .Lpmx, | ||
| 1887 | .Avr0, | 1855 | .Avr0, |
| 1856 | .Sram, | ||
| 1888 | .Jmpcall, | 1857 | .Jmpcall, |
| 1889 | .Addsubiw, | 1858 | .Addsubiw, |
| 1890 | .Lpm, | ||
| 1891 | .Avr5, | ||
| 1892 | }, | ||
| 1893 | CpuInfo(@This()).create(.Atmega644a, "atmega644a", &[_]FeatureType { | ||
| 1894 | .Ijmpcall, | ||
| 1895 | .Movw, | ||
| 1896 | .Mul, | 1859 | .Mul, |
| 1897 | .Sram, | 1860 | .Lpmx, |
| 1861 | .Ijmpcall, | ||
| 1898 | .Break, | 1862 | .Break, |
| 1863 | .Avr5, | ||
| 1864 | }), | ||
| 1865 | CpuInfo(@This(), FeatureType).create(.Atmega640, "atmega640", &[_]FeatureType { | ||
| 1866 | .Lpm, | ||
| 1867 | .Movw, | ||
| 1899 | .Spm, | 1868 | .Spm, |
| 1900 | .Lpmx, | ||
| 1901 | .Avr0, | 1869 | .Avr0, |
| 1870 | .Sram, | ||
| 1902 | .Jmpcall, | 1871 | .Jmpcall, |
| 1903 | .Addsubiw, | 1872 | .Addsubiw, |
| 1904 | .Lpm, | ||
| 1905 | .Avr5, | ||
| 1906 | }, | ||
| 1907 | CpuInfo(@This()).create(.Atmega644p, "atmega644p", &[_]FeatureType { | ||
| 1908 | .Ijmpcall, | ||
| 1909 | .Movw, | ||
| 1910 | .Mul, | 1873 | .Mul, |
| 1911 | .Sram, | 1874 | .Lpmx, |
| 1875 | .Ijmpcall, | ||
| 1912 | .Break, | 1876 | .Break, |
| 1877 | .Avr5, | ||
| 1878 | }), | ||
| 1879 | CpuInfo(@This(), FeatureType).create(.Atmega644, "atmega644", &[_]FeatureType { | ||
| 1880 | .Lpm, | ||
| 1881 | .Movw, | ||
| 1913 | .Spm, | 1882 | .Spm, |
| 1914 | .Lpmx, | ||
| 1915 | .Avr0, | 1883 | .Avr0, |
| 1884 | .Sram, | ||
| 1916 | .Jmpcall, | 1885 | .Jmpcall, |
| 1917 | .Addsubiw, | 1886 | .Addsubiw, |
| 1918 | .Lpm, | ||
| 1919 | .Avr5, | ||
| 1920 | }, | ||
| 1921 | CpuInfo(@This()).create(.Atmega644pa, "atmega644pa", &[_]FeatureType { | ||
| 1922 | .Ijmpcall, | ||
| 1923 | .Movw, | ||
| 1924 | .Mul, | 1887 | .Mul, |
| 1925 | .Sram, | 1888 | .Lpmx, |
| 1889 | .Ijmpcall, | ||
| 1926 | .Break, | 1890 | .Break, |
| 1891 | .Avr5, | ||
| 1892 | }), | ||
| 1893 | CpuInfo(@This(), FeatureType).create(.Atmega644a, "atmega644a", &[_]FeatureType { | ||
| 1894 | .Lpm, | ||
| 1895 | .Movw, | ||
| 1927 | .Spm, | 1896 | .Spm, |
| 1928 | .Lpmx, | ||
| 1929 | .Avr0, | 1897 | .Avr0, |
| 1898 | .Sram, | ||
| 1930 | .Jmpcall, | 1899 | .Jmpcall, |
| 1931 | .Addsubiw, | 1900 | .Addsubiw, |
| 1932 | .Lpm, | ||
| 1933 | .Avr5, | ||
| 1934 | }, | ||
| 1935 | CpuInfo(@This()).create(.Atmega644rfr2, "atmega644rfr2", &[_]FeatureType { | ||
| 1936 | .Ijmpcall, | ||
| 1937 | .Movw, | ||
| 1938 | .Mul, | 1901 | .Mul, |
| 1939 | .Sram, | 1902 | .Lpmx, |
| 1903 | .Ijmpcall, | ||
| 1940 | .Break, | 1904 | .Break, |
| 1905 | .Avr5, | ||
| 1906 | }), | ||
| 1907 | CpuInfo(@This(), FeatureType).create(.Atmega644p, "atmega644p", &[_]FeatureType { | ||
| 1908 | .Lpm, | ||
| 1909 | .Movw, | ||
| 1941 | .Spm, | 1910 | .Spm, |
| 1942 | .Lpmx, | ||
| 1943 | .Avr0, | 1911 | .Avr0, |
| 1912 | .Sram, | ||
| 1944 | .Jmpcall, | 1913 | .Jmpcall, |
| 1945 | .Addsubiw, | 1914 | .Addsubiw, |
| 1946 | .Lpm, | ||
| 1947 | .Avr5, | ||
| 1948 | }, | ||
| 1949 | CpuInfo(@This()).create(.Atmega645, "atmega645", &[_]FeatureType { | ||
| 1950 | .Ijmpcall, | ||
| 1951 | .Movw, | ||
| 1952 | .Mul, | 1915 | .Mul, |
| 1953 | .Sram, | 1916 | .Lpmx, |
| 1917 | .Ijmpcall, | ||
| 1954 | .Break, | 1918 | .Break, |
| 1919 | .Avr5, | ||
| 1920 | }), | ||
| 1921 | CpuInfo(@This(), FeatureType).create(.Atmega644pa, "atmega644pa", &[_]FeatureType { | ||
| 1922 | .Lpm, | ||
| 1923 | .Movw, | ||
| 1955 | .Spm, | 1924 | .Spm, |
| 1956 | .Lpmx, | ||
| 1957 | .Avr0, | 1925 | .Avr0, |
| 1926 | .Sram, | ||
| 1958 | .Jmpcall, | 1927 | .Jmpcall, |
| 1959 | .Addsubiw, | 1928 | .Addsubiw, |
| 1960 | .Lpm, | ||
| 1961 | .Avr5, | ||
| 1962 | }, | ||
| 1963 | CpuInfo(@This()).create(.Atmega6450, "atmega6450", &[_]FeatureType { | ||
| 1964 | .Ijmpcall, | ||
| 1965 | .Movw, | ||
| 1966 | .Mul, | 1929 | .Mul, |
| 1967 | .Sram, | 1930 | .Lpmx, |
| 1931 | .Ijmpcall, | ||
| 1968 | .Break, | 1932 | .Break, |
| 1933 | .Avr5, | ||
| 1934 | }), | ||
| 1935 | CpuInfo(@This(), FeatureType).create(.Atmega644rfr2, "atmega644rfr2", &[_]FeatureType { | ||
| 1936 | .Lpm, | ||
| 1937 | .Movw, | ||
| 1969 | .Spm, | 1938 | .Spm, |
| 1970 | .Lpmx, | ||
| 1971 | .Avr0, | 1939 | .Avr0, |
| 1940 | .Sram, | ||
| 1972 | .Jmpcall, | 1941 | .Jmpcall, |
| 1973 | .Addsubiw, | 1942 | .Addsubiw, |
| 1974 | .Lpm, | ||
| 1975 | .Avr5, | ||
| 1976 | }, | ||
| 1977 | CpuInfo(@This()).create(.Atmega6450a, "atmega6450a", &[_]FeatureType { | ||
| 1978 | .Ijmpcall, | ||
| 1979 | .Movw, | ||
| 1980 | .Mul, | 1943 | .Mul, |
| 1981 | .Sram, | 1944 | .Lpmx, |
| 1945 | .Ijmpcall, | ||
| 1982 | .Break, | 1946 | .Break, |
| 1947 | .Avr5, | ||
| 1948 | }), | ||
| 1949 | CpuInfo(@This(), FeatureType).create(.Atmega645, "atmega645", &[_]FeatureType { | ||
| 1950 | .Lpm, | ||
| 1951 | .Movw, | ||
| 1983 | .Spm, | 1952 | .Spm, |
| 1984 | .Lpmx, | ||
| 1985 | .Avr0, | 1953 | .Avr0, |
| 1954 | .Sram, | ||
| 1986 | .Jmpcall, | 1955 | .Jmpcall, |
| 1987 | .Addsubiw, | 1956 | .Addsubiw, |
| 1988 | .Lpm, | ||
| 1989 | .Avr5, | ||
| 1990 | }, | ||
| 1991 | CpuInfo(@This()).create(.Atmega6450p, "atmega6450p", &[_]FeatureType { | ||
| 1992 | .Ijmpcall, | ||
| 1993 | .Movw, | ||
| 1994 | .Mul, | 1957 | .Mul, |
| 1995 | .Sram, | 1958 | .Lpmx, |
| 1959 | .Ijmpcall, | ||
| 1996 | .Break, | 1960 | .Break, |
| 1961 | .Avr5, | ||
| 1962 | }), | ||
| 1963 | CpuInfo(@This(), FeatureType).create(.Atmega6450, "atmega6450", &[_]FeatureType { | ||
| 1964 | .Lpm, | ||
| 1965 | .Movw, | ||
| 1997 | .Spm, | 1966 | .Spm, |
| 1998 | .Lpmx, | ||
| 1999 | .Avr0, | 1967 | .Avr0, |
| 1968 | .Sram, | ||
| 2000 | .Jmpcall, | 1969 | .Jmpcall, |
| 2001 | .Addsubiw, | 1970 | .Addsubiw, |
| 2002 | .Lpm, | ||
| 2003 | .Avr5, | ||
| 2004 | }, | ||
| 2005 | CpuInfo(@This()).create(.Atmega645a, "atmega645a", &[_]FeatureType { | ||
| 2006 | .Ijmpcall, | ||
| 2007 | .Movw, | ||
| 2008 | .Mul, | 1971 | .Mul, |
| 2009 | .Sram, | 1972 | .Lpmx, |
| 1973 | .Ijmpcall, | ||
| 2010 | .Break, | 1974 | .Break, |
| 1975 | .Avr5, | ||
| 1976 | }), | ||
| 1977 | CpuInfo(@This(), FeatureType).create(.Atmega6450a, "atmega6450a", &[_]FeatureType { | ||
| 1978 | .Lpm, | ||
| 1979 | .Movw, | ||
| 2011 | .Spm, | 1980 | .Spm, |
| 2012 | .Lpmx, | ||
| 2013 | .Avr0, | 1981 | .Avr0, |
| 1982 | .Sram, | ||
| 2014 | .Jmpcall, | 1983 | .Jmpcall, |
| 2015 | .Addsubiw, | 1984 | .Addsubiw, |
| 2016 | .Lpm, | ||
| 2017 | .Avr5, | ||
| 2018 | }, | ||
| 2019 | CpuInfo(@This()).create(.Atmega645p, "atmega645p", &[_]FeatureType { | ||
| 2020 | .Ijmpcall, | ||
| 2021 | .Movw, | ||
| 2022 | .Mul, | 1985 | .Mul, |
| 2023 | .Sram, | 1986 | .Lpmx, |
| 1987 | .Ijmpcall, | ||
| 2024 | .Break, | 1988 | .Break, |
| 1989 | .Avr5, | ||
| 1990 | }), | ||
| 1991 | CpuInfo(@This(), FeatureType).create(.Atmega6450p, "atmega6450p", &[_]FeatureType { | ||
| 1992 | .Lpm, | ||
| 1993 | .Movw, | ||
| 2025 | .Spm, | 1994 | .Spm, |
| 2026 | .Lpmx, | ||
| 2027 | .Avr0, | 1995 | .Avr0, |
| 1996 | .Sram, | ||
| 2028 | .Jmpcall, | 1997 | .Jmpcall, |
| 2029 | .Addsubiw, | 1998 | .Addsubiw, |
| 2030 | .Lpm, | ||
| 2031 | .Avr5, | ||
| 2032 | }, | ||
| 2033 | CpuInfo(@This()).create(.Atmega649, "atmega649", &[_]FeatureType { | ||
| 2034 | .Ijmpcall, | ||
| 2035 | .Movw, | ||
| 2036 | .Mul, | 1999 | .Mul, |
| 2037 | .Sram, | 2000 | .Lpmx, |
| 2001 | .Ijmpcall, | ||
| 2038 | .Break, | 2002 | .Break, |
| 2003 | .Avr5, | ||
| 2004 | }), | ||
| 2005 | CpuInfo(@This(), FeatureType).create(.Atmega645a, "atmega645a", &[_]FeatureType { | ||
| 2006 | .Lpm, | ||
| 2007 | .Movw, | ||
| 2039 | .Spm, | 2008 | .Spm, |
| 2040 | .Lpmx, | ||
| 2041 | .Avr0, | 2009 | .Avr0, |
| 2010 | .Sram, | ||
| 2042 | .Jmpcall, | 2011 | .Jmpcall, |
| 2043 | .Addsubiw, | 2012 | .Addsubiw, |
| 2044 | .Lpm, | ||
| 2045 | .Avr5, | ||
| 2046 | }, | ||
| 2047 | CpuInfo(@This()).create(.Atmega6490, "atmega6490", &[_]FeatureType { | ||
| 2048 | .Ijmpcall, | ||
| 2049 | .Movw, | ||
| 2050 | .Mul, | 2013 | .Mul, |
| 2051 | .Sram, | 2014 | .Lpmx, |
| 2015 | .Ijmpcall, | ||
| 2052 | .Break, | 2016 | .Break, |
| 2017 | .Avr5, | ||
| 2018 | }), | ||
| 2019 | CpuInfo(@This(), FeatureType).create(.Atmega645p, "atmega645p", &[_]FeatureType { | ||
| 2020 | .Lpm, | ||
| 2021 | .Movw, | ||
| 2053 | .Spm, | 2022 | .Spm, |
| 2054 | .Lpmx, | ||
| 2055 | .Avr0, | 2023 | .Avr0, |
| 2024 | .Sram, | ||
| 2056 | .Jmpcall, | 2025 | .Jmpcall, |
| 2057 | .Addsubiw, | 2026 | .Addsubiw, |
| 2058 | .Lpm, | ||
| 2059 | .Avr5, | ||
| 2060 | }, | ||
| 2061 | CpuInfo(@This()).create(.Atmega6490a, "atmega6490a", &[_]FeatureType { | ||
| 2062 | .Ijmpcall, | ||
| 2063 | .Movw, | ||
| 2064 | .Mul, | 2027 | .Mul, |
| 2065 | .Sram, | 2028 | .Lpmx, |
| 2029 | .Ijmpcall, | ||
| 2066 | .Break, | 2030 | .Break, |
| 2031 | .Avr5, | ||
| 2032 | }), | ||
| 2033 | CpuInfo(@This(), FeatureType).create(.Atmega649, "atmega649", &[_]FeatureType { | ||
| 2034 | .Lpm, | ||
| 2035 | .Movw, | ||
| 2067 | .Spm, | 2036 | .Spm, |
| 2068 | .Lpmx, | ||
| 2069 | .Avr0, | 2037 | .Avr0, |
| 2038 | .Sram, | ||
| 2070 | .Jmpcall, | 2039 | .Jmpcall, |
| 2071 | .Addsubiw, | 2040 | .Addsubiw, |
| 2072 | .Lpm, | ||
| 2073 | .Avr5, | ||
| 2074 | }, | ||
| 2075 | CpuInfo(@This()).create(.Atmega6490p, "atmega6490p", &[_]FeatureType { | ||
| 2076 | .Ijmpcall, | ||
| 2077 | .Movw, | ||
| 2078 | .Mul, | 2041 | .Mul, |
| 2079 | .Sram, | 2042 | .Lpmx, |
| 2043 | .Ijmpcall, | ||
| 2080 | .Break, | 2044 | .Break, |
| 2045 | .Avr5, | ||
| 2046 | }), | ||
| 2047 | CpuInfo(@This(), FeatureType).create(.Atmega6490, "atmega6490", &[_]FeatureType { | ||
| 2048 | .Lpm, | ||
| 2049 | .Movw, | ||
| 2081 | .Spm, | 2050 | .Spm, |
| 2082 | .Lpmx, | ||
| 2083 | .Avr0, | 2051 | .Avr0, |
| 2052 | .Sram, | ||
| 2084 | .Jmpcall, | 2053 | .Jmpcall, |
| 2085 | .Addsubiw, | 2054 | .Addsubiw, |
| 2086 | .Lpm, | ||
| 2087 | .Avr5, | ||
| 2088 | }, | ||
| 2089 | CpuInfo(@This()).create(.Atmega649a, "atmega649a", &[_]FeatureType { | ||
| 2090 | .Ijmpcall, | ||
| 2091 | .Movw, | ||
| 2092 | .Mul, | 2055 | .Mul, |
| 2093 | .Sram, | 2056 | .Lpmx, |
| 2057 | .Ijmpcall, | ||
| 2094 | .Break, | 2058 | .Break, |
| 2059 | .Avr5, | ||
| 2060 | }), | ||
| 2061 | CpuInfo(@This(), FeatureType).create(.Atmega6490a, "atmega6490a", &[_]FeatureType { | ||
| 2062 | .Lpm, | ||
| 2063 | .Movw, | ||
| 2095 | .Spm, | 2064 | .Spm, |
| 2096 | .Lpmx, | ||
| 2097 | .Avr0, | 2065 | .Avr0, |
| 2066 | .Sram, | ||
| 2098 | .Jmpcall, | 2067 | .Jmpcall, |
| 2099 | .Addsubiw, | 2068 | .Addsubiw, |
| 2100 | .Lpm, | ||
| 2101 | .Avr5, | ||
| 2102 | }, | ||
| 2103 | CpuInfo(@This()).create(.Atmega649p, "atmega649p", &[_]FeatureType { | ||
| 2104 | .Ijmpcall, | ||
| 2105 | .Movw, | ||
| 2106 | .Mul, | 2069 | .Mul, |
| 2107 | .Sram, | 2070 | .Lpmx, |
| 2071 | .Ijmpcall, | ||
| 2108 | .Break, | 2072 | .Break, |
| 2073 | .Avr5, | ||
| 2074 | }), | ||
| 2075 | CpuInfo(@This(), FeatureType).create(.Atmega6490p, "atmega6490p", &[_]FeatureType { | ||
| 2076 | .Lpm, | ||
| 2077 | .Movw, | ||
| 2109 | .Spm, | 2078 | .Spm, |
| 2110 | .Lpmx, | ||
| 2111 | .Avr0, | 2079 | .Avr0, |
| 2080 | .Sram, | ||
| 2112 | .Jmpcall, | 2081 | .Jmpcall, |
| 2113 | .Addsubiw, | 2082 | .Addsubiw, |
| 2114 | .Lpm, | ||
| 2115 | .Avr5, | ||
| 2116 | }, | ||
| 2117 | CpuInfo(@This()).create(.Atmega64a, "atmega64a", &[_]FeatureType { | ||
| 2118 | .Ijmpcall, | ||
| 2119 | .Movw, | ||
| 2120 | .Mul, | 2083 | .Mul, |
| 2121 | .Sram, | 2084 | .Lpmx, |
| 2085 | .Ijmpcall, | ||
| 2122 | .Break, | 2086 | .Break, |
| 2087 | .Avr5, | ||
| 2088 | }), | ||
| 2089 | CpuInfo(@This(), FeatureType).create(.Atmega649a, "atmega649a", &[_]FeatureType { | ||
| 2090 | .Lpm, | ||
| 2091 | .Movw, | ||
| 2123 | .Spm, | 2092 | .Spm, |
| 2124 | .Lpmx, | ||
| 2125 | .Avr0, | 2093 | .Avr0, |
| 2094 | .Sram, | ||
| 2126 | .Jmpcall, | 2095 | .Jmpcall, |
| 2127 | .Addsubiw, | 2096 | .Addsubiw, |
| 2128 | .Lpm, | ||
| 2129 | .Avr5, | ||
| 2130 | }, | ||
| 2131 | CpuInfo(@This()).create(.Atmega64c1, "atmega64c1", &[_]FeatureType { | ||
| 2132 | .Ijmpcall, | ||
| 2133 | .Movw, | ||
| 2134 | .Mul, | 2097 | .Mul, |
| 2135 | .Sram, | 2098 | .Lpmx, |
| 2099 | .Ijmpcall, | ||
| 2136 | .Break, | 2100 | .Break, |
| 2101 | .Avr5, | ||
| 2102 | }), | ||
| 2103 | CpuInfo(@This(), FeatureType).create(.Atmega649p, "atmega649p", &[_]FeatureType { | ||
| 2104 | .Lpm, | ||
| 2105 | .Movw, | ||
| 2137 | .Spm, | 2106 | .Spm, |
| 2138 | .Lpmx, | ||
| 2139 | .Avr0, | 2107 | .Avr0, |
| 2108 | .Sram, | ||
| 2140 | .Jmpcall, | 2109 | .Jmpcall, |
| 2141 | .Addsubiw, | 2110 | .Addsubiw, |
| 2142 | .Lpm, | ||
| 2143 | .Avr5, | ||
| 2144 | }, | ||
| 2145 | CpuInfo(@This()).create(.Atmega64hve, "atmega64hve", &[_]FeatureType { | ||
| 2146 | .Ijmpcall, | ||
| 2147 | .Movw, | ||
| 2148 | .Mul, | 2111 | .Mul, |
| 2149 | .Sram, | 2112 | .Lpmx, |
| 2113 | .Ijmpcall, | ||
| 2150 | .Break, | 2114 | .Break, |
| 2115 | .Avr5, | ||
| 2116 | }), | ||
| 2117 | CpuInfo(@This(), FeatureType).create(.Atmega64a, "atmega64a", &[_]FeatureType { | ||
| 2118 | .Lpm, | ||
| 2119 | .Movw, | ||
| 2151 | .Spm, | 2120 | .Spm, |
| 2152 | .Lpmx, | ||
| 2153 | .Avr0, | 2121 | .Avr0, |
| 2122 | .Sram, | ||
| 2154 | .Jmpcall, | 2123 | .Jmpcall, |
| 2155 | .Addsubiw, | 2124 | .Addsubiw, |
| 2156 | .Lpm, | ||
| 2157 | .Avr5, | ||
| 2158 | }, | ||
| 2159 | CpuInfo(@This()).create(.Atmega64m1, "atmega64m1", &[_]FeatureType { | ||
| 2160 | .Ijmpcall, | ||
| 2161 | .Movw, | ||
| 2162 | .Mul, | 2125 | .Mul, |
| 2163 | .Sram, | 2126 | .Lpmx, |
| 2127 | .Ijmpcall, | ||
| 2164 | .Break, | 2128 | .Break, |
| 2129 | .Avr5, | ||
| 2130 | }), | ||
| 2131 | CpuInfo(@This(), FeatureType).create(.Atmega64c1, "atmega64c1", &[_]FeatureType { | ||
| 2132 | .Lpm, | ||
| 2133 | .Movw, | ||
| 2165 | .Spm, | 2134 | .Spm, |
| 2166 | .Lpmx, | ||
| 2167 | .Avr0, | 2135 | .Avr0, |
| 2136 | .Sram, | ||
| 2168 | .Jmpcall, | 2137 | .Jmpcall, |
| 2169 | .Addsubiw, | 2138 | .Addsubiw, |
| 2170 | .Lpm, | 2139 | .Mul, |
| 2171 | .Avr5, | 2140 | .Lpmx, |
| 2172 | }, | ||
| 2173 | CpuInfo(@This()).create(.Atmega64rfr2, "atmega64rfr2", &[_]FeatureType { | ||
| 2174 | .Ijmpcall, | 2141 | .Ijmpcall, |
| 2142 | .Break, | ||
| 2143 | .Avr5, | ||
| 2144 | }), | ||
| 2145 | CpuInfo(@This(), FeatureType).create(.Atmega64hve, "atmega64hve", &[_]FeatureType { | ||
| 2146 | .Lpm, | ||
| 2175 | .Movw, | 2147 | .Movw, |
| 2176 | .Mul, | 2148 | .Spm, |
| 2149 | .Avr0, | ||
| 2177 | .Sram, | 2150 | .Sram, |
| 2151 | .Jmpcall, | ||
| 2152 | .Addsubiw, | ||
| 2153 | .Mul, | ||
| 2154 | .Lpmx, | ||
| 2155 | .Ijmpcall, | ||
| 2178 | .Break, | 2156 | .Break, |
| 2157 | .Avr5, | ||
| 2158 | }), | ||
| 2159 | CpuInfo(@This(), FeatureType).create(.Atmega64m1, "atmega64m1", &[_]FeatureType { | ||
| 2160 | .Lpm, | ||
| 2161 | .Movw, | ||
| 2179 | .Spm, | 2162 | .Spm, |
| 2180 | .Lpmx, | ||
| 2181 | .Avr0, | 2163 | .Avr0, |
| 2164 | .Sram, | ||
| 2182 | .Jmpcall, | 2165 | .Jmpcall, |
| 2183 | .Addsubiw, | 2166 | .Addsubiw, |
| 2184 | .Lpm, | 2167 | .Mul, |
| 2185 | .Avr5, | 2168 | .Lpmx, |
| 2186 | }, | ||
| 2187 | CpuInfo(@This()).create(.Atmega8, "atmega8", &[_]FeatureType { | ||
| 2188 | .Ijmpcall, | 2169 | .Ijmpcall, |
| 2170 | .Break, | ||
| 2171 | .Avr5, | ||
| 2172 | }), | ||
| 2173 | CpuInfo(@This(), FeatureType).create(.Atmega64rfr2, "atmega64rfr2", &[_]FeatureType { | ||
| 2174 | .Lpm, | ||
| 2189 | .Movw, | 2175 | .Movw, |
| 2190 | .Mul, | 2176 | .Spm, |
| 2177 | .Avr0, | ||
| 2191 | .Sram, | 2178 | .Sram, |
| 2179 | .Jmpcall, | ||
| 2180 | .Addsubiw, | ||
| 2181 | .Mul, | ||
| 2182 | .Lpmx, | ||
| 2183 | .Ijmpcall, | ||
| 2192 | .Break, | 2184 | .Break, |
| 2185 | .Avr5, | ||
| 2186 | }), | ||
| 2187 | CpuInfo(@This(), FeatureType).create(.Atmega8, "atmega8", &[_]FeatureType { | ||
| 2188 | .Lpm, | ||
| 2189 | .Movw, | ||
| 2193 | .Spm, | 2190 | .Spm, |
| 2194 | .Lpmx, | ||
| 2195 | .Avr0, | 2191 | .Avr0, |
| 2192 | .Sram, | ||
| 2196 | .Addsubiw, | 2193 | .Addsubiw, |
| 2197 | .Lpm, | 2194 | .Mul, |
| 2198 | .Avr4, | 2195 | .Lpmx, |
| 2199 | }, | ||
| 2200 | CpuInfo(@This()).create(.Atmega8515, "atmega8515", &[_]FeatureType { | ||
| 2201 | .Ijmpcall, | 2196 | .Ijmpcall, |
| 2202 | .Sram, | 2197 | .Break, |
| 2198 | .Avr4, | ||
| 2199 | }), | ||
| 2200 | CpuInfo(@This(), FeatureType).create(.Atmega8515, "atmega8515", &[_]FeatureType { | ||
| 2201 | .Lpm, | ||
| 2203 | .Avr0, | 2202 | .Avr0, |
| 2203 | .Sram, | ||
| 2204 | .Addsubiw, | 2204 | .Addsubiw, |
| 2205 | .Lpm, | 2205 | .Ijmpcall, |
| 2206 | .Avr2, | 2206 | .Avr2, |
| 2207 | .Lpmx, | 2207 | .Lpmx, |
| 2208 | .Movw, | 2208 | .Movw, |
| 2209 | .Mul, | 2209 | .Mul, |
| 2210 | .Spm, | 2210 | .Spm, |
| 2211 | }, | 2211 | }), |
| 2212 | CpuInfo(@This()).create(.Atmega8535, "atmega8535", &[_]FeatureType { | 2212 | CpuInfo(@This(), FeatureType).create(.Atmega8535, "atmega8535", &[_]FeatureType { |
| 2213 | .Ijmpcall, | 2213 | .Lpm, |
| 2214 | .Sram, | ||
| 2215 | .Avr0, | 2214 | .Avr0, |
| 2215 | .Sram, | ||
| 2216 | .Addsubiw, | 2216 | .Addsubiw, |
| 2217 | .Lpm, | 2217 | .Ijmpcall, |
| 2218 | .Avr2, | 2218 | .Avr2, |
| 2219 | .Lpmx, | 2219 | .Lpmx, |
| 2220 | .Movw, | 2220 | .Movw, |
| 2221 | .Mul, | 2221 | .Mul, |
| 2222 | .Spm, | 2222 | .Spm, |
| 2223 | }, | 2223 | }), |
| 2224 | CpuInfo(@This()).create(.Atmega88, "atmega88", &[_]FeatureType { | 2224 | CpuInfo(@This(), FeatureType).create(.Atmega88, "atmega88", &[_]FeatureType { |
| 2225 | .Ijmpcall, | 2225 | .Lpm, |
| 2226 | .Movw, | 2226 | .Movw, |
| 2227 | .Mul, | ||
| 2228 | .Sram, | ||
| 2229 | .Break, | ||
| 2230 | .Spm, | 2227 | .Spm, |
| 2231 | .Lpmx, | ||
| 2232 | .Avr0, | 2228 | .Avr0, |
| 2229 | .Sram, | ||
| 2233 | .Addsubiw, | 2230 | .Addsubiw, |
| 2234 | .Lpm, | ||
| 2235 | .Avr4, | ||
| 2236 | }, | ||
| 2237 | CpuInfo(@This()).create(.Atmega88a, "atmega88a", &[_]FeatureType { | ||
| 2238 | .Ijmpcall, | ||
| 2239 | .Movw, | ||
| 2240 | .Mul, | 2231 | .Mul, |
| 2241 | .Sram, | 2232 | .Lpmx, |
| 2233 | .Ijmpcall, | ||
| 2242 | .Break, | 2234 | .Break, |
| 2235 | .Avr4, | ||
| 2236 | }), | ||
| 2237 | CpuInfo(@This(), FeatureType).create(.Atmega88a, "atmega88a", &[_]FeatureType { | ||
| 2238 | .Lpm, | ||
| 2239 | .Movw, | ||
| 2243 | .Spm, | 2240 | .Spm, |
| 2244 | .Lpmx, | ||
| 2245 | .Avr0, | 2241 | .Avr0, |
| 2242 | .Sram, | ||
| 2246 | .Addsubiw, | 2243 | .Addsubiw, |
| 2247 | .Lpm, | ||
| 2248 | .Avr4, | ||
| 2249 | }, | ||
| 2250 | CpuInfo(@This()).create(.Atmega88p, "atmega88p", &[_]FeatureType { | ||
| 2251 | .Ijmpcall, | ||
| 2252 | .Movw, | ||
| 2253 | .Mul, | 2244 | .Mul, |
| 2254 | .Sram, | 2245 | .Lpmx, |
| 2246 | .Ijmpcall, | ||
| 2255 | .Break, | 2247 | .Break, |
| 2248 | .Avr4, | ||
| 2249 | }), | ||
| 2250 | CpuInfo(@This(), FeatureType).create(.Atmega88p, "atmega88p", &[_]FeatureType { | ||
| 2251 | .Lpm, | ||
| 2252 | .Movw, | ||
| 2256 | .Spm, | 2253 | .Spm, |
| 2257 | .Lpmx, | ||
| 2258 | .Avr0, | 2254 | .Avr0, |
| 2255 | .Sram, | ||
| 2259 | .Addsubiw, | 2256 | .Addsubiw, |
| 2260 | .Lpm, | ||
| 2261 | .Avr4, | ||
| 2262 | }, | ||
| 2263 | CpuInfo(@This()).create(.Atmega88pa, "atmega88pa", &[_]FeatureType { | ||
| 2264 | .Ijmpcall, | ||
| 2265 | .Movw, | ||
| 2266 | .Mul, | 2257 | .Mul, |
| 2267 | .Sram, | 2258 | .Lpmx, |
| 2259 | .Ijmpcall, | ||
| 2268 | .Break, | 2260 | .Break, |
| 2261 | .Avr4, | ||
| 2262 | }), | ||
| 2263 | CpuInfo(@This(), FeatureType).create(.Atmega88pa, "atmega88pa", &[_]FeatureType { | ||
| 2264 | .Lpm, | ||
| 2265 | .Movw, | ||
| 2269 | .Spm, | 2266 | .Spm, |
| 2270 | .Lpmx, | ||
| 2271 | .Avr0, | 2267 | .Avr0, |
| 2268 | .Sram, | ||
| 2272 | .Addsubiw, | 2269 | .Addsubiw, |
| 2273 | .Lpm, | ||
| 2274 | .Avr4, | ||
| 2275 | }, | ||
| 2276 | CpuInfo(@This()).create(.Atmega8a, "atmega8a", &[_]FeatureType { | ||
| 2277 | .Ijmpcall, | ||
| 2278 | .Movw, | ||
| 2279 | .Mul, | 2270 | .Mul, |
| 2280 | .Sram, | 2271 | .Lpmx, |
| 2272 | .Ijmpcall, | ||
| 2281 | .Break, | 2273 | .Break, |
| 2274 | .Avr4, | ||
| 2275 | }), | ||
| 2276 | CpuInfo(@This(), FeatureType).create(.Atmega8a, "atmega8a", &[_]FeatureType { | ||
| 2277 | .Lpm, | ||
| 2278 | .Movw, | ||
| 2282 | .Spm, | 2279 | .Spm, |
| 2283 | .Lpmx, | ||
| 2284 | .Avr0, | 2280 | .Avr0, |
| 2281 | .Sram, | ||
| 2285 | .Addsubiw, | 2282 | .Addsubiw, |
| 2286 | .Lpm, | ||
| 2287 | .Avr4, | ||
| 2288 | }, | ||
| 2289 | CpuInfo(@This()).create(.Atmega8hva, "atmega8hva", &[_]FeatureType { | ||
| 2290 | .Ijmpcall, | ||
| 2291 | .Movw, | ||
| 2292 | .Mul, | 2283 | .Mul, |
| 2293 | .Sram, | 2284 | .Lpmx, |
| 2285 | .Ijmpcall, | ||
| 2294 | .Break, | 2286 | .Break, |
| 2287 | .Avr4, | ||
| 2288 | }), | ||
| 2289 | CpuInfo(@This(), FeatureType).create(.Atmega8hva, "atmega8hva", &[_]FeatureType { | ||
| 2290 | .Lpm, | ||
| 2291 | .Movw, | ||
| 2295 | .Spm, | 2292 | .Spm, |
| 2296 | .Lpmx, | ||
| 2297 | .Avr0, | 2293 | .Avr0, |
| 2294 | .Sram, | ||
| 2298 | .Addsubiw, | 2295 | .Addsubiw, |
| 2299 | .Lpm, | 2296 | .Mul, |
| 2300 | .Avr4, | 2297 | .Lpmx, |
| 2301 | }, | ||
| 2302 | CpuInfo(@This()).create(.Atmega8u2, "atmega8u2", &[_]FeatureType { | ||
| 2303 | .Ijmpcall, | 2298 | .Ijmpcall, |
| 2304 | .Movw, | ||
| 2305 | .Sram, | ||
| 2306 | .Break, | 2299 | .Break, |
| 2300 | .Avr4, | ||
| 2301 | }), | ||
| 2302 | CpuInfo(@This(), FeatureType).create(.Atmega8u2, "atmega8u2", &[_]FeatureType { | ||
| 2303 | .Lpm, | ||
| 2304 | .Movw, | ||
| 2307 | .Spm, | 2305 | .Spm, |
| 2308 | .Lpmx, | ||
| 2309 | .Avr0, | 2306 | .Avr0, |
| 2307 | .Sram, | ||
| 2310 | .Jmpcall, | 2308 | .Jmpcall, |
| 2311 | .Addsubiw, | 2309 | .Addsubiw, |
| 2312 | .Lpm, | 2310 | .Lpmx, |
| 2313 | .Avr35, | 2311 | .Ijmpcall, |
| 2314 | }, | ||
| 2315 | CpuInfo(@This()).create(.Attiny10, "attiny10", &[_]FeatureType { | ||
| 2316 | .Break, | 2312 | .Break, |
| 2317 | .Tinyencoding, | 2313 | .Avr35, |
| 2314 | }), | ||
| 2315 | CpuInfo(@This(), FeatureType).create(.Attiny10, "attiny10", &[_]FeatureType { | ||
| 2318 | .Avr0, | 2316 | .Avr0, |
| 2319 | .Sram, | 2317 | .Sram, |
| 2320 | .Avrtiny, | ||
| 2321 | }, | ||
| 2322 | CpuInfo(@This()).create(.Attiny102, "attiny102", &[_]FeatureType { | ||
| 2323 | .Break, | 2318 | .Break, |
| 2324 | .Tinyencoding, | 2319 | .Tinyencoding, |
| 2320 | .Avrtiny, | ||
| 2321 | }), | ||
| 2322 | CpuInfo(@This(), FeatureType).create(.Attiny102, "attiny102", &[_]FeatureType { | ||
| 2325 | .Avr0, | 2323 | .Avr0, |
| 2326 | .Sram, | 2324 | .Sram, |
| 2327 | .Avrtiny, | ||
| 2328 | }, | ||
| 2329 | CpuInfo(@This()).create(.Attiny104, "attiny104", &[_]FeatureType { | ||
| 2330 | .Break, | 2325 | .Break, |
| 2331 | .Tinyencoding, | 2326 | .Tinyencoding, |
| 2327 | .Avrtiny, | ||
| 2328 | }), | ||
| 2329 | CpuInfo(@This(), FeatureType).create(.Attiny104, "attiny104", &[_]FeatureType { | ||
| 2332 | .Avr0, | 2330 | .Avr0, |
| 2333 | .Sram, | 2331 | .Sram, |
| 2332 | .Break, | ||
| 2333 | .Tinyencoding, | ||
| 2334 | .Avrtiny, | 2334 | .Avrtiny, |
| 2335 | }, | 2335 | }), |
| 2336 | CpuInfo(@This()).create(.Attiny11, "attiny11", &[_]FeatureType { | 2336 | CpuInfo(@This(), FeatureType).create(.Attiny11, "attiny11", &[_]FeatureType { |
| 2337 | .Lpm, | ||
| 2338 | .Avr0, | 2337 | .Avr0, |
| 2339 | .Avr1, | ||
| 2340 | }, | ||
| 2341 | CpuInfo(@This()).create(.Attiny12, "attiny12", &[_]FeatureType { | ||
| 2342 | .Lpm, | 2338 | .Lpm, |
| 2339 | .Avr1, | ||
| 2340 | }), | ||
| 2341 | CpuInfo(@This(), FeatureType).create(.Attiny12, "attiny12", &[_]FeatureType { | ||
| 2343 | .Avr0, | 2342 | .Avr0, |
| 2343 | .Lpm, | ||
| 2344 | .Avr1, | 2344 | .Avr1, |
| 2345 | }, | 2345 | }), |
| 2346 | CpuInfo(@This()).create(.Attiny13, "attiny13", &[_]FeatureType { | 2346 | CpuInfo(@This(), FeatureType).create(.Attiny13, "attiny13", &[_]FeatureType { |
| 2347 | .Ijmpcall, | 2347 | .Lpm, |
| 2348 | .Movw, | 2348 | .Movw, |
| 2349 | .Sram, | ||
| 2350 | .Break, | ||
| 2351 | .Spm, | 2349 | .Spm, |
| 2352 | .Lpmx, | ||
| 2353 | .Avr0, | 2350 | .Avr0, |
| 2351 | .Sram, | ||
| 2354 | .Addsubiw, | 2352 | .Addsubiw, |
| 2355 | .Lpm, | 2353 | .Lpmx, |
| 2356 | .Avr25, | ||
| 2357 | }, | ||
| 2358 | CpuInfo(@This()).create(.Attiny13a, "attiny13a", &[_]FeatureType { | ||
| 2359 | .Ijmpcall, | 2354 | .Ijmpcall, |
| 2360 | .Movw, | ||
| 2361 | .Sram, | ||
| 2362 | .Break, | 2355 | .Break, |
| 2356 | .Avr25, | ||
| 2357 | }), | ||
| 2358 | CpuInfo(@This(), FeatureType).create(.Attiny13a, "attiny13a", &[_]FeatureType { | ||
| 2359 | .Lpm, | ||
| 2360 | .Movw, | ||
| 2363 | .Spm, | 2361 | .Spm, |
| 2364 | .Lpmx, | ||
| 2365 | .Avr0, | 2362 | .Avr0, |
| 2363 | .Sram, | ||
| 2366 | .Addsubiw, | 2364 | .Addsubiw, |
| 2367 | .Lpm, | 2365 | .Lpmx, |
| 2366 | .Ijmpcall, | ||
| 2367 | .Break, | ||
| 2368 | .Avr25, | 2368 | .Avr25, |
| 2369 | }, | 2369 | }), |
| 2370 | CpuInfo(@This()).create(.Attiny15, "attiny15", &[_]FeatureType { | 2370 | CpuInfo(@This(), FeatureType).create(.Attiny15, "attiny15", &[_]FeatureType { |
| 2371 | .Lpm, | ||
| 2372 | .Avr0, | 2371 | .Avr0, |
| 2372 | .Lpm, | ||
| 2373 | .Avr1, | 2373 | .Avr1, |
| 2374 | }, | 2374 | }), |
| 2375 | CpuInfo(@This()).create(.Attiny1634, "attiny1634", &[_]FeatureType { | 2375 | CpuInfo(@This(), FeatureType).create(.Attiny1634, "attiny1634", &[_]FeatureType { |
| 2376 | .Ijmpcall, | 2376 | .Lpm, |
| 2377 | .Movw, | 2377 | .Movw, |
| 2378 | .Sram, | ||
| 2379 | .Break, | ||
| 2380 | .Spm, | 2378 | .Spm, |
| 2381 | .Lpmx, | ||
| 2382 | .Avr0, | 2379 | .Avr0, |
| 2380 | .Sram, | ||
| 2383 | .Jmpcall, | 2381 | .Jmpcall, |
| 2384 | .Addsubiw, | 2382 | .Addsubiw, |
| 2385 | .Lpm, | 2383 | .Lpmx, |
| 2386 | .Avr35, | ||
| 2387 | }, | ||
| 2388 | CpuInfo(@This()).create(.Attiny167, "attiny167", &[_]FeatureType { | ||
| 2389 | .Ijmpcall, | 2384 | .Ijmpcall, |
| 2390 | .Movw, | ||
| 2391 | .Sram, | ||
| 2392 | .Break, | 2385 | .Break, |
| 2386 | .Avr35, | ||
| 2387 | }), | ||
| 2388 | CpuInfo(@This(), FeatureType).create(.Attiny167, "attiny167", &[_]FeatureType { | ||
| 2389 | .Lpm, | ||
| 2390 | .Movw, | ||
| 2393 | .Spm, | 2391 | .Spm, |
| 2394 | .Lpmx, | ||
| 2395 | .Avr0, | 2392 | .Avr0, |
| 2393 | .Sram, | ||
| 2396 | .Jmpcall, | 2394 | .Jmpcall, |
| 2397 | .Addsubiw, | 2395 | .Addsubiw, |
| 2398 | .Lpm, | 2396 | .Lpmx, |
| 2399 | .Avr35, | 2397 | .Ijmpcall, |
| 2400 | }, | ||
| 2401 | CpuInfo(@This()).create(.Attiny20, "attiny20", &[_]FeatureType { | ||
| 2402 | .Break, | 2398 | .Break, |
| 2403 | .Tinyencoding, | 2399 | .Avr35, |
| 2400 | }), | ||
| 2401 | CpuInfo(@This(), FeatureType).create(.Attiny20, "attiny20", &[_]FeatureType { | ||
| 2404 | .Avr0, | 2402 | .Avr0, |
| 2405 | .Sram, | 2403 | .Sram, |
| 2404 | .Break, | ||
| 2405 | .Tinyencoding, | ||
| 2406 | .Avrtiny, | 2406 | .Avrtiny, |
| 2407 | }, | 2407 | }), |
| 2408 | CpuInfo(@This()).create(.Attiny22, "attiny22", &[_]FeatureType { | 2408 | CpuInfo(@This(), FeatureType).create(.Attiny22, "attiny22", &[_]FeatureType { |
| 2409 | .Ijmpcall, | 2409 | .Lpm, |
| 2410 | .Sram, | ||
| 2411 | .Avr0, | 2410 | .Avr0, |
| 2411 | .Sram, | ||
| 2412 | .Addsubiw, | 2412 | .Addsubiw, |
| 2413 | .Lpm, | ||
| 2414 | .Avr2, | ||
| 2415 | }, | ||
| 2416 | CpuInfo(@This()).create(.Attiny2313, "attiny2313", &[_]FeatureType { | ||
| 2417 | .Ijmpcall, | 2413 | .Ijmpcall, |
| 2414 | .Avr2, | ||
| 2415 | }), | ||
| 2416 | CpuInfo(@This(), FeatureType).create(.Attiny2313, "attiny2313", &[_]FeatureType { | ||
| 2417 | .Lpm, | ||
| 2418 | .Movw, | 2418 | .Movw, |
| 2419 | .Sram, | ||
| 2420 | .Break, | ||
| 2421 | .Spm, | 2419 | .Spm, |
| 2422 | .Lpmx, | ||
| 2423 | .Avr0, | 2420 | .Avr0, |
| 2421 | .Sram, | ||
| 2424 | .Addsubiw, | 2422 | .Addsubiw, |
| 2425 | .Lpm, | 2423 | .Lpmx, |
| 2426 | .Avr25, | ||
| 2427 | }, | ||
| 2428 | CpuInfo(@This()).create(.Attiny2313a, "attiny2313a", &[_]FeatureType { | ||
| 2429 | .Ijmpcall, | 2424 | .Ijmpcall, |
| 2430 | .Movw, | ||
| 2431 | .Sram, | ||
| 2432 | .Break, | 2425 | .Break, |
| 2426 | .Avr25, | ||
| 2427 | }), | ||
| 2428 | CpuInfo(@This(), FeatureType).create(.Attiny2313a, "attiny2313a", &[_]FeatureType { | ||
| 2429 | .Lpm, | ||
| 2430 | .Movw, | ||
| 2433 | .Spm, | 2431 | .Spm, |
| 2434 | .Lpmx, | ||
| 2435 | .Avr0, | 2432 | .Avr0, |
| 2433 | .Sram, | ||
| 2436 | .Addsubiw, | 2434 | .Addsubiw, |
| 2437 | .Lpm, | 2435 | .Lpmx, |
| 2438 | .Avr25, | ||
| 2439 | }, | ||
| 2440 | CpuInfo(@This()).create(.Attiny24, "attiny24", &[_]FeatureType { | ||
| 2441 | .Ijmpcall, | 2436 | .Ijmpcall, |
| 2442 | .Movw, | ||
| 2443 | .Sram, | ||
| 2444 | .Break, | 2437 | .Break, |
| 2438 | .Avr25, | ||
| 2439 | }), | ||
| 2440 | CpuInfo(@This(), FeatureType).create(.Attiny24, "attiny24", &[_]FeatureType { | ||
| 2441 | .Lpm, | ||
| 2442 | .Movw, | ||
| 2445 | .Spm, | 2443 | .Spm, |
| 2446 | .Lpmx, | ||
| 2447 | .Avr0, | 2444 | .Avr0, |
| 2445 | .Sram, | ||
| 2448 | .Addsubiw, | 2446 | .Addsubiw, |
| 2449 | .Lpm, | 2447 | .Lpmx, |
| 2450 | .Avr25, | ||
| 2451 | }, | ||
| 2452 | CpuInfo(@This()).create(.Attiny24a, "attiny24a", &[_]FeatureType { | ||
| 2453 | .Ijmpcall, | 2448 | .Ijmpcall, |
| 2454 | .Movw, | ||
| 2455 | .Sram, | ||
| 2456 | .Break, | 2449 | .Break, |
| 2450 | .Avr25, | ||
| 2451 | }), | ||
| 2452 | CpuInfo(@This(), FeatureType).create(.Attiny24a, "attiny24a", &[_]FeatureType { | ||
| 2453 | .Lpm, | ||
| 2454 | .Movw, | ||
| 2457 | .Spm, | 2455 | .Spm, |
| 2458 | .Lpmx, | ||
| 2459 | .Avr0, | 2456 | .Avr0, |
| 2457 | .Sram, | ||
| 2460 | .Addsubiw, | 2458 | .Addsubiw, |
| 2461 | .Lpm, | 2459 | .Lpmx, |
| 2462 | .Avr25, | ||
| 2463 | }, | ||
| 2464 | CpuInfo(@This()).create(.Attiny25, "attiny25", &[_]FeatureType { | ||
| 2465 | .Ijmpcall, | 2460 | .Ijmpcall, |
| 2466 | .Movw, | ||
| 2467 | .Sram, | ||
| 2468 | .Break, | 2461 | .Break, |
| 2462 | .Avr25, | ||
| 2463 | }), | ||
| 2464 | CpuInfo(@This(), FeatureType).create(.Attiny25, "attiny25", &[_]FeatureType { | ||
| 2465 | .Lpm, | ||
| 2466 | .Movw, | ||
| 2469 | .Spm, | 2467 | .Spm, |
| 2470 | .Lpmx, | ||
| 2471 | .Avr0, | 2468 | .Avr0, |
| 2469 | .Sram, | ||
| 2472 | .Addsubiw, | 2470 | .Addsubiw, |
| 2473 | .Lpm, | 2471 | .Lpmx, |
| 2474 | .Avr25, | ||
| 2475 | }, | ||
| 2476 | CpuInfo(@This()).create(.Attiny26, "attiny26", &[_]FeatureType { | ||
| 2477 | .Ijmpcall, | 2472 | .Ijmpcall, |
| 2478 | .Sram, | 2473 | .Break, |
| 2474 | .Avr25, | ||
| 2475 | }), | ||
| 2476 | CpuInfo(@This(), FeatureType).create(.Attiny26, "attiny26", &[_]FeatureType { | ||
| 2477 | .Lpm, | ||
| 2479 | .Avr0, | 2478 | .Avr0, |
| 2479 | .Sram, | ||
| 2480 | .Addsubiw, | 2480 | .Addsubiw, |
| 2481 | .Lpm, | 2481 | .Ijmpcall, |
| 2482 | .Avr2, | 2482 | .Avr2, |
| 2483 | .Lpmx, | 2483 | .Lpmx, |
| 2484 | }, | 2484 | }), |
| 2485 | CpuInfo(@This()).create(.Attiny261, "attiny261", &[_]FeatureType { | 2485 | CpuInfo(@This(), FeatureType).create(.Attiny261, "attiny261", &[_]FeatureType { |
| 2486 | .Ijmpcall, | 2486 | .Lpm, |
| 2487 | .Movw, | 2487 | .Movw, |
| 2488 | .Sram, | ||
| 2489 | .Break, | ||
| 2490 | .Spm, | 2488 | .Spm, |
| 2491 | .Lpmx, | ||
| 2492 | .Avr0, | 2489 | .Avr0, |
| 2490 | .Sram, | ||
| 2493 | .Addsubiw, | 2491 | .Addsubiw, |
| 2494 | .Lpm, | 2492 | .Lpmx, |
| 2495 | .Avr25, | ||
| 2496 | }, | ||
| 2497 | CpuInfo(@This()).create(.Attiny261a, "attiny261a", &[_]FeatureType { | ||
| 2498 | .Ijmpcall, | 2493 | .Ijmpcall, |
| 2499 | .Movw, | ||
| 2500 | .Sram, | ||
| 2501 | .Break, | 2494 | .Break, |
| 2495 | .Avr25, | ||
| 2496 | }), | ||
| 2497 | CpuInfo(@This(), FeatureType).create(.Attiny261a, "attiny261a", &[_]FeatureType { | ||
| 2498 | .Lpm, | ||
| 2499 | .Movw, | ||
| 2502 | .Spm, | 2500 | .Spm, |
| 2503 | .Lpmx, | ||
| 2504 | .Avr0, | 2501 | .Avr0, |
| 2502 | .Sram, | ||
| 2505 | .Addsubiw, | 2503 | .Addsubiw, |
| 2506 | .Lpm, | 2504 | .Lpmx, |
| 2505 | .Ijmpcall, | ||
| 2506 | .Break, | ||
| 2507 | .Avr25, | 2507 | .Avr25, |
| 2508 | }, | 2508 | }), |
| 2509 | CpuInfo(@This()).create(.Attiny28, "attiny28", &[_]FeatureType { | 2509 | CpuInfo(@This(), FeatureType).create(.Attiny28, "attiny28", &[_]FeatureType { |
| 2510 | .Lpm, | ||
| 2511 | .Avr0, | 2510 | .Avr0, |
| 2511 | .Lpm, | ||
| 2512 | .Avr1, | 2512 | .Avr1, |
| 2513 | }, | 2513 | }), |
| 2514 | CpuInfo(@This()).create(.Attiny4, "attiny4", &[_]FeatureType { | 2514 | CpuInfo(@This(), FeatureType).create(.Attiny4, "attiny4", &[_]FeatureType { |
| 2515 | .Break, | ||
| 2516 | .Tinyencoding, | ||
| 2517 | .Avr0, | 2515 | .Avr0, |
| 2518 | .Sram, | 2516 | .Sram, |
| 2519 | .Avrtiny, | ||
| 2520 | }, | ||
| 2521 | CpuInfo(@This()).create(.Attiny40, "attiny40", &[_]FeatureType { | ||
| 2522 | .Break, | 2517 | .Break, |
| 2523 | .Tinyencoding, | 2518 | .Tinyencoding, |
| 2519 | .Avrtiny, | ||
| 2520 | }), | ||
| 2521 | CpuInfo(@This(), FeatureType).create(.Attiny40, "attiny40", &[_]FeatureType { | ||
| 2524 | .Avr0, | 2522 | .Avr0, |
| 2525 | .Sram, | 2523 | .Sram, |
| 2524 | .Break, | ||
| 2525 | .Tinyencoding, | ||
| 2526 | .Avrtiny, | 2526 | .Avrtiny, |
| 2527 | }, | 2527 | }), |
| 2528 | CpuInfo(@This()).create(.Attiny4313, "attiny4313", &[_]FeatureType { | 2528 | CpuInfo(@This(), FeatureType).create(.Attiny4313, "attiny4313", &[_]FeatureType { |
| 2529 | .Ijmpcall, | 2529 | .Lpm, |
| 2530 | .Movw, | 2530 | .Movw, |
| 2531 | .Sram, | ||
| 2532 | .Break, | ||
| 2533 | .Spm, | 2531 | .Spm, |
| 2534 | .Lpmx, | ||
| 2535 | .Avr0, | 2532 | .Avr0, |
| 2533 | .Sram, | ||
| 2536 | .Addsubiw, | 2534 | .Addsubiw, |
| 2537 | .Lpm, | 2535 | .Lpmx, |
| 2538 | .Avr25, | ||
| 2539 | }, | ||
| 2540 | CpuInfo(@This()).create(.Attiny43u, "attiny43u", &[_]FeatureType { | ||
| 2541 | .Ijmpcall, | 2536 | .Ijmpcall, |
| 2542 | .Movw, | ||
| 2543 | .Sram, | ||
| 2544 | .Break, | 2537 | .Break, |
| 2538 | .Avr25, | ||
| 2539 | }), | ||
| 2540 | CpuInfo(@This(), FeatureType).create(.Attiny43u, "attiny43u", &[_]FeatureType { | ||
| 2541 | .Lpm, | ||
| 2542 | .Movw, | ||
| 2545 | .Spm, | 2543 | .Spm, |
| 2546 | .Lpmx, | ||
| 2547 | .Avr0, | 2544 | .Avr0, |
| 2545 | .Sram, | ||
| 2548 | .Addsubiw, | 2546 | .Addsubiw, |
| 2549 | .Lpm, | 2547 | .Lpmx, |
| 2550 | .Avr25, | ||
| 2551 | }, | ||
| 2552 | CpuInfo(@This()).create(.Attiny44, "attiny44", &[_]FeatureType { | ||
| 2553 | .Ijmpcall, | 2548 | .Ijmpcall, |
| 2554 | .Movw, | ||
| 2555 | .Sram, | ||
| 2556 | .Break, | 2549 | .Break, |
| 2550 | .Avr25, | ||
| 2551 | }), | ||
| 2552 | CpuInfo(@This(), FeatureType).create(.Attiny44, "attiny44", &[_]FeatureType { | ||
| 2553 | .Lpm, | ||
| 2554 | .Movw, | ||
| 2557 | .Spm, | 2555 | .Spm, |
| 2558 | .Lpmx, | ||
| 2559 | .Avr0, | 2556 | .Avr0, |
| 2557 | .Sram, | ||
| 2560 | .Addsubiw, | 2558 | .Addsubiw, |
| 2561 | .Lpm, | 2559 | .Lpmx, |
| 2562 | .Avr25, | ||
| 2563 | }, | ||
| 2564 | CpuInfo(@This()).create(.Attiny44a, "attiny44a", &[_]FeatureType { | ||
| 2565 | .Ijmpcall, | 2560 | .Ijmpcall, |
| 2566 | .Movw, | ||
| 2567 | .Sram, | ||
| 2568 | .Break, | 2561 | .Break, |
| 2562 | .Avr25, | ||
| 2563 | }), | ||
| 2564 | CpuInfo(@This(), FeatureType).create(.Attiny44a, "attiny44a", &[_]FeatureType { | ||
| 2565 | .Lpm, | ||
| 2566 | .Movw, | ||
| 2569 | .Spm, | 2567 | .Spm, |
| 2570 | .Lpmx, | ||
| 2571 | .Avr0, | 2568 | .Avr0, |
| 2569 | .Sram, | ||
| 2572 | .Addsubiw, | 2570 | .Addsubiw, |
| 2573 | .Lpm, | 2571 | .Lpmx, |
| 2574 | .Avr25, | ||
| 2575 | }, | ||
| 2576 | CpuInfo(@This()).create(.Attiny45, "attiny45", &[_]FeatureType { | ||
| 2577 | .Ijmpcall, | 2572 | .Ijmpcall, |
| 2578 | .Movw, | ||
| 2579 | .Sram, | ||
| 2580 | .Break, | 2573 | .Break, |
| 2574 | .Avr25, | ||
| 2575 | }), | ||
| 2576 | CpuInfo(@This(), FeatureType).create(.Attiny45, "attiny45", &[_]FeatureType { | ||
| 2577 | .Lpm, | ||
| 2578 | .Movw, | ||
| 2581 | .Spm, | 2579 | .Spm, |
| 2582 | .Lpmx, | ||
| 2583 | .Avr0, | 2580 | .Avr0, |
| 2581 | .Sram, | ||
| 2584 | .Addsubiw, | 2582 | .Addsubiw, |
| 2585 | .Lpm, | 2583 | .Lpmx, |
| 2586 | .Avr25, | ||
| 2587 | }, | ||
| 2588 | CpuInfo(@This()).create(.Attiny461, "attiny461", &[_]FeatureType { | ||
| 2589 | .Ijmpcall, | 2584 | .Ijmpcall, |
| 2590 | .Movw, | ||
| 2591 | .Sram, | ||
| 2592 | .Break, | 2585 | .Break, |
| 2586 | .Avr25, | ||
| 2587 | }), | ||
| 2588 | CpuInfo(@This(), FeatureType).create(.Attiny461, "attiny461", &[_]FeatureType { | ||
| 2589 | .Lpm, | ||
| 2590 | .Movw, | ||
| 2593 | .Spm, | 2591 | .Spm, |
| 2594 | .Lpmx, | ||
| 2595 | .Avr0, | 2592 | .Avr0, |
| 2593 | .Sram, | ||
| 2596 | .Addsubiw, | 2594 | .Addsubiw, |
| 2597 | .Lpm, | 2595 | .Lpmx, |
| 2598 | .Avr25, | ||
| 2599 | }, | ||
| 2600 | CpuInfo(@This()).create(.Attiny461a, "attiny461a", &[_]FeatureType { | ||
| 2601 | .Ijmpcall, | 2596 | .Ijmpcall, |
| 2602 | .Movw, | ||
| 2603 | .Sram, | ||
| 2604 | .Break, | 2597 | .Break, |
| 2598 | .Avr25, | ||
| 2599 | }), | ||
| 2600 | CpuInfo(@This(), FeatureType).create(.Attiny461a, "attiny461a", &[_]FeatureType { | ||
| 2601 | .Lpm, | ||
| 2602 | .Movw, | ||
| 2605 | .Spm, | 2603 | .Spm, |
| 2606 | .Lpmx, | ||
| 2607 | .Avr0, | 2604 | .Avr0, |
| 2605 | .Sram, | ||
| 2608 | .Addsubiw, | 2606 | .Addsubiw, |
| 2609 | .Lpm, | 2607 | .Lpmx, |
| 2610 | .Avr25, | ||
| 2611 | }, | ||
| 2612 | CpuInfo(@This()).create(.Attiny48, "attiny48", &[_]FeatureType { | ||
| 2613 | .Ijmpcall, | 2608 | .Ijmpcall, |
| 2614 | .Movw, | ||
| 2615 | .Sram, | ||
| 2616 | .Break, | 2609 | .Break, |
| 2610 | .Avr25, | ||
| 2611 | }), | ||
| 2612 | CpuInfo(@This(), FeatureType).create(.Attiny48, "attiny48", &[_]FeatureType { | ||
| 2613 | .Lpm, | ||
| 2614 | .Movw, | ||
| 2617 | .Spm, | 2615 | .Spm, |
| 2618 | .Lpmx, | ||
| 2619 | .Avr0, | 2616 | .Avr0, |
| 2617 | .Sram, | ||
| 2620 | .Addsubiw, | 2618 | .Addsubiw, |
| 2621 | .Lpm, | 2619 | .Lpmx, |
| 2622 | .Avr25, | 2620 | .Ijmpcall, |
| 2623 | }, | ||
| 2624 | CpuInfo(@This()).create(.Attiny5, "attiny5", &[_]FeatureType { | ||
| 2625 | .Break, | 2621 | .Break, |
| 2626 | .Tinyencoding, | 2622 | .Avr25, |
| 2623 | }), | ||
| 2624 | CpuInfo(@This(), FeatureType).create(.Attiny5, "attiny5", &[_]FeatureType { | ||
| 2627 | .Avr0, | 2625 | .Avr0, |
| 2628 | .Sram, | 2626 | .Sram, |
| 2627 | .Break, | ||
| 2628 | .Tinyencoding, | ||
| 2629 | .Avrtiny, | 2629 | .Avrtiny, |
| 2630 | }, | 2630 | }), |
| 2631 | CpuInfo(@This()).create(.Attiny828, "attiny828", &[_]FeatureType { | 2631 | CpuInfo(@This(), FeatureType).create(.Attiny828, "attiny828", &[_]FeatureType { |
| 2632 | .Ijmpcall, | 2632 | .Lpm, |
| 2633 | .Movw, | 2633 | .Movw, |
| 2634 | .Sram, | ||
| 2635 | .Break, | ||
| 2636 | .Spm, | 2634 | .Spm, |
| 2637 | .Lpmx, | ||
| 2638 | .Avr0, | 2635 | .Avr0, |
| 2636 | .Sram, | ||
| 2639 | .Addsubiw, | 2637 | .Addsubiw, |
| 2640 | .Lpm, | 2638 | .Lpmx, |
| 2641 | .Avr25, | ||
| 2642 | }, | ||
| 2643 | CpuInfo(@This()).create(.Attiny84, "attiny84", &[_]FeatureType { | ||
| 2644 | .Ijmpcall, | 2639 | .Ijmpcall, |
| 2645 | .Movw, | ||
| 2646 | .Sram, | ||
| 2647 | .Break, | 2640 | .Break, |
| 2641 | .Avr25, | ||
| 2642 | }), | ||
| 2643 | CpuInfo(@This(), FeatureType).create(.Attiny84, "attiny84", &[_]FeatureType { | ||
| 2644 | .Lpm, | ||
| 2645 | .Movw, | ||
| 2648 | .Spm, | 2646 | .Spm, |
| 2649 | .Lpmx, | ||
| 2650 | .Avr0, | 2647 | .Avr0, |
| 2648 | .Sram, | ||
| 2651 | .Addsubiw, | 2649 | .Addsubiw, |
| 2652 | .Lpm, | 2650 | .Lpmx, |
| 2653 | .Avr25, | ||
| 2654 | }, | ||
| 2655 | CpuInfo(@This()).create(.Attiny84a, "attiny84a", &[_]FeatureType { | ||
| 2656 | .Ijmpcall, | 2651 | .Ijmpcall, |
| 2657 | .Movw, | ||
| 2658 | .Sram, | ||
| 2659 | .Break, | 2652 | .Break, |
| 2653 | .Avr25, | ||
| 2654 | }), | ||
| 2655 | CpuInfo(@This(), FeatureType).create(.Attiny84a, "attiny84a", &[_]FeatureType { | ||
| 2656 | .Lpm, | ||
| 2657 | .Movw, | ||
| 2660 | .Spm, | 2658 | .Spm, |
| 2661 | .Lpmx, | ||
| 2662 | .Avr0, | 2659 | .Avr0, |
| 2660 | .Sram, | ||
| 2663 | .Addsubiw, | 2661 | .Addsubiw, |
| 2664 | .Lpm, | 2662 | .Lpmx, |
| 2665 | .Avr25, | ||
| 2666 | }, | ||
| 2667 | CpuInfo(@This()).create(.Attiny85, "attiny85", &[_]FeatureType { | ||
| 2668 | .Ijmpcall, | 2663 | .Ijmpcall, |
| 2669 | .Movw, | ||
| 2670 | .Sram, | ||
| 2671 | .Break, | 2664 | .Break, |
| 2665 | .Avr25, | ||
| 2666 | }), | ||
| 2667 | CpuInfo(@This(), FeatureType).create(.Attiny85, "attiny85", &[_]FeatureType { | ||
| 2668 | .Lpm, | ||
| 2669 | .Movw, | ||
| 2672 | .Spm, | 2670 | .Spm, |
| 2673 | .Lpmx, | ||
| 2674 | .Avr0, | 2671 | .Avr0, |
| 2672 | .Sram, | ||
| 2675 | .Addsubiw, | 2673 | .Addsubiw, |
| 2676 | .Lpm, | 2674 | .Lpmx, |
| 2677 | .Avr25, | ||
| 2678 | }, | ||
| 2679 | CpuInfo(@This()).create(.Attiny861, "attiny861", &[_]FeatureType { | ||
| 2680 | .Ijmpcall, | 2675 | .Ijmpcall, |
| 2681 | .Movw, | ||
| 2682 | .Sram, | ||
| 2683 | .Break, | 2676 | .Break, |
| 2677 | .Avr25, | ||
| 2678 | }), | ||
| 2679 | CpuInfo(@This(), FeatureType).create(.Attiny861, "attiny861", &[_]FeatureType { | ||
| 2680 | .Lpm, | ||
| 2681 | .Movw, | ||
| 2684 | .Spm, | 2682 | .Spm, |
| 2685 | .Lpmx, | ||
| 2686 | .Avr0, | 2683 | .Avr0, |
| 2684 | .Sram, | ||
| 2687 | .Addsubiw, | 2685 | .Addsubiw, |
| 2688 | .Lpm, | 2686 | .Lpmx, |
| 2689 | .Avr25, | ||
| 2690 | }, | ||
| 2691 | CpuInfo(@This()).create(.Attiny861a, "attiny861a", &[_]FeatureType { | ||
| 2692 | .Ijmpcall, | 2687 | .Ijmpcall, |
| 2693 | .Movw, | ||
| 2694 | .Sram, | ||
| 2695 | .Break, | 2688 | .Break, |
| 2689 | .Avr25, | ||
| 2690 | }), | ||
| 2691 | CpuInfo(@This(), FeatureType).create(.Attiny861a, "attiny861a", &[_]FeatureType { | ||
| 2692 | .Lpm, | ||
| 2693 | .Movw, | ||
| 2696 | .Spm, | 2694 | .Spm, |
| 2697 | .Lpmx, | ||
| 2698 | .Avr0, | 2695 | .Avr0, |
| 2696 | .Sram, | ||
| 2699 | .Addsubiw, | 2697 | .Addsubiw, |
| 2700 | .Lpm, | 2698 | .Lpmx, |
| 2701 | .Avr25, | ||
| 2702 | }, | ||
| 2703 | CpuInfo(@This()).create(.Attiny87, "attiny87", &[_]FeatureType { | ||
| 2704 | .Ijmpcall, | 2699 | .Ijmpcall, |
| 2705 | .Movw, | ||
| 2706 | .Sram, | ||
| 2707 | .Break, | 2700 | .Break, |
| 2701 | .Avr25, | ||
| 2702 | }), | ||
| 2703 | CpuInfo(@This(), FeatureType).create(.Attiny87, "attiny87", &[_]FeatureType { | ||
| 2704 | .Lpm, | ||
| 2705 | .Movw, | ||
| 2708 | .Spm, | 2706 | .Spm, |
| 2709 | .Lpmx, | ||
| 2710 | .Avr0, | 2707 | .Avr0, |
| 2708 | .Sram, | ||
| 2711 | .Addsubiw, | 2709 | .Addsubiw, |
| 2712 | .Lpm, | 2710 | .Lpmx, |
| 2713 | .Avr25, | ||
| 2714 | }, | ||
| 2715 | CpuInfo(@This()).create(.Attiny88, "attiny88", &[_]FeatureType { | ||
| 2716 | .Ijmpcall, | 2711 | .Ijmpcall, |
| 2717 | .Movw, | ||
| 2718 | .Sram, | ||
| 2719 | .Break, | 2712 | .Break, |
| 2713 | .Avr25, | ||
| 2714 | }), | ||
| 2715 | CpuInfo(@This(), FeatureType).create(.Attiny88, "attiny88", &[_]FeatureType { | ||
| 2716 | .Lpm, | ||
| 2717 | .Movw, | ||
| 2720 | .Spm, | 2718 | .Spm, |
| 2721 | .Lpmx, | ||
| 2722 | .Avr0, | 2719 | .Avr0, |
| 2720 | .Sram, | ||
| 2723 | .Addsubiw, | 2721 | .Addsubiw, |
| 2724 | .Lpm, | 2722 | .Lpmx, |
| 2725 | .Avr25, | 2723 | .Ijmpcall, |
| 2726 | }, | ||
| 2727 | CpuInfo(@This()).create(.Attiny9, "attiny9", &[_]FeatureType { | ||
| 2728 | .Break, | 2724 | .Break, |
| 2729 | .Tinyencoding, | 2725 | .Avr25, |
| 2726 | }), | ||
| 2727 | CpuInfo(@This(), FeatureType).create(.Attiny9, "attiny9", &[_]FeatureType { | ||
| 2730 | .Avr0, | 2728 | .Avr0, |
| 2731 | .Sram, | 2729 | .Sram, |
| 2730 | .Break, | ||
| 2731 | .Tinyencoding, | ||
| 2732 | .Avrtiny, | 2732 | .Avrtiny, |
| 2733 | }, | 2733 | }), |
| 2734 | CpuInfo(@This()).create(.Atxmega128a1, "atxmega128a1", &[_]FeatureType { | 2734 | CpuInfo(@This(), FeatureType).create(.Atxmega128a1, "atxmega128a1", &[_]FeatureType { |
| 2735 | .Ijmpcall, | 2735 | .Lpm, |
| 2736 | .Elpmx, | 2736 | .Elpm, |
| 2737 | .Movw, | 2737 | .Movw, |
| 2738 | .Eijmpcall, | 2738 | .Elpmx, |
| 2739 | .Mul, | ||
| 2740 | .Sram, | ||
| 2741 | .Break, | ||
| 2742 | .Spm, | 2739 | .Spm, |
| 2743 | .Elpm, | ||
| 2744 | .Lpmx, | ||
| 2745 | .Spmx, | ||
| 2746 | .Avr0, | 2740 | .Avr0, |
| 2741 | .Sram, | ||
| 2747 | .Jmpcall, | 2742 | .Jmpcall, |
| 2743 | .Eijmpcall, | ||
| 2744 | .Spmx, | ||
| 2748 | .Addsubiw, | 2745 | .Addsubiw, |
| 2749 | .Lpm, | 2746 | .Mul, |
| 2747 | .Lpmx, | ||
| 2750 | .Des, | 2748 | .Des, |
| 2751 | .Xmega, | ||
| 2752 | }, | ||
| 2753 | CpuInfo(@This()).create(.Atxmega128a1u, "atxmega128a1u", &[_]FeatureType { | ||
| 2754 | .Ijmpcall, | 2749 | .Ijmpcall, |
| 2755 | .Elpmx, | ||
| 2756 | .Movw, | ||
| 2757 | .Eijmpcall, | ||
| 2758 | .Mul, | ||
| 2759 | .Rmw, | ||
| 2760 | .Sram, | ||
| 2761 | .Break, | 2750 | .Break, |
| 2762 | .Spm, | 2751 | .Xmega, |
| 2752 | }), | ||
| 2753 | CpuInfo(@This(), FeatureType).create(.Atxmega128a1u, "atxmega128a1u", &[_]FeatureType { | ||
| 2754 | .Lpm, | ||
| 2763 | .Elpm, | 2755 | .Elpm, |
| 2764 | .Lpmx, | 2756 | .Movw, |
| 2765 | .Spmx, | 2757 | .Elpmx, |
| 2758 | .Spm, | ||
| 2766 | .Avr0, | 2759 | .Avr0, |
| 2760 | .Sram, | ||
| 2767 | .Jmpcall, | 2761 | .Jmpcall, |
| 2762 | .Eijmpcall, | ||
| 2763 | .Spmx, | ||
| 2768 | .Addsubiw, | 2764 | .Addsubiw, |
| 2769 | .Lpm, | 2765 | .Mul, |
| 2766 | .Lpmx, | ||
| 2767 | .Rmw, | ||
| 2770 | .Des, | 2768 | .Des, |
| 2771 | .Xmegau, | ||
| 2772 | }, | ||
| 2773 | CpuInfo(@This()).create(.Atxmega128a3, "atxmega128a3", &[_]FeatureType { | ||
| 2774 | .Ijmpcall, | 2769 | .Ijmpcall, |
| 2775 | .Elpmx, | ||
| 2776 | .Movw, | ||
| 2777 | .Eijmpcall, | ||
| 2778 | .Mul, | ||
| 2779 | .Sram, | ||
| 2780 | .Break, | 2770 | .Break, |
| 2781 | .Spm, | 2771 | .Xmegau, |
| 2772 | }), | ||
| 2773 | CpuInfo(@This(), FeatureType).create(.Atxmega128a3, "atxmega128a3", &[_]FeatureType { | ||
| 2774 | .Lpm, | ||
| 2782 | .Elpm, | 2775 | .Elpm, |
| 2783 | .Lpmx, | 2776 | .Movw, |
| 2784 | .Spmx, | 2777 | .Elpmx, |
| 2778 | .Spm, | ||
| 2785 | .Avr0, | 2779 | .Avr0, |
| 2780 | .Sram, | ||
| 2786 | .Jmpcall, | 2781 | .Jmpcall, |
| 2782 | .Eijmpcall, | ||
| 2783 | .Spmx, | ||
| 2787 | .Addsubiw, | 2784 | .Addsubiw, |
| 2788 | .Lpm, | 2785 | .Mul, |
| 2786 | .Lpmx, | ||
| 2789 | .Des, | 2787 | .Des, |
| 2790 | .Xmega, | ||
| 2791 | }, | ||
| 2792 | CpuInfo(@This()).create(.Atxmega128a3u, "atxmega128a3u", &[_]FeatureType { | ||
| 2793 | .Ijmpcall, | 2788 | .Ijmpcall, |
| 2794 | .Elpmx, | 2789 | .Break, |
| 2790 | .Xmega, | ||
| 2791 | }), | ||
| 2792 | CpuInfo(@This(), FeatureType).create(.Atxmega128a3u, "atxmega128a3u", &[_]FeatureType { | ||
| 2793 | .Lpm, | ||
| 2794 | .Elpm, | ||
| 2795 | .Movw, | 2795 | .Movw, |
| 2796 | .Elpmx, | ||
| 2797 | .Spm, | ||
| 2798 | .Avr0, | ||
| 2799 | .Sram, | ||
| 2800 | .Jmpcall, | ||
| 2796 | .Eijmpcall, | 2801 | .Eijmpcall, |
| 2802 | .Spmx, | ||
| 2803 | .Addsubiw, | ||
| 2797 | .Mul, | 2804 | .Mul, |
| 2805 | .Lpmx, | ||
| 2798 | .Rmw, | 2806 | .Rmw, |
| 2799 | .Sram, | 2807 | .Des, |
| 2808 | .Ijmpcall, | ||
| 2800 | .Break, | 2809 | .Break, |
| 2801 | .Spm, | 2810 | .Xmegau, |
| 2811 | }), | ||
| 2812 | CpuInfo(@This(), FeatureType).create(.Atxmega128a4u, "atxmega128a4u", &[_]FeatureType { | ||
| 2813 | .Lpm, | ||
| 2802 | .Elpm, | 2814 | .Elpm, |
| 2803 | .Lpmx, | 2815 | .Movw, |
| 2804 | .Spmx, | 2816 | .Elpmx, |
| 2817 | .Spm, | ||
| 2805 | .Avr0, | 2818 | .Avr0, |
| 2819 | .Sram, | ||
| 2806 | .Jmpcall, | 2820 | .Jmpcall, |
| 2821 | .Eijmpcall, | ||
| 2822 | .Spmx, | ||
| 2807 | .Addsubiw, | 2823 | .Addsubiw, |
| 2808 | .Lpm, | 2824 | .Mul, |
| 2825 | .Lpmx, | ||
| 2826 | .Rmw, | ||
| 2809 | .Des, | 2827 | .Des, |
| 2810 | .Xmegau, | ||
| 2811 | }, | ||
| 2812 | CpuInfo(@This()).create(.Atxmega128a4u, "atxmega128a4u", &[_]FeatureType { | ||
| 2813 | .Ijmpcall, | 2828 | .Ijmpcall, |
| 2814 | .Elpmx, | 2829 | .Break, |
| 2830 | .Xmegau, | ||
| 2831 | }), | ||
| 2832 | CpuInfo(@This(), FeatureType).create(.Atxmega128b1, "atxmega128b1", &[_]FeatureType { | ||
| 2833 | .Lpm, | ||
| 2834 | .Elpm, | ||
| 2815 | .Movw, | 2835 | .Movw, |
| 2836 | .Elpmx, | ||
| 2837 | .Spm, | ||
| 2838 | .Avr0, | ||
| 2839 | .Sram, | ||
| 2840 | .Jmpcall, | ||
| 2816 | .Eijmpcall, | 2841 | .Eijmpcall, |
| 2842 | .Spmx, | ||
| 2843 | .Addsubiw, | ||
| 2817 | .Mul, | 2844 | .Mul, |
| 2845 | .Lpmx, | ||
| 2818 | .Rmw, | 2846 | .Rmw, |
| 2819 | .Sram, | 2847 | .Des, |
| 2848 | .Ijmpcall, | ||
| 2820 | .Break, | 2849 | .Break, |
| 2821 | .Spm, | 2850 | .Xmegau, |
| 2851 | }), | ||
| 2852 | CpuInfo(@This(), FeatureType).create(.Atxmega128b3, "atxmega128b3", &[_]FeatureType { | ||
| 2853 | .Lpm, | ||
| 2822 | .Elpm, | 2854 | .Elpm, |
| 2823 | .Lpmx, | 2855 | .Movw, |
| 2824 | .Spmx, | 2856 | .Elpmx, |
| 2857 | .Spm, | ||
| 2825 | .Avr0, | 2858 | .Avr0, |
| 2859 | .Sram, | ||
| 2826 | .Jmpcall, | 2860 | .Jmpcall, |
| 2861 | .Eijmpcall, | ||
| 2862 | .Spmx, | ||
| 2827 | .Addsubiw, | 2863 | .Addsubiw, |
| 2828 | .Lpm, | 2864 | .Mul, |
| 2865 | .Lpmx, | ||
| 2866 | .Rmw, | ||
| 2829 | .Des, | 2867 | .Des, |
| 2830 | .Xmegau, | ||
| 2831 | }, | ||
| 2832 | CpuInfo(@This()).create(.Atxmega128b1, "atxmega128b1", &[_]FeatureType { | ||
| 2833 | .Ijmpcall, | 2868 | .Ijmpcall, |
| 2834 | .Elpmx, | 2869 | .Break, |
| 2870 | .Xmegau, | ||
| 2871 | }), | ||
| 2872 | CpuInfo(@This(), FeatureType).create(.Atxmega128c3, "atxmega128c3", &[_]FeatureType { | ||
| 2873 | .Lpm, | ||
| 2874 | .Elpm, | ||
| 2835 | .Movw, | 2875 | .Movw, |
| 2876 | .Elpmx, | ||
| 2877 | .Spm, | ||
| 2878 | .Avr0, | ||
| 2879 | .Sram, | ||
| 2880 | .Jmpcall, | ||
| 2836 | .Eijmpcall, | 2881 | .Eijmpcall, |
| 2882 | .Spmx, | ||
| 2883 | .Addsubiw, | ||
| 2837 | .Mul, | 2884 | .Mul, |
| 2885 | .Lpmx, | ||
| 2838 | .Rmw, | 2886 | .Rmw, |
| 2839 | .Sram, | 2887 | .Des, |
| 2888 | .Ijmpcall, | ||
| 2840 | .Break, | 2889 | .Break, |
| 2841 | .Spm, | 2890 | .Xmegau, |
| 2891 | }), | ||
| 2892 | CpuInfo(@This(), FeatureType).create(.Atxmega128d3, "atxmega128d3", &[_]FeatureType { | ||
| 2893 | .Lpm, | ||
| 2842 | .Elpm, | 2894 | .Elpm, |
| 2843 | .Lpmx, | 2895 | .Movw, |
| 2844 | .Spmx, | 2896 | .Elpmx, |
| 2897 | .Spm, | ||
| 2845 | .Avr0, | 2898 | .Avr0, |
| 2899 | .Sram, | ||
| 2846 | .Jmpcall, | 2900 | .Jmpcall, |
| 2901 | .Eijmpcall, | ||
| 2902 | .Spmx, | ||
| 2847 | .Addsubiw, | 2903 | .Addsubiw, |
| 2848 | .Lpm, | 2904 | .Mul, |
| 2905 | .Lpmx, | ||
| 2849 | .Des, | 2906 | .Des, |
| 2850 | .Xmegau, | ||
| 2851 | }, | ||
| 2852 | CpuInfo(@This()).create(.Atxmega128b3, "atxmega128b3", &[_]FeatureType { | ||
| 2853 | .Ijmpcall, | 2907 | .Ijmpcall, |
| 2854 | .Elpmx, | ||
| 2855 | .Movw, | ||
| 2856 | .Eijmpcall, | ||
| 2857 | .Mul, | ||
| 2858 | .Rmw, | ||
| 2859 | .Sram, | ||
| 2860 | .Break, | 2908 | .Break, |
| 2861 | .Spm, | 2909 | .Xmega, |
| 2910 | }), | ||
| 2911 | CpuInfo(@This(), FeatureType).create(.Atxmega128d4, "atxmega128d4", &[_]FeatureType { | ||
| 2912 | .Lpm, | ||
| 2862 | .Elpm, | 2913 | .Elpm, |
| 2863 | .Lpmx, | 2914 | .Movw, |
| 2864 | .Spmx, | 2915 | .Elpmx, |
| 2916 | .Spm, | ||
| 2865 | .Avr0, | 2917 | .Avr0, |
| 2918 | .Sram, | ||
| 2866 | .Jmpcall, | 2919 | .Jmpcall, |
| 2920 | .Eijmpcall, | ||
| 2921 | .Spmx, | ||
| 2867 | .Addsubiw, | 2922 | .Addsubiw, |
| 2868 | .Lpm, | 2923 | .Mul, |
| 2924 | .Lpmx, | ||
| 2869 | .Des, | 2925 | .Des, |
| 2870 | .Xmegau, | ||
| 2871 | }, | ||
| 2872 | CpuInfo(@This()).create(.Atxmega128c3, "atxmega128c3", &[_]FeatureType { | ||
| 2873 | .Ijmpcall, | 2926 | .Ijmpcall, |
| 2874 | .Elpmx, | ||
| 2875 | .Movw, | ||
| 2876 | .Eijmpcall, | ||
| 2877 | .Mul, | ||
| 2878 | .Rmw, | ||
| 2879 | .Sram, | ||
| 2880 | .Break, | 2927 | .Break, |
| 2881 | .Spm, | 2928 | .Xmega, |
| 2929 | }), | ||
| 2930 | CpuInfo(@This(), FeatureType).create(.Atxmega16a4, "atxmega16a4", &[_]FeatureType { | ||
| 2931 | .Lpm, | ||
| 2882 | .Elpm, | 2932 | .Elpm, |
| 2883 | .Lpmx, | 2933 | .Movw, |
| 2884 | .Spmx, | 2934 | .Elpmx, |
| 2935 | .Spm, | ||
| 2885 | .Avr0, | 2936 | .Avr0, |
| 2937 | .Sram, | ||
| 2886 | .Jmpcall, | 2938 | .Jmpcall, |
| 2939 | .Eijmpcall, | ||
| 2940 | .Spmx, | ||
| 2887 | .Addsubiw, | 2941 | .Addsubiw, |
| 2888 | .Lpm, | 2942 | .Mul, |
| 2943 | .Lpmx, | ||
| 2889 | .Des, | 2944 | .Des, |
| 2890 | .Xmegau, | ||
| 2891 | }, | ||
| 2892 | CpuInfo(@This()).create(.Atxmega128d3, "atxmega128d3", &[_]FeatureType { | ||
| 2893 | .Ijmpcall, | 2945 | .Ijmpcall, |
| 2894 | .Elpmx, | ||
| 2895 | .Movw, | ||
| 2896 | .Eijmpcall, | ||
| 2897 | .Mul, | ||
| 2898 | .Sram, | ||
| 2899 | .Break, | 2946 | .Break, |
| 2900 | .Spm, | 2947 | .Xmega, |
| 2948 | }), | ||
| 2949 | CpuInfo(@This(), FeatureType).create(.Atxmega16a4u, "atxmega16a4u", &[_]FeatureType { | ||
| 2950 | .Lpm, | ||
| 2901 | .Elpm, | 2951 | .Elpm, |
| 2902 | .Lpmx, | 2952 | .Movw, |
| 2903 | .Spmx, | 2953 | .Elpmx, |
| 2954 | .Spm, | ||
| 2904 | .Avr0, | 2955 | .Avr0, |
| 2956 | .Sram, | ||
| 2905 | .Jmpcall, | 2957 | .Jmpcall, |
| 2958 | .Eijmpcall, | ||
| 2959 | .Spmx, | ||
| 2906 | .Addsubiw, | 2960 | .Addsubiw, |
| 2907 | .Lpm, | 2961 | .Mul, |
| 2962 | .Lpmx, | ||
| 2963 | .Rmw, | ||
| 2908 | .Des, | 2964 | .Des, |
| 2909 | .Xmega, | ||
| 2910 | }, | ||
| 2911 | CpuInfo(@This()).create(.Atxmega128d4, "atxmega128d4", &[_]FeatureType { | ||
| 2912 | .Ijmpcall, | 2965 | .Ijmpcall, |
| 2913 | .Elpmx, | ||
| 2914 | .Movw, | ||
| 2915 | .Eijmpcall, | ||
| 2916 | .Mul, | ||
| 2917 | .Sram, | ||
| 2918 | .Break, | 2966 | .Break, |
| 2919 | .Spm, | 2967 | .Xmegau, |
| 2920 | .Elpm, | 2968 | }), |
| 2921 | .Lpmx, | 2969 | CpuInfo(@This(), FeatureType).create(.Atxmega16c4, "atxmega16c4", &[_]FeatureType { |
| 2922 | .Spmx, | ||
| 2923 | .Avr0, | ||
| 2924 | .Jmpcall, | ||
| 2925 | .Addsubiw, | ||
| 2926 | .Lpm, | 2970 | .Lpm, |
| 2927 | .Des, | 2971 | .Elpm, |
| 2928 | .Xmega, | ||
| 2929 | }, | ||
| 2930 | CpuInfo(@This()).create(.Atxmega16a4, "atxmega16a4", &[_]FeatureType { | ||
| 2931 | .Ijmpcall, | ||
| 2932 | .Elpmx, | ||
| 2933 | .Movw, | 2972 | .Movw, |
| 2934 | .Eijmpcall, | 2973 | .Elpmx, |
| 2935 | .Mul, | ||
| 2936 | .Sram, | ||
| 2937 | .Break, | ||
| 2938 | .Spm, | 2974 | .Spm, |
| 2939 | .Elpm, | ||
| 2940 | .Lpmx, | ||
| 2941 | .Spmx, | ||
| 2942 | .Avr0, | 2975 | .Avr0, |
| 2976 | .Sram, | ||
| 2943 | .Jmpcall, | 2977 | .Jmpcall, |
| 2944 | .Addsubiw, | ||
| 2945 | .Lpm, | ||
| 2946 | .Des, | ||
| 2947 | .Xmega, | ||
| 2948 | }, | ||
| 2949 | CpuInfo(@This()).create(.Atxmega16a4u, "atxmega16a4u", &[_]FeatureType { | ||
| 2950 | .Ijmpcall, | ||
| 2951 | .Elpmx, | ||
| 2952 | .Movw, | ||
| 2953 | .Eijmpcall, | 2978 | .Eijmpcall, |
| 2954 | .Mul, | ||
| 2955 | .Rmw, | ||
| 2956 | .Sram, | ||
| 2957 | .Break, | ||
| 2958 | .Spm, | ||
| 2959 | .Elpm, | ||
| 2960 | .Lpmx, | ||
| 2961 | .Spmx, | 2979 | .Spmx, |
| 2962 | .Avr0, | ||
| 2963 | .Jmpcall, | ||
| 2964 | .Addsubiw, | 2980 | .Addsubiw, |
| 2965 | .Lpm, | ||
| 2966 | .Des, | ||
| 2967 | .Xmegau, | ||
| 2968 | }, | ||
| 2969 | CpuInfo(@This()).create(.Atxmega16c4, "atxmega16c4", &[_]FeatureType { | ||
| 2970 | .Ijmpcall, | ||
| 2971 | .Elpmx, | ||
| 2972 | .Movw, | ||
| 2973 | .Eijmpcall, | ||
| 2974 | .Mul, | 2981 | .Mul, |
| 2975 | .Rmw, | ||
| 2976 | .Sram, | ||
| 2977 | .Break, | ||
| 2978 | .Spm, | ||
| 2979 | .Elpm, | ||
| 2980 | .Lpmx, | 2982 | .Lpmx, |
| 2981 | .Spmx, | 2983 | .Rmw, |
| 2982 | .Avr0, | ||
| 2983 | .Jmpcall, | ||
| 2984 | .Addsubiw, | ||
| 2985 | .Lpm, | ||
| 2986 | .Des, | 2984 | .Des, |
| 2987 | .Xmegau, | ||
| 2988 | }, | ||
| 2989 | CpuInfo(@This()).create(.Atxmega16d4, "atxmega16d4", &[_]FeatureType { | ||
| 2990 | .Ijmpcall, | 2985 | .Ijmpcall, |
| 2991 | .Elpmx, | ||
| 2992 | .Movw, | ||
| 2993 | .Eijmpcall, | ||
| 2994 | .Mul, | ||
| 2995 | .Sram, | ||
| 2996 | .Break, | 2986 | .Break, |
| 2997 | .Spm, | 2987 | .Xmegau, |
| 2998 | .Elpm, | 2988 | }), |
| 2999 | .Lpmx, | 2989 | CpuInfo(@This(), FeatureType).create(.Atxmega16d4, "atxmega16d4", &[_]FeatureType { |
| 3000 | .Spmx, | ||
| 3001 | .Avr0, | ||
| 3002 | .Jmpcall, | ||
| 3003 | .Addsubiw, | ||
| 3004 | .Lpm, | 2990 | .Lpm, |
| 3005 | .Des, | 2991 | .Elpm, |
| 3006 | .Xmega, | ||
| 3007 | }, | ||
| 3008 | CpuInfo(@This()).create(.Atxmega16e5, "atxmega16e5", &[_]FeatureType { | ||
| 3009 | .Ijmpcall, | ||
| 3010 | .Elpmx, | ||
| 3011 | .Movw, | 2992 | .Movw, |
| 3012 | .Eijmpcall, | 2993 | .Elpmx, |
| 3013 | .Mul, | ||
| 3014 | .Sram, | ||
| 3015 | .Break, | ||
| 3016 | .Spm, | 2994 | .Spm, |
| 3017 | .Elpm, | ||
| 3018 | .Lpmx, | ||
| 3019 | .Spmx, | ||
| 3020 | .Avr0, | 2995 | .Avr0, |
| 2996 | .Sram, | ||
| 3021 | .Jmpcall, | 2997 | .Jmpcall, |
| 3022 | .Addsubiw, | ||
| 3023 | .Lpm, | ||
| 3024 | .Des, | ||
| 3025 | .Xmega, | ||
| 3026 | }, | ||
| 3027 | CpuInfo(@This()).create(.Atxmega192a3, "atxmega192a3", &[_]FeatureType { | ||
| 3028 | .Ijmpcall, | ||
| 3029 | .Elpmx, | ||
| 3030 | .Movw, | ||
| 3031 | .Eijmpcall, | 2998 | .Eijmpcall, |
| 3032 | .Mul, | ||
| 3033 | .Sram, | ||
| 3034 | .Break, | ||
| 3035 | .Spm, | ||
| 3036 | .Elpm, | ||
| 3037 | .Lpmx, | ||
| 3038 | .Spmx, | 2999 | .Spmx, |
| 3039 | .Avr0, | ||
| 3040 | .Jmpcall, | ||
| 3041 | .Addsubiw, | 3000 | .Addsubiw, |
| 3042 | .Lpm, | ||
| 3043 | .Des, | ||
| 3044 | .Xmega, | ||
| 3045 | }, | ||
| 3046 | CpuInfo(@This()).create(.Atxmega192a3u, "atxmega192a3u", &[_]FeatureType { | ||
| 3047 | .Ijmpcall, | ||
| 3048 | .Elpmx, | ||
| 3049 | .Movw, | ||
| 3050 | .Eijmpcall, | ||
| 3051 | .Mul, | 3001 | .Mul, |
| 3052 | .Rmw, | ||
| 3053 | .Sram, | ||
| 3054 | .Break, | ||
| 3055 | .Spm, | ||
| 3056 | .Elpm, | ||
| 3057 | .Lpmx, | 3002 | .Lpmx, |
| 3058 | .Spmx, | ||
| 3059 | .Avr0, | ||
| 3060 | .Jmpcall, | ||
| 3061 | .Addsubiw, | ||
| 3062 | .Lpm, | ||
| 3063 | .Des, | 3003 | .Des, |
| 3064 | .Xmegau, | ||
| 3065 | }, | ||
| 3066 | CpuInfo(@This()).create(.Atxmega192c3, "atxmega192c3", &[_]FeatureType { | ||
| 3067 | .Ijmpcall, | 3004 | .Ijmpcall, |
| 3068 | .Elpmx, | ||
| 3069 | .Movw, | ||
| 3070 | .Eijmpcall, | ||
| 3071 | .Mul, | ||
| 3072 | .Rmw, | ||
| 3073 | .Sram, | ||
| 3074 | .Break, | 3005 | .Break, |
| 3075 | .Spm, | 3006 | .Xmega, |
| 3076 | .Elpm, | 3007 | }), |
| 3077 | .Lpmx, | 3008 | CpuInfo(@This(), FeatureType).create(.Atxmega16e5, "atxmega16e5", &[_]FeatureType { |
| 3078 | .Spmx, | ||
| 3079 | .Avr0, | ||
| 3080 | .Jmpcall, | ||
| 3081 | .Addsubiw, | ||
| 3082 | .Lpm, | 3009 | .Lpm, |
| 3083 | .Des, | 3010 | .Elpm, |
| 3084 | .Xmegau, | ||
| 3085 | }, | ||
| 3086 | CpuInfo(@This()).create(.Atxmega192d3, "atxmega192d3", &[_]FeatureType { | ||
| 3087 | .Ijmpcall, | ||
| 3088 | .Elpmx, | ||
| 3089 | .Movw, | 3011 | .Movw, |
| 3090 | .Eijmpcall, | 3012 | .Elpmx, |
| 3091 | .Mul, | ||
| 3092 | .Sram, | ||
| 3093 | .Break, | ||
| 3094 | .Spm, | 3013 | .Spm, |
| 3095 | .Elpm, | ||
| 3096 | .Lpmx, | ||
| 3097 | .Spmx, | ||
| 3098 | .Avr0, | 3014 | .Avr0, |
| 3015 | .Sram, | ||
| 3099 | .Jmpcall, | 3016 | .Jmpcall, |
| 3100 | .Addsubiw, | ||
| 3101 | .Lpm, | ||
| 3102 | .Des, | ||
| 3103 | .Xmega, | ||
| 3104 | }, | ||
| 3105 | CpuInfo(@This()).create(.Atxmega256a3, "atxmega256a3", &[_]FeatureType { | ||
| 3106 | .Ijmpcall, | ||
| 3107 | .Elpmx, | ||
| 3108 | .Movw, | ||
| 3109 | .Eijmpcall, | 3017 | .Eijmpcall, |
| 3110 | .Mul, | ||
| 3111 | .Sram, | ||
| 3112 | .Break, | ||
| 3113 | .Spm, | ||
| 3114 | .Elpm, | ||
| 3115 | .Lpmx, | ||
| 3116 | .Spmx, | 3018 | .Spmx, |
| 3117 | .Avr0, | ||
| 3118 | .Jmpcall, | ||
| 3119 | .Addsubiw, | 3019 | .Addsubiw, |
| 3120 | .Lpm, | ||
| 3121 | .Des, | ||
| 3122 | .Xmega, | ||
| 3123 | }, | ||
| 3124 | CpuInfo(@This()).create(.Atxmega256a3b, "atxmega256a3b", &[_]FeatureType { | ||
| 3125 | .Ijmpcall, | ||
| 3126 | .Elpmx, | ||
| 3127 | .Movw, | ||
| 3128 | .Eijmpcall, | ||
| 3129 | .Mul, | 3020 | .Mul, |
| 3130 | .Sram, | ||
| 3131 | .Break, | ||
| 3132 | .Spm, | ||
| 3133 | .Elpm, | ||
| 3134 | .Lpmx, | 3021 | .Lpmx, |
| 3135 | .Spmx, | ||
| 3136 | .Avr0, | ||
| 3137 | .Jmpcall, | ||
| 3138 | .Addsubiw, | ||
| 3139 | .Lpm, | ||
| 3140 | .Des, | 3022 | .Des, |
| 3141 | .Xmega, | ||
| 3142 | }, | ||
| 3143 | CpuInfo(@This()).create(.Atxmega256a3bu, "atxmega256a3bu", &[_]FeatureType { | ||
| 3144 | .Ijmpcall, | 3023 | .Ijmpcall, |
| 3145 | .Elpmx, | ||
| 3146 | .Movw, | ||
| 3147 | .Eijmpcall, | ||
| 3148 | .Mul, | ||
| 3149 | .Rmw, | ||
| 3150 | .Sram, | ||
| 3151 | .Break, | 3024 | .Break, |
| 3152 | .Spm, | 3025 | .Xmega, |
| 3026 | }), | ||
| 3027 | CpuInfo(@This(), FeatureType).create(.Atxmega192a3, "atxmega192a3", &[_]FeatureType { | ||
| 3028 | .Lpm, | ||
| 3153 | .Elpm, | 3029 | .Elpm, |
| 3154 | .Lpmx, | 3030 | .Movw, |
| 3155 | .Spmx, | 3031 | .Elpmx, |
| 3032 | .Spm, | ||
| 3156 | .Avr0, | 3033 | .Avr0, |
| 3034 | .Sram, | ||
| 3157 | .Jmpcall, | 3035 | .Jmpcall, |
| 3036 | .Eijmpcall, | ||
| 3037 | .Spmx, | ||
| 3158 | .Addsubiw, | 3038 | .Addsubiw, |
| 3159 | .Lpm, | 3039 | .Mul, |
| 3040 | .Lpmx, | ||
| 3160 | .Des, | 3041 | .Des, |
| 3161 | .Xmegau, | ||
| 3162 | }, | ||
| 3163 | CpuInfo(@This()).create(.Atxmega256a3u, "atxmega256a3u", &[_]FeatureType { | ||
| 3164 | .Ijmpcall, | 3042 | .Ijmpcall, |
| 3165 | .Elpmx, | ||
| 3166 | .Movw, | ||
| 3167 | .Eijmpcall, | ||
| 3168 | .Mul, | ||
| 3169 | .Rmw, | ||
| 3170 | .Sram, | ||
| 3171 | .Break, | 3043 | .Break, |
| 3172 | .Spm, | 3044 | .Xmega, |
| 3045 | }), | ||
| 3046 | CpuInfo(@This(), FeatureType).create(.Atxmega192a3u, "atxmega192a3u", &[_]FeatureType { | ||
| 3047 | .Lpm, | ||
| 3173 | .Elpm, | 3048 | .Elpm, |
| 3174 | .Lpmx, | 3049 | .Movw, |
| 3175 | .Spmx, | 3050 | .Elpmx, |
| 3051 | .Spm, | ||
| 3176 | .Avr0, | 3052 | .Avr0, |
| 3053 | .Sram, | ||
| 3177 | .Jmpcall, | 3054 | .Jmpcall, |
| 3178 | .Addsubiw, | ||
| 3179 | .Lpm, | ||
| 3180 | .Des, | ||
| 3181 | .Xmegau, | ||
| 3182 | }, | ||
| 3183 | CpuInfo(@This()).create(.Atxmega256c3, "atxmega256c3", &[_]FeatureType { | ||
| 3184 | .Ijmpcall, | ||
| 3185 | .Elpmx, | ||
| 3186 | .Movw, | ||
| 3187 | .Eijmpcall, | 3055 | .Eijmpcall, |
| 3056 | .Spmx, | ||
| 3057 | .Addsubiw, | ||
| 3188 | .Mul, | 3058 | .Mul, |
| 3059 | .Lpmx, | ||
| 3189 | .Rmw, | 3060 | .Rmw, |
| 3190 | .Sram, | 3061 | .Des, |
| 3062 | .Ijmpcall, | ||
| 3191 | .Break, | 3063 | .Break, |
| 3192 | .Spm, | 3064 | .Xmegau, |
| 3065 | }), | ||
| 3066 | CpuInfo(@This(), FeatureType).create(.Atxmega192c3, "atxmega192c3", &[_]FeatureType { | ||
| 3067 | .Lpm, | ||
| 3193 | .Elpm, | 3068 | .Elpm, |
| 3194 | .Lpmx, | 3069 | .Movw, |
| 3195 | .Spmx, | 3070 | .Elpmx, |
| 3071 | .Spm, | ||
| 3196 | .Avr0, | 3072 | .Avr0, |
| 3073 | .Sram, | ||
| 3197 | .Jmpcall, | 3074 | .Jmpcall, |
| 3075 | .Eijmpcall, | ||
| 3076 | .Spmx, | ||
| 3198 | .Addsubiw, | 3077 | .Addsubiw, |
| 3199 | .Lpm, | 3078 | .Mul, |
| 3079 | .Lpmx, | ||
| 3080 | .Rmw, | ||
| 3200 | .Des, | 3081 | .Des, |
| 3201 | .Xmegau, | ||
| 3202 | }, | ||
| 3203 | CpuInfo(@This()).create(.Atxmega256d3, "atxmega256d3", &[_]FeatureType { | ||
| 3204 | .Ijmpcall, | 3082 | .Ijmpcall, |
| 3205 | .Elpmx, | ||
| 3206 | .Movw, | ||
| 3207 | .Eijmpcall, | ||
| 3208 | .Mul, | ||
| 3209 | .Sram, | ||
| 3210 | .Break, | 3083 | .Break, |
| 3211 | .Spm, | 3084 | .Xmegau, |
| 3085 | }), | ||
| 3086 | CpuInfo(@This(), FeatureType).create(.Atxmega192d3, "atxmega192d3", &[_]FeatureType { | ||
| 3087 | .Lpm, | ||
| 3212 | .Elpm, | 3088 | .Elpm, |
| 3213 | .Lpmx, | 3089 | .Movw, |
| 3214 | .Spmx, | 3090 | .Elpmx, |
| 3091 | .Spm, | ||
| 3215 | .Avr0, | 3092 | .Avr0, |
| 3093 | .Sram, | ||
| 3216 | .Jmpcall, | 3094 | .Jmpcall, |
| 3095 | .Eijmpcall, | ||
| 3096 | .Spmx, | ||
| 3217 | .Addsubiw, | 3097 | .Addsubiw, |
| 3218 | .Lpm, | 3098 | .Mul, |
| 3099 | .Lpmx, | ||
| 3219 | .Des, | 3100 | .Des, |
| 3220 | .Xmega, | ||
| 3221 | }, | ||
| 3222 | CpuInfo(@This()).create(.Atxmega32a4, "atxmega32a4", &[_]FeatureType { | ||
| 3223 | .Ijmpcall, | 3101 | .Ijmpcall, |
| 3224 | .Elpmx, | ||
| 3225 | .Movw, | ||
| 3226 | .Eijmpcall, | ||
| 3227 | .Mul, | ||
| 3228 | .Sram, | ||
| 3229 | .Break, | 3102 | .Break, |
| 3230 | .Spm, | 3103 | .Xmega, |
| 3104 | }), | ||
| 3105 | CpuInfo(@This(), FeatureType).create(.Atxmega256a3, "atxmega256a3", &[_]FeatureType { | ||
| 3106 | .Lpm, | ||
| 3231 | .Elpm, | 3107 | .Elpm, |
| 3232 | .Lpmx, | 3108 | .Movw, |
| 3233 | .Spmx, | 3109 | .Elpmx, |
| 3110 | .Spm, | ||
| 3234 | .Avr0, | 3111 | .Avr0, |
| 3112 | .Sram, | ||
| 3235 | .Jmpcall, | 3113 | .Jmpcall, |
| 3114 | .Eijmpcall, | ||
| 3115 | .Spmx, | ||
| 3236 | .Addsubiw, | 3116 | .Addsubiw, |
| 3237 | .Lpm, | 3117 | .Mul, |
| 3118 | .Lpmx, | ||
| 3238 | .Des, | 3119 | .Des, |
| 3239 | .Xmega, | ||
| 3240 | }, | ||
| 3241 | CpuInfo(@This()).create(.Atxmega32a4u, "atxmega32a4u", &[_]FeatureType { | ||
| 3242 | .Ijmpcall, | 3120 | .Ijmpcall, |
| 3243 | .Elpmx, | ||
| 3244 | .Movw, | ||
| 3245 | .Eijmpcall, | ||
| 3246 | .Mul, | ||
| 3247 | .Rmw, | ||
| 3248 | .Sram, | ||
| 3249 | .Break, | 3121 | .Break, |
| 3250 | .Spm, | 3122 | .Xmega, |
| 3123 | }), | ||
| 3124 | CpuInfo(@This(), FeatureType).create(.Atxmega256a3b, "atxmega256a3b", &[_]FeatureType { | ||
| 3125 | .Lpm, | ||
| 3251 | .Elpm, | 3126 | .Elpm, |
| 3252 | .Lpmx, | 3127 | .Movw, |
| 3253 | .Spmx, | 3128 | .Elpmx, |
| 3129 | .Spm, | ||
| 3254 | .Avr0, | 3130 | .Avr0, |
| 3131 | .Sram, | ||
| 3255 | .Jmpcall, | 3132 | .Jmpcall, |
| 3133 | .Eijmpcall, | ||
| 3134 | .Spmx, | ||
| 3256 | .Addsubiw, | 3135 | .Addsubiw, |
| 3257 | .Lpm, | 3136 | .Mul, |
| 3137 | .Lpmx, | ||
| 3258 | .Des, | 3138 | .Des, |
| 3259 | .Xmegau, | ||
| 3260 | }, | ||
| 3261 | CpuInfo(@This()).create(.Atxmega32c4, "atxmega32c4", &[_]FeatureType { | ||
| 3262 | .Ijmpcall, | 3139 | .Ijmpcall, |
| 3263 | .Elpmx, | ||
| 3264 | .Movw, | ||
| 3265 | .Eijmpcall, | ||
| 3266 | .Mul, | ||
| 3267 | .Rmw, | ||
| 3268 | .Sram, | ||
| 3269 | .Break, | 3140 | .Break, |
| 3270 | .Spm, | 3141 | .Xmega, |
| 3142 | }), | ||
| 3143 | CpuInfo(@This(), FeatureType).create(.Atxmega256a3bu, "atxmega256a3bu", &[_]FeatureType { | ||
| 3144 | .Lpm, | ||
| 3271 | .Elpm, | 3145 | .Elpm, |
| 3272 | .Lpmx, | 3146 | .Movw, |
| 3273 | .Spmx, | 3147 | .Elpmx, |
| 3148 | .Spm, | ||
| 3274 | .Avr0, | 3149 | .Avr0, |
| 3150 | .Sram, | ||
| 3275 | .Jmpcall, | 3151 | .Jmpcall, |
| 3152 | .Eijmpcall, | ||
| 3153 | .Spmx, | ||
| 3276 | .Addsubiw, | 3154 | .Addsubiw, |
| 3277 | .Lpm, | 3155 | .Mul, |
| 3156 | .Lpmx, | ||
| 3157 | .Rmw, | ||
| 3278 | .Des, | 3158 | .Des, |
| 3279 | .Xmegau, | ||
| 3280 | }, | ||
| 3281 | CpuInfo(@This()).create(.Atxmega32d4, "atxmega32d4", &[_]FeatureType { | ||
| 3282 | .Ijmpcall, | 3159 | .Ijmpcall, |
| 3283 | .Elpmx, | ||
| 3284 | .Movw, | ||
| 3285 | .Eijmpcall, | ||
| 3286 | .Mul, | ||
| 3287 | .Sram, | ||
| 3288 | .Break, | 3160 | .Break, |
| 3289 | .Spm, | 3161 | .Xmegau, |
| 3162 | }), | ||
| 3163 | CpuInfo(@This(), FeatureType).create(.Atxmega256a3u, "atxmega256a3u", &[_]FeatureType { | ||
| 3164 | .Lpm, | ||
| 3290 | .Elpm, | 3165 | .Elpm, |
| 3291 | .Lpmx, | 3166 | .Movw, |
| 3292 | .Spmx, | 3167 | .Elpmx, |
| 3168 | .Spm, | ||
| 3293 | .Avr0, | 3169 | .Avr0, |
| 3170 | .Sram, | ||
| 3294 | .Jmpcall, | 3171 | .Jmpcall, |
| 3172 | .Eijmpcall, | ||
| 3173 | .Spmx, | ||
| 3295 | .Addsubiw, | 3174 | .Addsubiw, |
| 3296 | .Lpm, | 3175 | .Mul, |
| 3176 | .Lpmx, | ||
| 3177 | .Rmw, | ||
| 3297 | .Des, | 3178 | .Des, |
| 3298 | .Xmega, | ||
| 3299 | }, | ||
| 3300 | CpuInfo(@This()).create(.Atxmega32e5, "atxmega32e5", &[_]FeatureType { | ||
| 3301 | .Ijmpcall, | 3179 | .Ijmpcall, |
| 3302 | .Elpmx, | ||
| 3303 | .Movw, | ||
| 3304 | .Eijmpcall, | ||
| 3305 | .Mul, | ||
| 3306 | .Sram, | ||
| 3307 | .Break, | 3180 | .Break, |
| 3308 | .Spm, | 3181 | .Xmegau, |
| 3182 | }), | ||
| 3183 | CpuInfo(@This(), FeatureType).create(.Atxmega256c3, "atxmega256c3", &[_]FeatureType { | ||
| 3184 | .Lpm, | ||
| 3309 | .Elpm, | 3185 | .Elpm, |
| 3310 | .Lpmx, | 3186 | .Movw, |
| 3311 | .Spmx, | 3187 | .Elpmx, |
| 3188 | .Spm, | ||
| 3312 | .Avr0, | 3189 | .Avr0, |
| 3190 | .Sram, | ||
| 3313 | .Jmpcall, | 3191 | .Jmpcall, |
| 3192 | .Eijmpcall, | ||
| 3193 | .Spmx, | ||
| 3314 | .Addsubiw, | 3194 | .Addsubiw, |
| 3315 | .Lpm, | 3195 | .Mul, |
| 3196 | .Lpmx, | ||
| 3197 | .Rmw, | ||
| 3316 | .Des, | 3198 | .Des, |
| 3317 | .Xmega, | ||
| 3318 | }, | ||
| 3319 | CpuInfo(@This()).create(.Atxmega32x1, "atxmega32x1", &[_]FeatureType { | ||
| 3320 | .Ijmpcall, | 3199 | .Ijmpcall, |
| 3321 | .Elpmx, | ||
| 3322 | .Movw, | ||
| 3323 | .Eijmpcall, | ||
| 3324 | .Mul, | ||
| 3325 | .Sram, | ||
| 3326 | .Break, | 3200 | .Break, |
| 3327 | .Spm, | 3201 | .Xmegau, |
| 3202 | }), | ||
| 3203 | CpuInfo(@This(), FeatureType).create(.Atxmega256d3, "atxmega256d3", &[_]FeatureType { | ||
| 3204 | .Lpm, | ||
| 3328 | .Elpm, | 3205 | .Elpm, |
| 3329 | .Lpmx, | 3206 | .Movw, |
| 3330 | .Spmx, | 3207 | .Elpmx, |
| 3208 | .Spm, | ||
| 3331 | .Avr0, | 3209 | .Avr0, |
| 3210 | .Sram, | ||
| 3332 | .Jmpcall, | 3211 | .Jmpcall, |
| 3212 | .Eijmpcall, | ||
| 3213 | .Spmx, | ||
| 3333 | .Addsubiw, | 3214 | .Addsubiw, |
| 3334 | .Lpm, | 3215 | .Mul, |
| 3216 | .Lpmx, | ||
| 3335 | .Des, | 3217 | .Des, |
| 3336 | .Xmega, | ||
| 3337 | }, | ||
| 3338 | CpuInfo(@This()).create(.Atxmega384c3, "atxmega384c3", &[_]FeatureType { | ||
| 3339 | .Ijmpcall, | 3218 | .Ijmpcall, |
| 3340 | .Elpmx, | ||
| 3341 | .Movw, | ||
| 3342 | .Eijmpcall, | ||
| 3343 | .Mul, | ||
| 3344 | .Rmw, | ||
| 3345 | .Sram, | ||
| 3346 | .Break, | 3219 | .Break, |
| 3347 | .Spm, | 3220 | .Xmega, |
| 3221 | }), | ||
| 3222 | CpuInfo(@This(), FeatureType).create(.Atxmega32a4, "atxmega32a4", &[_]FeatureType { | ||
| 3223 | .Lpm, | ||
| 3348 | .Elpm, | 3224 | .Elpm, |
| 3349 | .Lpmx, | 3225 | .Movw, |
| 3350 | .Spmx, | 3226 | .Elpmx, |
| 3227 | .Spm, | ||
| 3351 | .Avr0, | 3228 | .Avr0, |
| 3229 | .Sram, | ||
| 3352 | .Jmpcall, | 3230 | .Jmpcall, |
| 3231 | .Eijmpcall, | ||
| 3232 | .Spmx, | ||
| 3353 | .Addsubiw, | 3233 | .Addsubiw, |
| 3354 | .Lpm, | 3234 | .Mul, |
| 3235 | .Lpmx, | ||
| 3355 | .Des, | 3236 | .Des, |
| 3356 | .Xmegau, | ||
| 3357 | }, | ||
| 3358 | CpuInfo(@This()).create(.Atxmega384d3, "atxmega384d3", &[_]FeatureType { | ||
| 3359 | .Ijmpcall, | 3237 | .Ijmpcall, |
| 3360 | .Elpmx, | ||
| 3361 | .Movw, | ||
| 3362 | .Eijmpcall, | ||
| 3363 | .Mul, | ||
| 3364 | .Sram, | ||
| 3365 | .Break, | 3238 | .Break, |
| 3366 | .Spm, | 3239 | .Xmega, |
| 3240 | }), | ||
| 3241 | CpuInfo(@This(), FeatureType).create(.Atxmega32a4u, "atxmega32a4u", &[_]FeatureType { | ||
| 3242 | .Lpm, | ||
| 3367 | .Elpm, | 3243 | .Elpm, |
| 3368 | .Lpmx, | 3244 | .Movw, |
| 3369 | .Spmx, | 3245 | .Elpmx, |
| 3246 | .Spm, | ||
| 3370 | .Avr0, | 3247 | .Avr0, |
| 3248 | .Sram, | ||
| 3371 | .Jmpcall, | 3249 | .Jmpcall, |
| 3250 | .Eijmpcall, | ||
| 3251 | .Spmx, | ||
| 3372 | .Addsubiw, | 3252 | .Addsubiw, |
| 3373 | .Lpm, | 3253 | .Mul, |
| 3254 | .Lpmx, | ||
| 3255 | .Rmw, | ||
| 3374 | .Des, | 3256 | .Des, |
| 3375 | .Xmega, | ||
| 3376 | }, | ||
| 3377 | CpuInfo(@This()).create(.Atxmega64a1, "atxmega64a1", &[_]FeatureType { | ||
| 3378 | .Ijmpcall, | 3257 | .Ijmpcall, |
| 3379 | .Elpmx, | ||
| 3380 | .Movw, | ||
| 3381 | .Eijmpcall, | ||
| 3382 | .Mul, | ||
| 3383 | .Sram, | ||
| 3384 | .Break, | 3258 | .Break, |
| 3385 | .Spm, | 3259 | .Xmegau, |
| 3260 | }), | ||
| 3261 | CpuInfo(@This(), FeatureType).create(.Atxmega32c4, "atxmega32c4", &[_]FeatureType { | ||
| 3262 | .Lpm, | ||
| 3386 | .Elpm, | 3263 | .Elpm, |
| 3387 | .Lpmx, | 3264 | .Movw, |
| 3388 | .Spmx, | 3265 | .Elpmx, |
| 3266 | .Spm, | ||
| 3389 | .Avr0, | 3267 | .Avr0, |
| 3268 | .Sram, | ||
| 3390 | .Jmpcall, | 3269 | .Jmpcall, |
| 3391 | .Addsubiw, | ||
| 3392 | .Lpm, | ||
| 3393 | .Des, | ||
| 3394 | .Xmega, | ||
| 3395 | }, | ||
| 3396 | CpuInfo(@This()).create(.Atxmega64a1u, "atxmega64a1u", &[_]FeatureType { | ||
| 3397 | .Ijmpcall, | ||
| 3398 | .Elpmx, | ||
| 3399 | .Movw, | ||
| 3400 | .Eijmpcall, | 3270 | .Eijmpcall, |
| 3271 | .Spmx, | ||
| 3272 | .Addsubiw, | ||
| 3401 | .Mul, | 3273 | .Mul, |
| 3274 | .Lpmx, | ||
| 3402 | .Rmw, | 3275 | .Rmw, |
| 3403 | .Sram, | 3276 | .Des, |
| 3277 | .Ijmpcall, | ||
| 3404 | .Break, | 3278 | .Break, |
| 3405 | .Spm, | 3279 | .Xmegau, |
| 3280 | }), | ||
| 3281 | CpuInfo(@This(), FeatureType).create(.Atxmega32d4, "atxmega32d4", &[_]FeatureType { | ||
| 3282 | .Lpm, | ||
| 3406 | .Elpm, | 3283 | .Elpm, |
| 3407 | .Lpmx, | 3284 | .Movw, |
| 3408 | .Spmx, | 3285 | .Elpmx, |
| 3286 | .Spm, | ||
| 3409 | .Avr0, | 3287 | .Avr0, |
| 3288 | .Sram, | ||
| 3410 | .Jmpcall, | 3289 | .Jmpcall, |
| 3290 | .Eijmpcall, | ||
| 3291 | .Spmx, | ||
| 3411 | .Addsubiw, | 3292 | .Addsubiw, |
| 3412 | .Lpm, | 3293 | .Mul, |
| 3294 | .Lpmx, | ||
| 3413 | .Des, | 3295 | .Des, |
| 3414 | .Xmegau, | ||
| 3415 | }, | ||
| 3416 | CpuInfo(@This()).create(.Atxmega64a3, "atxmega64a3", &[_]FeatureType { | ||
| 3417 | .Ijmpcall, | 3296 | .Ijmpcall, |
| 3418 | .Elpmx, | 3297 | .Break, |
| 3298 | .Xmega, | ||
| 3299 | }), | ||
| 3300 | CpuInfo(@This(), FeatureType).create(.Atxmega32e5, "atxmega32e5", &[_]FeatureType { | ||
| 3301 | .Lpm, | ||
| 3302 | .Elpm, | ||
| 3419 | .Movw, | 3303 | .Movw, |
| 3304 | .Elpmx, | ||
| 3305 | .Spm, | ||
| 3306 | .Avr0, | ||
| 3307 | .Sram, | ||
| 3308 | .Jmpcall, | ||
| 3420 | .Eijmpcall, | 3309 | .Eijmpcall, |
| 3310 | .Spmx, | ||
| 3311 | .Addsubiw, | ||
| 3421 | .Mul, | 3312 | .Mul, |
| 3422 | .Sram, | 3313 | .Lpmx, |
| 3314 | .Des, | ||
| 3315 | .Ijmpcall, | ||
| 3423 | .Break, | 3316 | .Break, |
| 3424 | .Spm, | 3317 | .Xmega, |
| 3318 | }), | ||
| 3319 | CpuInfo(@This(), FeatureType).create(.Atxmega32x1, "atxmega32x1", &[_]FeatureType { | ||
| 3320 | .Lpm, | ||
| 3425 | .Elpm, | 3321 | .Elpm, |
| 3426 | .Lpmx, | 3322 | .Movw, |
| 3427 | .Spmx, | 3323 | .Elpmx, |
| 3324 | .Spm, | ||
| 3428 | .Avr0, | 3325 | .Avr0, |
| 3326 | .Sram, | ||
| 3429 | .Jmpcall, | 3327 | .Jmpcall, |
| 3328 | .Eijmpcall, | ||
| 3329 | .Spmx, | ||
| 3430 | .Addsubiw, | 3330 | .Addsubiw, |
| 3431 | .Lpm, | 3331 | .Mul, |
| 3332 | .Lpmx, | ||
| 3432 | .Des, | 3333 | .Des, |
| 3433 | .Xmega, | ||
| 3434 | }, | ||
| 3435 | CpuInfo(@This()).create(.Atxmega64a3u, "atxmega64a3u", &[_]FeatureType { | ||
| 3436 | .Ijmpcall, | 3334 | .Ijmpcall, |
| 3437 | .Elpmx, | 3335 | .Break, |
| 3336 | .Xmega, | ||
| 3337 | }), | ||
| 3338 | CpuInfo(@This(), FeatureType).create(.Atxmega384c3, "atxmega384c3", &[_]FeatureType { | ||
| 3339 | .Lpm, | ||
| 3340 | .Elpm, | ||
| 3438 | .Movw, | 3341 | .Movw, |
| 3342 | .Elpmx, | ||
| 3343 | .Spm, | ||
| 3344 | .Avr0, | ||
| 3345 | .Sram, | ||
| 3346 | .Jmpcall, | ||
| 3439 | .Eijmpcall, | 3347 | .Eijmpcall, |
| 3348 | .Spmx, | ||
| 3349 | .Addsubiw, | ||
| 3440 | .Mul, | 3350 | .Mul, |
| 3351 | .Lpmx, | ||
| 3441 | .Rmw, | 3352 | .Rmw, |
| 3442 | .Sram, | 3353 | .Des, |
| 3354 | .Ijmpcall, | ||
| 3443 | .Break, | 3355 | .Break, |
| 3444 | .Spm, | 3356 | .Xmegau, |
| 3357 | }), | ||
| 3358 | CpuInfo(@This(), FeatureType).create(.Atxmega384d3, "atxmega384d3", &[_]FeatureType { | ||
| 3359 | .Lpm, | ||
| 3445 | .Elpm, | 3360 | .Elpm, |
| 3446 | .Lpmx, | 3361 | .Movw, |
| 3447 | .Spmx, | 3362 | .Elpmx, |
| 3363 | .Spm, | ||
| 3448 | .Avr0, | 3364 | .Avr0, |
| 3365 | .Sram, | ||
| 3449 | .Jmpcall, | 3366 | .Jmpcall, |
| 3367 | .Eijmpcall, | ||
| 3368 | .Spmx, | ||
| 3450 | .Addsubiw, | 3369 | .Addsubiw, |
| 3451 | .Lpm, | 3370 | .Mul, |
| 3371 | .Lpmx, | ||
| 3452 | .Des, | 3372 | .Des, |
| 3453 | .Xmegau, | ||
| 3454 | }, | ||
| 3455 | CpuInfo(@This()).create(.Atxmega64a4u, "atxmega64a4u", &[_]FeatureType { | ||
| 3456 | .Ijmpcall, | 3373 | .Ijmpcall, |
| 3457 | .Elpmx, | ||
| 3458 | .Movw, | ||
| 3459 | .Eijmpcall, | ||
| 3460 | .Mul, | ||
| 3461 | .Rmw, | ||
| 3462 | .Sram, | ||
| 3463 | .Break, | 3374 | .Break, |
| 3464 | .Spm, | 3375 | .Xmega, |
| 3376 | }), | ||
| 3377 | CpuInfo(@This(), FeatureType).create(.Atxmega64a1, "atxmega64a1", &[_]FeatureType { | ||
| 3378 | .Lpm, | ||
| 3465 | .Elpm, | 3379 | .Elpm, |
| 3466 | .Lpmx, | 3380 | .Movw, |
| 3467 | .Spmx, | 3381 | .Elpmx, |
| 3382 | .Spm, | ||
| 3468 | .Avr0, | 3383 | .Avr0, |
| 3384 | .Sram, | ||
| 3469 | .Jmpcall, | 3385 | .Jmpcall, |
| 3386 | .Eijmpcall, | ||
| 3387 | .Spmx, | ||
| 3470 | .Addsubiw, | 3388 | .Addsubiw, |
| 3471 | .Lpm, | 3389 | .Mul, |
| 3390 | .Lpmx, | ||
| 3472 | .Des, | 3391 | .Des, |
| 3473 | .Xmegau, | ||
| 3474 | }, | ||
| 3475 | CpuInfo(@This()).create(.Atxmega64b1, "atxmega64b1", &[_]FeatureType { | ||
| 3476 | .Ijmpcall, | 3392 | .Ijmpcall, |
| 3477 | .Elpmx, | 3393 | .Break, |
| 3394 | .Xmega, | ||
| 3395 | }), | ||
| 3396 | CpuInfo(@This(), FeatureType).create(.Atxmega64a1u, "atxmega64a1u", &[_]FeatureType { | ||
| 3397 | .Lpm, | ||
| 3398 | .Elpm, | ||
| 3478 | .Movw, | 3399 | .Movw, |
| 3400 | .Elpmx, | ||
| 3401 | .Spm, | ||
| 3402 | .Avr0, | ||
| 3403 | .Sram, | ||
| 3404 | .Jmpcall, | ||
| 3479 | .Eijmpcall, | 3405 | .Eijmpcall, |
| 3406 | .Spmx, | ||
| 3407 | .Addsubiw, | ||
| 3480 | .Mul, | 3408 | .Mul, |
| 3409 | .Lpmx, | ||
| 3481 | .Rmw, | 3410 | .Rmw, |
| 3482 | .Sram, | 3411 | .Des, |
| 3412 | .Ijmpcall, | ||
| 3483 | .Break, | 3413 | .Break, |
| 3484 | .Spm, | 3414 | .Xmegau, |
| 3415 | }), | ||
| 3416 | CpuInfo(@This(), FeatureType).create(.Atxmega64a3, "atxmega64a3", &[_]FeatureType { | ||
| 3417 | .Lpm, | ||
| 3485 | .Elpm, | 3418 | .Elpm, |
| 3486 | .Lpmx, | 3419 | .Movw, |
| 3487 | .Spmx, | 3420 | .Elpmx, |
| 3421 | .Spm, | ||
| 3488 | .Avr0, | 3422 | .Avr0, |
| 3423 | .Sram, | ||
| 3489 | .Jmpcall, | 3424 | .Jmpcall, |
| 3425 | .Eijmpcall, | ||
| 3426 | .Spmx, | ||
| 3490 | .Addsubiw, | 3427 | .Addsubiw, |
| 3491 | .Lpm, | 3428 | .Mul, |
| 3429 | .Lpmx, | ||
| 3492 | .Des, | 3430 | .Des, |
| 3493 | .Xmegau, | ||
| 3494 | }, | ||
| 3495 | CpuInfo(@This()).create(.Atxmega64b3, "atxmega64b3", &[_]FeatureType { | ||
| 3496 | .Ijmpcall, | 3431 | .Ijmpcall, |
| 3497 | .Elpmx, | 3432 | .Break, |
| 3433 | .Xmega, | ||
| 3434 | }), | ||
| 3435 | CpuInfo(@This(), FeatureType).create(.Atxmega64a3u, "atxmega64a3u", &[_]FeatureType { | ||
| 3436 | .Lpm, | ||
| 3437 | .Elpm, | ||
| 3498 | .Movw, | 3438 | .Movw, |
| 3439 | .Elpmx, | ||
| 3440 | .Spm, | ||
| 3441 | .Avr0, | ||
| 3442 | .Sram, | ||
| 3443 | .Jmpcall, | ||
| 3499 | .Eijmpcall, | 3444 | .Eijmpcall, |
| 3445 | .Spmx, | ||
| 3446 | .Addsubiw, | ||
| 3500 | .Mul, | 3447 | .Mul, |
| 3448 | .Lpmx, | ||
| 3501 | .Rmw, | 3449 | .Rmw, |
| 3502 | .Sram, | 3450 | .Des, |
| 3451 | .Ijmpcall, | ||
| 3503 | .Break, | 3452 | .Break, |
| 3504 | .Spm, | 3453 | .Xmegau, |
| 3454 | }), | ||
| 3455 | CpuInfo(@This(), FeatureType).create(.Atxmega64a4u, "atxmega64a4u", &[_]FeatureType { | ||
| 3456 | .Lpm, | ||
| 3505 | .Elpm, | 3457 | .Elpm, |
| 3506 | .Lpmx, | 3458 | .Movw, |
| 3507 | .Spmx, | 3459 | .Elpmx, |
| 3460 | .Spm, | ||
| 3508 | .Avr0, | 3461 | .Avr0, |
| 3462 | .Sram, | ||
| 3509 | .Jmpcall, | 3463 | .Jmpcall, |
| 3464 | .Eijmpcall, | ||
| 3465 | .Spmx, | ||
| 3510 | .Addsubiw, | 3466 | .Addsubiw, |
| 3511 | .Lpm, | 3467 | .Mul, |
| 3468 | .Lpmx, | ||
| 3469 | .Rmw, | ||
| 3512 | .Des, | 3470 | .Des, |
| 3513 | .Xmegau, | ||
| 3514 | }, | ||
| 3515 | CpuInfo(@This()).create(.Atxmega64c3, "atxmega64c3", &[_]FeatureType { | ||
| 3516 | .Ijmpcall, | 3471 | .Ijmpcall, |
| 3517 | .Elpmx, | 3472 | .Break, |
| 3473 | .Xmegau, | ||
| 3474 | }), | ||
| 3475 | CpuInfo(@This(), FeatureType).create(.Atxmega64b1, "atxmega64b1", &[_]FeatureType { | ||
| 3476 | .Lpm, | ||
| 3477 | .Elpm, | ||
| 3518 | .Movw, | 3478 | .Movw, |
| 3479 | .Elpmx, | ||
| 3480 | .Spm, | ||
| 3481 | .Avr0, | ||
| 3482 | .Sram, | ||
| 3483 | .Jmpcall, | ||
| 3519 | .Eijmpcall, | 3484 | .Eijmpcall, |
| 3485 | .Spmx, | ||
| 3486 | .Addsubiw, | ||
| 3520 | .Mul, | 3487 | .Mul, |
| 3488 | .Lpmx, | ||
| 3521 | .Rmw, | 3489 | .Rmw, |
| 3522 | .Sram, | 3490 | .Des, |
| 3491 | .Ijmpcall, | ||
| 3523 | .Break, | 3492 | .Break, |
| 3524 | .Spm, | 3493 | .Xmegau, |
| 3494 | }), | ||
| 3495 | CpuInfo(@This(), FeatureType).create(.Atxmega64b3, "atxmega64b3", &[_]FeatureType { | ||
| 3496 | .Lpm, | ||
| 3525 | .Elpm, | 3497 | .Elpm, |
| 3526 | .Lpmx, | 3498 | .Movw, |
| 3527 | .Spmx, | 3499 | .Elpmx, |
| 3500 | .Spm, | ||
| 3528 | .Avr0, | 3501 | .Avr0, |
| 3502 | .Sram, | ||
| 3529 | .Jmpcall, | 3503 | .Jmpcall, |
| 3504 | .Eijmpcall, | ||
| 3505 | .Spmx, | ||
| 3530 | .Addsubiw, | 3506 | .Addsubiw, |
| 3531 | .Lpm, | 3507 | .Mul, |
| 3508 | .Lpmx, | ||
| 3509 | .Rmw, | ||
| 3532 | .Des, | 3510 | .Des, |
| 3533 | .Xmegau, | ||
| 3534 | }, | ||
| 3535 | CpuInfo(@This()).create(.Atxmega64d3, "atxmega64d3", &[_]FeatureType { | ||
| 3536 | .Ijmpcall, | 3511 | .Ijmpcall, |
| 3537 | .Elpmx, | ||
| 3538 | .Movw, | ||
| 3539 | .Eijmpcall, | ||
| 3540 | .Mul, | ||
| 3541 | .Sram, | ||
| 3542 | .Break, | 3512 | .Break, |
| 3543 | .Spm, | 3513 | .Xmegau, |
| 3514 | }), | ||
| 3515 | CpuInfo(@This(), FeatureType).create(.Atxmega64c3, "atxmega64c3", &[_]FeatureType { | ||
| 3516 | .Lpm, | ||
| 3544 | .Elpm, | 3517 | .Elpm, |
| 3545 | .Lpmx, | 3518 | .Movw, |
| 3546 | .Spmx, | 3519 | .Elpmx, |
| 3520 | .Spm, | ||
| 3547 | .Avr0, | 3521 | .Avr0, |
| 3522 | .Sram, | ||
| 3548 | .Jmpcall, | 3523 | .Jmpcall, |
| 3524 | .Eijmpcall, | ||
| 3525 | .Spmx, | ||
| 3549 | .Addsubiw, | 3526 | .Addsubiw, |
| 3550 | .Lpm, | 3527 | .Mul, |
| 3528 | .Lpmx, | ||
| 3529 | .Rmw, | ||
| 3551 | .Des, | 3530 | .Des, |
| 3552 | .Xmega, | ||
| 3553 | }, | ||
| 3554 | CpuInfo(@This()).create(.Atxmega64d4, "atxmega64d4", &[_]FeatureType { | ||
| 3555 | .Ijmpcall, | 3531 | .Ijmpcall, |
| 3556 | .Elpmx, | ||
| 3557 | .Movw, | ||
| 3558 | .Eijmpcall, | ||
| 3559 | .Mul, | ||
| 3560 | .Sram, | ||
| 3561 | .Break, | 3532 | .Break, |
| 3562 | .Spm, | 3533 | .Xmegau, |
| 3534 | }), | ||
| 3535 | CpuInfo(@This(), FeatureType).create(.Atxmega64d3, "atxmega64d3", &[_]FeatureType { | ||
| 3536 | .Lpm, | ||
| 3563 | .Elpm, | 3537 | .Elpm, |
| 3564 | .Lpmx, | 3538 | .Movw, |
| 3565 | .Spmx, | 3539 | .Elpmx, |
| 3540 | .Spm, | ||
| 3566 | .Avr0, | 3541 | .Avr0, |
| 3542 | .Sram, | ||
| 3567 | .Jmpcall, | 3543 | .Jmpcall, |
| 3544 | .Eijmpcall, | ||
| 3545 | .Spmx, | ||
| 3568 | .Addsubiw, | 3546 | .Addsubiw, |
| 3569 | .Lpm, | 3547 | .Mul, |
| 3548 | .Lpmx, | ||
| 3570 | .Des, | 3549 | .Des, |
| 3571 | .Xmega, | ||
| 3572 | }, | ||
| 3573 | CpuInfo(@This()).create(.Atxmega8e5, "atxmega8e5", &[_]FeatureType { | ||
| 3574 | .Ijmpcall, | 3550 | .Ijmpcall, |
| 3575 | .Elpmx, | 3551 | .Break, |
| 3552 | .Xmega, | ||
| 3553 | }), | ||
| 3554 | CpuInfo(@This(), FeatureType).create(.Atxmega64d4, "atxmega64d4", &[_]FeatureType { | ||
| 3555 | .Lpm, | ||
| 3556 | .Elpm, | ||
| 3576 | .Movw, | 3557 | .Movw, |
| 3558 | .Elpmx, | ||
| 3559 | .Spm, | ||
| 3560 | .Avr0, | ||
| 3561 | .Sram, | ||
| 3562 | .Jmpcall, | ||
| 3577 | .Eijmpcall, | 3563 | .Eijmpcall, |
| 3564 | .Spmx, | ||
| 3565 | .Addsubiw, | ||
| 3578 | .Mul, | 3566 | .Mul, |
| 3579 | .Sram, | 3567 | .Lpmx, |
| 3568 | .Des, | ||
| 3569 | .Ijmpcall, | ||
| 3580 | .Break, | 3570 | .Break, |
| 3581 | .Spm, | 3571 | .Xmega, |
| 3572 | }), | ||
| 3573 | CpuInfo(@This(), FeatureType).create(.Atxmega8e5, "atxmega8e5", &[_]FeatureType { | ||
| 3574 | .Lpm, | ||
| 3582 | .Elpm, | 3575 | .Elpm, |
| 3583 | .Lpmx, | 3576 | .Movw, |
| 3584 | .Spmx, | 3577 | .Elpmx, |
| 3578 | .Spm, | ||
| 3585 | .Avr0, | 3579 | .Avr0, |
| 3580 | .Sram, | ||
| 3586 | .Jmpcall, | 3581 | .Jmpcall, |
| 3582 | .Eijmpcall, | ||
| 3583 | .Spmx, | ||
| 3587 | .Addsubiw, | 3584 | .Addsubiw, |
| 3588 | .Lpm, | 3585 | .Mul, |
| 3586 | .Lpmx, | ||
| 3589 | .Des, | 3587 | .Des, |
| 3588 | .Ijmpcall, | ||
| 3589 | .Break, | ||
| 3590 | .Xmega, | 3590 | .Xmega, |
| 3591 | }, | 3591 | }), |
| 3592 | CpuInfo(@This()).create(.Avr1, "avr1", &[_]FeatureType { | 3592 | CpuInfo(@This(), FeatureType).create(.Avr1, "avr1", &[_]FeatureType { |
| 3593 | .Lpm, | ||
| 3594 | .Avr0, | 3593 | .Avr0, |
| 3594 | .Lpm, | ||
| 3595 | .Avr1, | 3595 | .Avr1, |
| 3596 | }, | 3596 | }), |
| 3597 | CpuInfo(@This()).create(.Avr2, "avr2", &[_]FeatureType { | 3597 | CpuInfo(@This(), FeatureType).create(.Avr2, "avr2", &[_]FeatureType { |
| 3598 | .Ijmpcall, | 3598 | .Lpm, |
| 3599 | .Sram, | ||
| 3600 | .Avr0, | 3599 | .Avr0, |
| 3600 | .Sram, | ||
| 3601 | .Addsubiw, | 3601 | .Addsubiw, |
| 3602 | .Lpm, | ||
| 3603 | .Avr2, | ||
| 3604 | }, | ||
| 3605 | CpuInfo(@This()).create(.Avr25, "avr25", &[_]FeatureType { | ||
| 3606 | .Ijmpcall, | 3602 | .Ijmpcall, |
| 3603 | .Avr2, | ||
| 3604 | }), | ||
| 3605 | CpuInfo(@This(), FeatureType).create(.Avr25, "avr25", &[_]FeatureType { | ||
| 3606 | .Lpm, | ||
| 3607 | .Movw, | 3607 | .Movw, |
| 3608 | .Sram, | ||
| 3609 | .Break, | ||
| 3610 | .Spm, | 3608 | .Spm, |
| 3611 | .Lpmx, | ||
| 3612 | .Avr0, | 3609 | .Avr0, |
| 3610 | .Sram, | ||
| 3613 | .Addsubiw, | 3611 | .Addsubiw, |
| 3614 | .Lpm, | 3612 | .Lpmx, |
| 3615 | .Avr25, | ||
| 3616 | }, | ||
| 3617 | CpuInfo(@This()).create(.Avr3, "avr3", &[_]FeatureType { | ||
| 3618 | .Ijmpcall, | 3613 | .Ijmpcall, |
| 3619 | .Sram, | 3614 | .Break, |
| 3615 | .Avr25, | ||
| 3616 | }), | ||
| 3617 | CpuInfo(@This(), FeatureType).create(.Avr3, "avr3", &[_]FeatureType { | ||
| 3618 | .Lpm, | ||
| 3620 | .Avr0, | 3619 | .Avr0, |
| 3620 | .Sram, | ||
| 3621 | .Jmpcall, | 3621 | .Jmpcall, |
| 3622 | .Addsubiw, | 3622 | .Addsubiw, |
| 3623 | .Lpm, | ||
| 3624 | .Avr3, | ||
| 3625 | }, | ||
| 3626 | CpuInfo(@This()).create(.Avr31, "avr31", &[_]FeatureType { | ||
| 3627 | .Ijmpcall, | 3623 | .Ijmpcall, |
| 3628 | .Sram, | 3624 | .Avr3, |
| 3625 | }), | ||
| 3626 | CpuInfo(@This(), FeatureType).create(.Avr31, "avr31", &[_]FeatureType { | ||
| 3627 | .Lpm, | ||
| 3629 | .Elpm, | 3628 | .Elpm, |
| 3630 | .Avr0, | 3629 | .Avr0, |
| 3630 | .Sram, | ||
| 3631 | .Jmpcall, | 3631 | .Jmpcall, |
| 3632 | .Addsubiw, | 3632 | .Addsubiw, |
| 3633 | .Lpm, | ||
| 3634 | .Avr31, | ||
| 3635 | }, | ||
| 3636 | CpuInfo(@This()).create(.Avr35, "avr35", &[_]FeatureType { | ||
| 3637 | .Ijmpcall, | 3633 | .Ijmpcall, |
| 3634 | .Avr31, | ||
| 3635 | }), | ||
| 3636 | CpuInfo(@This(), FeatureType).create(.Avr35, "avr35", &[_]FeatureType { | ||
| 3637 | .Lpm, | ||
| 3638 | .Movw, | 3638 | .Movw, |
| 3639 | .Sram, | ||
| 3640 | .Break, | ||
| 3641 | .Spm, | 3639 | .Spm, |
| 3642 | .Lpmx, | ||
| 3643 | .Avr0, | 3640 | .Avr0, |
| 3641 | .Sram, | ||
| 3644 | .Jmpcall, | 3642 | .Jmpcall, |
| 3645 | .Addsubiw, | 3643 | .Addsubiw, |
| 3646 | .Lpm, | 3644 | .Lpmx, |
| 3647 | .Avr35, | ||
| 3648 | }, | ||
| 3649 | CpuInfo(@This()).create(.Avr4, "avr4", &[_]FeatureType { | ||
| 3650 | .Ijmpcall, | 3645 | .Ijmpcall, |
| 3651 | .Movw, | ||
| 3652 | .Mul, | ||
| 3653 | .Sram, | ||
| 3654 | .Break, | 3646 | .Break, |
| 3647 | .Avr35, | ||
| 3648 | }), | ||
| 3649 | CpuInfo(@This(), FeatureType).create(.Avr4, "avr4", &[_]FeatureType { | ||
| 3650 | .Lpm, | ||
| 3651 | .Movw, | ||
| 3655 | .Spm, | 3652 | .Spm, |
| 3656 | .Lpmx, | ||
| 3657 | .Avr0, | 3653 | .Avr0, |
| 3654 | .Sram, | ||
| 3658 | .Addsubiw, | 3655 | .Addsubiw, |
| 3659 | .Lpm, | ||
| 3660 | .Avr4, | ||
| 3661 | }, | ||
| 3662 | CpuInfo(@This()).create(.Avr5, "avr5", &[_]FeatureType { | ||
| 3663 | .Ijmpcall, | ||
| 3664 | .Movw, | ||
| 3665 | .Mul, | 3656 | .Mul, |
| 3666 | .Sram, | 3657 | .Lpmx, |
| 3658 | .Ijmpcall, | ||
| 3667 | .Break, | 3659 | .Break, |
| 3660 | .Avr4, | ||
| 3661 | }), | ||
| 3662 | CpuInfo(@This(), FeatureType).create(.Avr5, "avr5", &[_]FeatureType { | ||
| 3663 | .Lpm, | ||
| 3664 | .Movw, | ||
| 3668 | .Spm, | 3665 | .Spm, |
| 3669 | .Lpmx, | ||
| 3670 | .Avr0, | 3666 | .Avr0, |
| 3667 | .Sram, | ||
| 3671 | .Jmpcall, | 3668 | .Jmpcall, |
| 3672 | .Addsubiw, | 3669 | .Addsubiw, |
| 3673 | .Lpm, | ||
| 3674 | .Avr5, | ||
| 3675 | }, | ||
| 3676 | CpuInfo(@This()).create(.Avr51, "avr51", &[_]FeatureType { | ||
| 3677 | .Ijmpcall, | ||
| 3678 | .Elpmx, | ||
| 3679 | .Movw, | ||
| 3680 | .Mul, | 3670 | .Mul, |
| 3681 | .Sram, | 3671 | .Lpmx, |
| 3672 | .Ijmpcall, | ||
| 3682 | .Break, | 3673 | .Break, |
| 3683 | .Spm, | 3674 | .Avr5, |
| 3675 | }), | ||
| 3676 | CpuInfo(@This(), FeatureType).create(.Avr51, "avr51", &[_]FeatureType { | ||
| 3677 | .Lpm, | ||
| 3684 | .Elpm, | 3678 | .Elpm, |
| 3685 | .Lpmx, | 3679 | .Movw, |
| 3680 | .Elpmx, | ||
| 3681 | .Spm, | ||
| 3686 | .Avr0, | 3682 | .Avr0, |
| 3683 | .Sram, | ||
| 3687 | .Jmpcall, | 3684 | .Jmpcall, |
| 3688 | .Addsubiw, | 3685 | .Addsubiw, |
| 3689 | .Lpm, | ||
| 3690 | .Avr51, | ||
| 3691 | }, | ||
| 3692 | CpuInfo(@This()).create(.Avr6, "avr6", &[_]FeatureType { | ||
| 3693 | .Ijmpcall, | ||
| 3694 | .Elpmx, | ||
| 3695 | .Movw, | ||
| 3696 | .Mul, | 3686 | .Mul, |
| 3697 | .Sram, | 3687 | .Lpmx, |
| 3688 | .Ijmpcall, | ||
| 3698 | .Break, | 3689 | .Break, |
| 3699 | .Spm, | 3690 | .Avr51, |
| 3691 | }), | ||
| 3692 | CpuInfo(@This(), FeatureType).create(.Avr6, "avr6", &[_]FeatureType { | ||
| 3693 | .Lpm, | ||
| 3700 | .Elpm, | 3694 | .Elpm, |
| 3701 | .Lpmx, | 3695 | .Movw, |
| 3696 | .Elpmx, | ||
| 3697 | .Spm, | ||
| 3702 | .Avr0, | 3698 | .Avr0, |
| 3699 | .Sram, | ||
| 3703 | .Jmpcall, | 3700 | .Jmpcall, |
| 3704 | .Addsubiw, | 3701 | .Addsubiw, |
| 3705 | .Lpm, | 3702 | .Mul, |
| 3706 | .Avr6, | 3703 | .Lpmx, |
| 3707 | }, | 3704 | .Ijmpcall, |
| 3708 | CpuInfo(@This()).create(.Avrtiny, "avrtiny", &[_]FeatureType { | ||
| 3709 | .Break, | 3705 | .Break, |
| 3710 | .Tinyencoding, | 3706 | .Avr6, |
| 3707 | }), | ||
| 3708 | CpuInfo(@This(), FeatureType).create(.Avrtiny, "avrtiny", &[_]FeatureType { | ||
| 3711 | .Avr0, | 3709 | .Avr0, |
| 3712 | .Sram, | 3710 | .Sram, |
| 3711 | .Break, | ||
| 3712 | .Tinyencoding, | ||
| 3713 | .Avrtiny, | 3713 | .Avrtiny, |
| 3714 | }, | 3714 | }), |
| 3715 | CpuInfo(@This()).create(.Avrxmega1, "avrxmega1", &[_]FeatureType { | 3715 | CpuInfo(@This(), FeatureType).create(.Avrxmega1, "avrxmega1", &[_]FeatureType { |
| 3716 | .Ijmpcall, | 3716 | .Lpm, |
| 3717 | .Elpmx, | 3717 | .Elpm, |
| 3718 | .Movw, | 3718 | .Movw, |
| 3719 | .Eijmpcall, | 3719 | .Elpmx, |
| 3720 | .Mul, | ||
| 3721 | .Sram, | ||
| 3722 | .Break, | ||
| 3723 | .Spm, | 3720 | .Spm, |
| 3724 | .Elpm, | ||
| 3725 | .Lpmx, | ||
| 3726 | .Spmx, | ||
| 3727 | .Avr0, | 3721 | .Avr0, |
| 3722 | .Sram, | ||
| 3728 | .Jmpcall, | 3723 | .Jmpcall, |
| 3724 | .Eijmpcall, | ||
| 3725 | .Spmx, | ||
| 3729 | .Addsubiw, | 3726 | .Addsubiw, |
| 3730 | .Lpm, | 3727 | .Mul, |
| 3728 | .Lpmx, | ||
| 3731 | .Des, | 3729 | .Des, |
| 3732 | .Xmega, | ||
| 3733 | }, | ||
| 3734 | CpuInfo(@This()).create(.Avrxmega2, "avrxmega2", &[_]FeatureType { | ||
| 3735 | .Ijmpcall, | 3730 | .Ijmpcall, |
| 3736 | .Elpmx, | ||
| 3737 | .Movw, | ||
| 3738 | .Eijmpcall, | ||
| 3739 | .Mul, | ||
| 3740 | .Sram, | ||
| 3741 | .Break, | 3731 | .Break, |
| 3742 | .Spm, | 3732 | .Xmega, |
| 3733 | }), | ||
| 3734 | CpuInfo(@This(), FeatureType).create(.Avrxmega2, "avrxmega2", &[_]FeatureType { | ||
| 3735 | .Lpm, | ||
| 3743 | .Elpm, | 3736 | .Elpm, |
| 3744 | .Lpmx, | 3737 | .Movw, |
| 3745 | .Spmx, | 3738 | .Elpmx, |
| 3739 | .Spm, | ||
| 3746 | .Avr0, | 3740 | .Avr0, |
| 3741 | .Sram, | ||
| 3747 | .Jmpcall, | 3742 | .Jmpcall, |
| 3743 | .Eijmpcall, | ||
| 3744 | .Spmx, | ||
| 3748 | .Addsubiw, | 3745 | .Addsubiw, |
| 3749 | .Lpm, | 3746 | .Mul, |
| 3747 | .Lpmx, | ||
| 3750 | .Des, | 3748 | .Des, |
| 3751 | .Xmega, | ||
| 3752 | }, | ||
| 3753 | CpuInfo(@This()).create(.Avrxmega3, "avrxmega3", &[_]FeatureType { | ||
| 3754 | .Ijmpcall, | 3749 | .Ijmpcall, |
| 3755 | .Elpmx, | ||
| 3756 | .Movw, | ||
| 3757 | .Eijmpcall, | ||
| 3758 | .Mul, | ||
| 3759 | .Sram, | ||
| 3760 | .Break, | 3750 | .Break, |
| 3761 | .Spm, | 3751 | .Xmega, |
| 3752 | }), | ||
| 3753 | CpuInfo(@This(), FeatureType).create(.Avrxmega3, "avrxmega3", &[_]FeatureType { | ||
| 3754 | .Lpm, | ||
| 3762 | .Elpm, | 3755 | .Elpm, |
| 3763 | .Lpmx, | 3756 | .Movw, |
| 3764 | .Spmx, | 3757 | .Elpmx, |
| 3758 | .Spm, | ||
| 3765 | .Avr0, | 3759 | .Avr0, |
| 3760 | .Sram, | ||
| 3766 | .Jmpcall, | 3761 | .Jmpcall, |
| 3762 | .Eijmpcall, | ||
| 3763 | .Spmx, | ||
| 3767 | .Addsubiw, | 3764 | .Addsubiw, |
| 3768 | .Lpm, | 3765 | .Mul, |
| 3766 | .Lpmx, | ||
| 3769 | .Des, | 3767 | .Des, |
| 3770 | .Xmega, | ||
| 3771 | }, | ||
| 3772 | CpuInfo(@This()).create(.Avrxmega4, "avrxmega4", &[_]FeatureType { | ||
| 3773 | .Ijmpcall, | 3768 | .Ijmpcall, |
| 3774 | .Elpmx, | ||
| 3775 | .Movw, | ||
| 3776 | .Eijmpcall, | ||
| 3777 | .Mul, | ||
| 3778 | .Sram, | ||
| 3779 | .Break, | 3769 | .Break, |
| 3780 | .Spm, | 3770 | .Xmega, |
| 3771 | }), | ||
| 3772 | CpuInfo(@This(), FeatureType).create(.Avrxmega4, "avrxmega4", &[_]FeatureType { | ||
| 3773 | .Lpm, | ||
| 3781 | .Elpm, | 3774 | .Elpm, |
| 3782 | .Lpmx, | 3775 | .Movw, |
| 3783 | .Spmx, | 3776 | .Elpmx, |
| 3777 | .Spm, | ||
| 3784 | .Avr0, | 3778 | .Avr0, |
| 3779 | .Sram, | ||
| 3785 | .Jmpcall, | 3780 | .Jmpcall, |
| 3781 | .Eijmpcall, | ||
| 3782 | .Spmx, | ||
| 3786 | .Addsubiw, | 3783 | .Addsubiw, |
| 3787 | .Lpm, | 3784 | .Mul, |
| 3785 | .Lpmx, | ||
| 3788 | .Des, | 3786 | .Des, |
| 3789 | .Xmega, | ||
| 3790 | }, | ||
| 3791 | CpuInfo(@This()).create(.Avrxmega5, "avrxmega5", &[_]FeatureType { | ||
| 3792 | .Ijmpcall, | 3787 | .Ijmpcall, |
| 3793 | .Elpmx, | ||
| 3794 | .Movw, | ||
| 3795 | .Eijmpcall, | ||
| 3796 | .Mul, | ||
| 3797 | .Sram, | ||
| 3798 | .Break, | 3788 | .Break, |
| 3799 | .Spm, | 3789 | .Xmega, |
| 3790 | }), | ||
| 3791 | CpuInfo(@This(), FeatureType).create(.Avrxmega5, "avrxmega5", &[_]FeatureType { | ||
| 3792 | .Lpm, | ||
| 3800 | .Elpm, | 3793 | .Elpm, |
| 3801 | .Lpmx, | 3794 | .Movw, |
| 3802 | .Spmx, | 3795 | .Elpmx, |
| 3796 | .Spm, | ||
| 3803 | .Avr0, | 3797 | .Avr0, |
| 3798 | .Sram, | ||
| 3804 | .Jmpcall, | 3799 | .Jmpcall, |
| 3800 | .Eijmpcall, | ||
| 3801 | .Spmx, | ||
| 3805 | .Addsubiw, | 3802 | .Addsubiw, |
| 3806 | .Lpm, | 3803 | .Mul, |
| 3804 | .Lpmx, | ||
| 3807 | .Des, | 3805 | .Des, |
| 3808 | .Xmega, | ||
| 3809 | }, | ||
| 3810 | CpuInfo(@This()).create(.Avrxmega6, "avrxmega6", &[_]FeatureType { | ||
| 3811 | .Ijmpcall, | 3806 | .Ijmpcall, |
| 3812 | .Elpmx, | ||
| 3813 | .Movw, | ||
| 3814 | .Eijmpcall, | ||
| 3815 | .Mul, | ||
| 3816 | .Sram, | ||
| 3817 | .Break, | 3807 | .Break, |
| 3818 | .Spm, | 3808 | .Xmega, |
| 3809 | }), | ||
| 3810 | CpuInfo(@This(), FeatureType).create(.Avrxmega6, "avrxmega6", &[_]FeatureType { | ||
| 3811 | .Lpm, | ||
| 3819 | .Elpm, | 3812 | .Elpm, |
| 3820 | .Lpmx, | 3813 | .Movw, |
| 3821 | .Spmx, | 3814 | .Elpmx, |
| 3815 | .Spm, | ||
| 3822 | .Avr0, | 3816 | .Avr0, |
| 3817 | .Sram, | ||
| 3823 | .Jmpcall, | 3818 | .Jmpcall, |
| 3819 | .Eijmpcall, | ||
| 3820 | .Spmx, | ||
| 3824 | .Addsubiw, | 3821 | .Addsubiw, |
| 3825 | .Lpm, | 3822 | .Mul, |
| 3823 | .Lpmx, | ||
| 3826 | .Des, | 3824 | .Des, |
| 3827 | .Xmega, | ||
| 3828 | }, | ||
| 3829 | CpuInfo(@This()).create(.Avrxmega7, "avrxmega7", &[_]FeatureType { | ||
| 3830 | .Ijmpcall, | 3825 | .Ijmpcall, |
| 3831 | .Elpmx, | ||
| 3832 | .Movw, | ||
| 3833 | .Eijmpcall, | ||
| 3834 | .Mul, | ||
| 3835 | .Sram, | ||
| 3836 | .Break, | 3826 | .Break, |
| 3837 | .Spm, | 3827 | .Xmega, |
| 3828 | }), | ||
| 3829 | CpuInfo(@This(), FeatureType).create(.Avrxmega7, "avrxmega7", &[_]FeatureType { | ||
| 3830 | .Lpm, | ||
| 3838 | .Elpm, | 3831 | .Elpm, |
| 3839 | .Lpmx, | 3832 | .Movw, |
| 3840 | .Spmx, | 3833 | .Elpmx, |
| 3834 | .Spm, | ||
| 3841 | .Avr0, | 3835 | .Avr0, |
| 3836 | .Sram, | ||
| 3842 | .Jmpcall, | 3837 | .Jmpcall, |
| 3838 | .Eijmpcall, | ||
| 3839 | .Spmx, | ||
| 3843 | .Addsubiw, | 3840 | .Addsubiw, |
| 3844 | .Lpm, | 3841 | .Mul, |
| 3842 | .Lpmx, | ||
| 3845 | .Des, | 3843 | .Des, |
| 3846 | .Xmega, | ||
| 3847 | }, | ||
| 3848 | CpuInfo(@This()).create(.M3000, "m3000", &[_]FeatureType { | ||
| 3849 | .Ijmpcall, | 3844 | .Ijmpcall, |
| 3850 | .Movw, | ||
| 3851 | .Mul, | ||
| 3852 | .Sram, | ||
| 3853 | .Break, | 3845 | .Break, |
| 3846 | .Xmega, | ||
| 3847 | }), | ||
| 3848 | CpuInfo(@This(), FeatureType).create(.M3000, "m3000", &[_]FeatureType { | ||
| 3849 | .Lpm, | ||
| 3850 | .Movw, | ||
| 3854 | .Spm, | 3851 | .Spm, |
| 3855 | .Lpmx, | ||
| 3856 | .Avr0, | 3852 | .Avr0, |
| 3853 | .Sram, | ||
| 3857 | .Jmpcall, | 3854 | .Jmpcall, |
| 3858 | .Addsubiw, | 3855 | .Addsubiw, |
| 3859 | .Lpm, | 3856 | .Mul, |
| 3857 | .Lpmx, | ||
| 3858 | .Ijmpcall, | ||
| 3859 | .Break, | ||
| 3860 | .Avr5, | 3860 | .Avr5, |
| 3861 | }, | 3861 | }), |
| 3862 | }; | 3862 | }; |
| 3863 | }; | 3863 | }; |
lib/std/target/cpu/BpfCpu.zig+14-14| ... | @@ -8,22 +8,22 @@ pub const BpfCpu = enum { | ... | @@ -8,22 +8,22 @@ pub const BpfCpu = enum { |
| 8 | V2, | 8 | V2, |
| 9 | V3, | 9 | V3, |
| 10 | 10 | ||
| 11 | pub fn getInfo(self: @This()) CpuInfo { | 11 | const FeatureType = feature.BpfFeature; |
| 12 | |||
| 13 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 12 | return cpu_infos[@enumToInt(self)]; | 14 | return cpu_infos[@enumToInt(self)]; |
| 13 | } | 15 | } |
| 14 | 16 | ||
| 15 | pub const FeatureType = feature.BpfFeature; | 17 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 16 | 18 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { | |
| 17 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | 19 | }), |
| 18 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | 20 | CpuInfo(@This(), FeatureType).create(.Probe, "probe", &[_]FeatureType { |
| 19 | }, | 21 | }), |
| 20 | CpuInfo(@This()).create(.Probe, "probe", &[_]FeatureType { | 22 | CpuInfo(@This(), FeatureType).create(.V1, "v1", &[_]FeatureType { |
| 21 | }, | 23 | }), |
| 22 | CpuInfo(@This()).create(.V1, "v1", &[_]FeatureType { | 24 | CpuInfo(@This(), FeatureType).create(.V2, "v2", &[_]FeatureType { |
| 23 | }, | 25 | }), |
| 24 | CpuInfo(@This()).create(.V2, "v2", &[_]FeatureType { | 26 | CpuInfo(@This(), FeatureType).create(.V3, "v3", &[_]FeatureType { |
| 25 | }, | 27 | }), |
| 26 | CpuInfo(@This()).create(.V3, "v3", &[_]FeatureType { | ||
| 27 | }, | ||
| 28 | }; | 28 | }; |
| 29 | }; | 29 | }; |
lib/std/target/cpu/HexagonCpu.zig+18-18| ... | @@ -10,14 +10,14 @@ pub const HexagonCpu = enum { | ... | @@ -10,14 +10,14 @@ pub const HexagonCpu = enum { |
| 10 | Hexagonv65, | 10 | Hexagonv65, |
| 11 | Hexagonv66, | 11 | Hexagonv66, |
| 12 | 12 | ||
| 13 | pub fn getInfo(self: @This()) CpuInfo { | 13 | const FeatureType = feature.HexagonFeature; |
| 14 | |||
| 15 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 14 | return cpu_infos[@enumToInt(self)]; | 16 | return cpu_infos[@enumToInt(self)]; |
| 15 | } | 17 | } |
| 16 | 18 | ||
| 17 | pub const FeatureType = feature.HexagonFeature; | 19 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 18 | 20 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { | |
| 19 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 20 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | ||
| 21 | .V5, | 21 | .V5, |
| 22 | .V55, | 22 | .V55, |
| 23 | .V60, | 23 | .V60, |
| ... | @@ -27,8 +27,8 @@ pub const HexagonCpu = enum { | ... | @@ -27,8 +27,8 @@ pub const HexagonCpu = enum { |
| 27 | .Nvj, | 27 | .Nvj, |
| 28 | .Nvs, | 28 | .Nvs, |
| 29 | .SmallData, | 29 | .SmallData, |
| 30 | }, | 30 | }), |
| 31 | CpuInfo(@This()).create(.Hexagonv5, "hexagonv5", &[_]FeatureType { | 31 | CpuInfo(@This(), FeatureType).create(.Hexagonv5, "hexagonv5", &[_]FeatureType { |
| 32 | .V5, | 32 | .V5, |
| 33 | .Duplex, | 33 | .Duplex, |
| 34 | .Memops, | 34 | .Memops, |
| ... | @@ -36,8 +36,8 @@ pub const HexagonCpu = enum { | ... | @@ -36,8 +36,8 @@ pub const HexagonCpu = enum { |
| 36 | .Nvj, | 36 | .Nvj, |
| 37 | .Nvs, | 37 | .Nvs, |
| 38 | .SmallData, | 38 | .SmallData, |
| 39 | }, | 39 | }), |
| 40 | CpuInfo(@This()).create(.Hexagonv55, "hexagonv55", &[_]FeatureType { | 40 | CpuInfo(@This(), FeatureType).create(.Hexagonv55, "hexagonv55", &[_]FeatureType { |
| 41 | .V5, | 41 | .V5, |
| 42 | .V55, | 42 | .V55, |
| 43 | .Duplex, | 43 | .Duplex, |
| ... | @@ -46,8 +46,8 @@ pub const HexagonCpu = enum { | ... | @@ -46,8 +46,8 @@ pub const HexagonCpu = enum { |
| 46 | .Nvj, | 46 | .Nvj, |
| 47 | .Nvs, | 47 | .Nvs, |
| 48 | .SmallData, | 48 | .SmallData, |
| 49 | }, | 49 | }), |
| 50 | CpuInfo(@This()).create(.Hexagonv60, "hexagonv60", &[_]FeatureType { | 50 | CpuInfo(@This(), FeatureType).create(.Hexagonv60, "hexagonv60", &[_]FeatureType { |
| 51 | .V5, | 51 | .V5, |
| 52 | .V55, | 52 | .V55, |
| 53 | .V60, | 53 | .V60, |
| ... | @@ -57,8 +57,8 @@ pub const HexagonCpu = enum { | ... | @@ -57,8 +57,8 @@ pub const HexagonCpu = enum { |
| 57 | .Nvj, | 57 | .Nvj, |
| 58 | .Nvs, | 58 | .Nvs, |
| 59 | .SmallData, | 59 | .SmallData, |
| 60 | }, | 60 | }), |
| 61 | CpuInfo(@This()).create(.Hexagonv62, "hexagonv62", &[_]FeatureType { | 61 | CpuInfo(@This(), FeatureType).create(.Hexagonv62, "hexagonv62", &[_]FeatureType { |
| 62 | .V5, | 62 | .V5, |
| 63 | .V55, | 63 | .V55, |
| 64 | .V60, | 64 | .V60, |
| ... | @@ -69,8 +69,8 @@ pub const HexagonCpu = enum { | ... | @@ -69,8 +69,8 @@ pub const HexagonCpu = enum { |
| 69 | .Nvj, | 69 | .Nvj, |
| 70 | .Nvs, | 70 | .Nvs, |
| 71 | .SmallData, | 71 | .SmallData, |
| 72 | }, | 72 | }), |
| 73 | CpuInfo(@This()).create(.Hexagonv65, "hexagonv65", &[_]FeatureType { | 73 | CpuInfo(@This(), FeatureType).create(.Hexagonv65, "hexagonv65", &[_]FeatureType { |
| 74 | .V5, | 74 | .V5, |
| 75 | .V55, | 75 | .V55, |
| 76 | .V60, | 76 | .V60, |
| ... | @@ -83,8 +83,8 @@ pub const HexagonCpu = enum { | ... | @@ -83,8 +83,8 @@ pub const HexagonCpu = enum { |
| 83 | .Nvj, | 83 | .Nvj, |
| 84 | .Nvs, | 84 | .Nvs, |
| 85 | .SmallData, | 85 | .SmallData, |
| 86 | }, | 86 | }), |
| 87 | CpuInfo(@This()).create(.Hexagonv66, "hexagonv66", &[_]FeatureType { | 87 | CpuInfo(@This(), FeatureType).create(.Hexagonv66, "hexagonv66", &[_]FeatureType { |
| 88 | .V5, | 88 | .V5, |
| 89 | .V55, | 89 | .V55, |
| 90 | .V60, | 90 | .V60, |
| ... | @@ -98,6 +98,6 @@ pub const HexagonCpu = enum { | ... | @@ -98,6 +98,6 @@ pub const HexagonCpu = enum { |
| 98 | .Nvj, | 98 | .Nvj, |
| 99 | .Nvs, | 99 | .Nvs, |
| 100 | .SmallData, | 100 | .SmallData, |
| 101 | }, | 101 | }), |
| 102 | }; | 102 | }; |
| 103 | }; | 103 | }; |
lib/std/target/cpu/MipsCpu.zig+110-110| ... | @@ -20,171 +20,171 @@ pub const MipsCpu = enum { | ... | @@ -20,171 +20,171 @@ pub const MipsCpu = enum { |
| 20 | Octeon, | 20 | Octeon, |
| 21 | P5600, | 21 | P5600, |
| 22 | 22 | ||
| 23 | pub fn getInfo(self: @This()) CpuInfo { | 23 | const FeatureType = feature.MipsFeature; |
| 24 | |||
| 25 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 24 | return cpu_infos[@enumToInt(self)]; | 26 | return cpu_infos[@enumToInt(self)]; |
| 25 | } | 27 | } |
| 26 | 28 | ||
| 27 | pub const FeatureType = feature.MipsFeature; | 29 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 28 | 30 | CpuInfo(@This(), FeatureType).create(.Mips1, "mips1", &[_]FeatureType { | |
| 29 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 30 | CpuInfo(@This()).create(.Mips1, "mips1", &[_]FeatureType { | ||
| 31 | .Mips1, | 31 | .Mips1, |
| 32 | }, | 32 | }), |
| 33 | CpuInfo(@This()).create(.Mips2, "mips2", &[_]FeatureType { | 33 | CpuInfo(@This(), FeatureType).create(.Mips2, "mips2", &[_]FeatureType { |
| 34 | .Mips1, | 34 | .Mips1, |
| 35 | .Mips2, | 35 | .Mips2, |
| 36 | }, | 36 | }), |
| 37 | CpuInfo(@This()).create(.Mips3, "mips3", &[_]FeatureType { | 37 | CpuInfo(@This(), FeatureType).create(.Mips3, "mips3", &[_]FeatureType { |
| 38 | .Mips3_32, | ||
| 39 | .Fp64, | ||
| 40 | .Mips3_32r2, | 38 | .Mips3_32r2, |
| 41 | .Mips1, | 39 | .Fp64, |
| 42 | .Gp64, | 40 | .Gp64, |
| 43 | .Mips3, | 41 | .Mips1, |
| 44 | }, | ||
| 45 | CpuInfo(@This()).create(.Mips32, "mips32", &[_]FeatureType { | ||
| 46 | .Mips3_32, | 42 | .Mips3_32, |
| 43 | .Mips3, | ||
| 44 | }), | ||
| 45 | CpuInfo(@This(), FeatureType).create(.Mips32, "mips32", &[_]FeatureType { | ||
| 47 | .Mips4_32, | 46 | .Mips4_32, |
| 48 | .Mips1, | 47 | .Mips1, |
| 49 | .Mips32, | ||
| 50 | }, | ||
| 51 | CpuInfo(@This()).create(.Mips32r2, "mips32r2", &[_]FeatureType { | ||
| 52 | .Mips3_32, | 48 | .Mips3_32, |
| 49 | .Mips32, | ||
| 50 | }), | ||
| 51 | CpuInfo(@This(), FeatureType).create(.Mips32r2, "mips32r2", &[_]FeatureType { | ||
| 52 | .Mips5_32r2, | ||
| 53 | .Mips4_32r2, | 53 | .Mips4_32r2, |
| 54 | .Mips3_32r2, | 54 | .Mips3_32r2, |
| 55 | .Mips1, | ||
| 56 | .Mips4_32, | 55 | .Mips4_32, |
| 57 | .Mips5_32r2, | 56 | .Mips1, |
| 58 | .Mips32r2, | ||
| 59 | }, | ||
| 60 | CpuInfo(@This()).create(.Mips32r3, "mips32r3", &[_]FeatureType { | ||
| 61 | .Mips3_32, | 57 | .Mips3_32, |
| 62 | .Mips4_32r2, | 58 | .Mips32r2, |
| 59 | }), | ||
| 60 | CpuInfo(@This(), FeatureType).create(.Mips32r3, "mips32r3", &[_]FeatureType { | ||
| 61 | .Mips5_32r2, | ||
| 63 | .Mips3_32r2, | 62 | .Mips3_32r2, |
| 64 | .Mips1, | 63 | .Mips4_32r2, |
| 65 | .Mips4_32, | 64 | .Mips4_32, |
| 66 | .Mips5_32r2, | 65 | .Mips1, |
| 67 | .Mips32r3, | ||
| 68 | }, | ||
| 69 | CpuInfo(@This()).create(.Mips32r5, "mips32r5", &[_]FeatureType { | ||
| 70 | .Mips3_32, | 66 | .Mips3_32, |
| 71 | .Mips4_32r2, | 67 | .Mips32r3, |
| 68 | }), | ||
| 69 | CpuInfo(@This(), FeatureType).create(.Mips32r5, "mips32r5", &[_]FeatureType { | ||
| 70 | .Mips5_32r2, | ||
| 72 | .Mips3_32r2, | 71 | .Mips3_32r2, |
| 73 | .Mips1, | 72 | .Mips4_32r2, |
| 74 | .Mips4_32, | 73 | .Mips4_32, |
| 75 | .Mips5_32r2, | 74 | .Mips1, |
| 76 | .Mips32r5, | ||
| 77 | }, | ||
| 78 | CpuInfo(@This()).create(.Mips32r6, "mips32r6", &[_]FeatureType { | ||
| 79 | .Mips3_32, | 75 | .Mips3_32, |
| 80 | .Fp64, | 76 | .Mips32r5, |
| 77 | }), | ||
| 78 | CpuInfo(@This(), FeatureType).create(.Mips32r6, "mips32r6", &[_]FeatureType { | ||
| 79 | .Mips5_32r2, | ||
| 80 | .Mips3_32r2, | ||
| 81 | .Mips4_32r2, | 81 | .Mips4_32r2, |
| 82 | .Abs2008, | 82 | .Abs2008, |
| 83 | .Mips3_32r2, | ||
| 84 | .Mips1, | ||
| 85 | .Mips4_32, | ||
| 86 | .Nan2008, | 83 | .Nan2008, |
| 87 | .Mips5_32r2, | ||
| 88 | .Mips32r6, | ||
| 89 | }, | ||
| 90 | CpuInfo(@This()).create(.Mips4, "mips4", &[_]FeatureType { | ||
| 91 | .Mips3_32, | ||
| 92 | .Fp64, | 84 | .Fp64, |
| 93 | .Mips4_32r2, | ||
| 94 | .Mips3_32r2, | ||
| 95 | .Mips1, | ||
| 96 | .Mips4_32, | 85 | .Mips4_32, |
| 97 | .Gp64, | 86 | .Mips1, |
| 98 | .Mips4, | ||
| 99 | }, | ||
| 100 | CpuInfo(@This()).create(.Mips5, "mips5", &[_]FeatureType { | ||
| 101 | .Mips3_32, | 87 | .Mips3_32, |
| 102 | .Fp64, | 88 | .Mips32r6, |
| 103 | .Mips4_32r2, | 89 | }), |
| 90 | CpuInfo(@This(), FeatureType).create(.Mips4, "mips4", &[_]FeatureType { | ||
| 104 | .Mips3_32r2, | 91 | .Mips3_32r2, |
| 105 | .Mips1, | 92 | .Mips4_32r2, |
| 106 | .Mips4_32, | 93 | .Fp64, |
| 107 | .Gp64, | 94 | .Gp64, |
| 108 | .Mips5_32r2, | 95 | .Mips4_32, |
| 109 | .Mips5, | 96 | .Mips1, |
| 110 | }, | ||
| 111 | CpuInfo(@This()).create(.Mips64, "mips64", &[_]FeatureType { | ||
| 112 | .Mips3_32, | 97 | .Mips3_32, |
| 113 | .Fp64, | 98 | .Mips4, |
| 99 | }), | ||
| 100 | CpuInfo(@This(), FeatureType).create(.Mips5, "mips5", &[_]FeatureType { | ||
| 101 | .Mips5_32r2, | ||
| 114 | .Mips4_32r2, | 102 | .Mips4_32r2, |
| 115 | .Mips3_32r2, | 103 | .Mips3_32r2, |
| 116 | .Mips1, | ||
| 117 | .Mips4_32, | ||
| 118 | .Gp64, | 104 | .Gp64, |
| 119 | .Mips5_32r2, | ||
| 120 | .Mips64, | ||
| 121 | }, | ||
| 122 | CpuInfo(@This()).create(.Mips64r2, "mips64r2", &[_]FeatureType { | ||
| 123 | .Mips3_32, | ||
| 124 | .Fp64, | 105 | .Fp64, |
| 125 | .Mips4_32r2, | ||
| 126 | .Mips3_32r2, | ||
| 127 | .Mips1, | ||
| 128 | .Mips4_32, | 106 | .Mips4_32, |
| 129 | .Gp64, | 107 | .Mips1, |
| 130 | .Mips5_32r2, | ||
| 131 | .Mips64r2, | ||
| 132 | }, | ||
| 133 | CpuInfo(@This()).create(.Mips64r3, "mips64r3", &[_]FeatureType { | ||
| 134 | .Mips3_32, | 108 | .Mips3_32, |
| 135 | .Fp64, | 109 | .Mips5, |
| 136 | .Mips4_32r2, | 110 | }), |
| 111 | CpuInfo(@This(), FeatureType).create(.Mips64, "mips64", &[_]FeatureType { | ||
| 112 | .Mips5_32r2, | ||
| 137 | .Mips3_32r2, | 113 | .Mips3_32r2, |
| 138 | .Mips1, | 114 | .Mips4_32r2, |
| 139 | .Mips4_32, | ||
| 140 | .Gp64, | 115 | .Gp64, |
| 141 | .Mips5_32r2, | ||
| 142 | .Mips64r3, | ||
| 143 | }, | ||
| 144 | CpuInfo(@This()).create(.Mips64r5, "mips64r5", &[_]FeatureType { | ||
| 145 | .Mips3_32, | ||
| 146 | .Fp64, | 116 | .Fp64, |
| 147 | .Mips4_32r2, | ||
| 148 | .Mips3_32r2, | ||
| 149 | .Mips1, | ||
| 150 | .Mips4_32, | 117 | .Mips4_32, |
| 151 | .Gp64, | 118 | .Mips1, |
| 152 | .Mips5_32r2, | ||
| 153 | .Mips64r5, | ||
| 154 | }, | ||
| 155 | CpuInfo(@This()).create(.Mips64r6, "mips64r6", &[_]FeatureType { | ||
| 156 | .Mips3_32, | 119 | .Mips3_32, |
| 157 | .Fp64, | 120 | .Mips64, |
| 121 | }), | ||
| 122 | CpuInfo(@This(), FeatureType).create(.Mips64r2, "mips64r2", &[_]FeatureType { | ||
| 123 | .Mips5_32r2, | ||
| 124 | .Mips3_32r2, | ||
| 158 | .Mips4_32r2, | 125 | .Mips4_32r2, |
| 159 | .Abs2008, | 126 | .Gp64, |
| 127 | .Fp64, | ||
| 128 | .Mips4_32, | ||
| 129 | .Mips1, | ||
| 130 | .Mips3_32, | ||
| 131 | .Mips64r2, | ||
| 132 | }), | ||
| 133 | CpuInfo(@This(), FeatureType).create(.Mips64r3, "mips64r3", &[_]FeatureType { | ||
| 134 | .Mips5_32r2, | ||
| 160 | .Mips3_32r2, | 135 | .Mips3_32r2, |
| 136 | .Mips4_32r2, | ||
| 137 | .Gp64, | ||
| 138 | .Fp64, | ||
| 139 | .Mips4_32, | ||
| 161 | .Mips1, | 140 | .Mips1, |
| 141 | .Mips3_32, | ||
| 142 | .Mips64r3, | ||
| 143 | }), | ||
| 144 | CpuInfo(@This(), FeatureType).create(.Mips64r5, "mips64r5", &[_]FeatureType { | ||
| 145 | .Mips5_32r2, | ||
| 146 | .Mips3_32r2, | ||
| 147 | .Mips4_32r2, | ||
| 148 | .Gp64, | ||
| 149 | .Fp64, | ||
| 162 | .Mips4_32, | 150 | .Mips4_32, |
| 151 | .Mips1, | ||
| 152 | .Mips3_32, | ||
| 153 | .Mips64r5, | ||
| 154 | }), | ||
| 155 | CpuInfo(@This(), FeatureType).create(.Mips64r6, "mips64r6", &[_]FeatureType { | ||
| 156 | .Mips5_32r2, | ||
| 157 | .Mips3_32r2, | ||
| 163 | .Nan2008, | 158 | .Nan2008, |
| 159 | .Abs2008, | ||
| 160 | .Mips4_32r2, | ||
| 161 | .Fp64, | ||
| 164 | .Gp64, | 162 | .Gp64, |
| 165 | .Mips5_32r2, | 163 | .Mips4_32, |
| 166 | .Mips64r6, | 164 | .Mips1, |
| 167 | }, | ||
| 168 | CpuInfo(@This()).create(.Octeon, "octeon", &[_]FeatureType { | ||
| 169 | .Mips3_32, | 165 | .Mips3_32, |
| 170 | .Fp64, | 166 | .Mips64r6, |
| 171 | .Mips4_32r2, | 167 | }), |
| 168 | CpuInfo(@This(), FeatureType).create(.Octeon, "octeon", &[_]FeatureType { | ||
| 169 | .Mips5_32r2, | ||
| 172 | .Mips3_32r2, | 170 | .Mips3_32r2, |
| 173 | .Mips1, | 171 | .Mips4_32r2, |
| 174 | .Mips4_32, | ||
| 175 | .Gp64, | 172 | .Gp64, |
| 176 | .Mips5_32r2, | 173 | .Fp64, |
| 174 | .Mips4_32, | ||
| 175 | .Mips1, | ||
| 176 | .Mips3_32, | ||
| 177 | .Cnmips, | 177 | .Cnmips, |
| 178 | .Mips64r2, | 178 | .Mips64r2, |
| 179 | }, | 179 | }), |
| 180 | CpuInfo(@This()).create(.P5600, "p5600", &[_]FeatureType { | 180 | CpuInfo(@This(), FeatureType).create(.P5600, "p5600", &[_]FeatureType { |
| 181 | .Mips3_32, | 181 | .Mips5_32r2, |
| 182 | .Mips4_32r2, | ||
| 183 | .Mips3_32r2, | 182 | .Mips3_32r2, |
| 184 | .Mips1, | 183 | .Mips4_32r2, |
| 185 | .Mips4_32, | 184 | .Mips4_32, |
| 186 | .Mips5_32r2, | 185 | .Mips1, |
| 186 | .Mips3_32, | ||
| 187 | .P5600, | 187 | .P5600, |
| 188 | }, | 188 | }), |
| 189 | }; | 189 | }; |
| 190 | }; | 190 | }; |
lib/std/target/cpu/Msp430Cpu.zig+10-10| ... | @@ -6,19 +6,19 @@ pub const Msp430Cpu = enum { | ... | @@ -6,19 +6,19 @@ pub const Msp430Cpu = enum { |
| 6 | Msp430, | 6 | Msp430, |
| 7 | Msp430x, | 7 | Msp430x, |
| 8 | 8 | ||
| 9 | pub fn getInfo(self: @This()) CpuInfo { | 9 | const FeatureType = feature.Msp430Feature; |
| 10 | |||
| 11 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 10 | return cpu_infos[@enumToInt(self)]; | 12 | return cpu_infos[@enumToInt(self)]; |
| 11 | } | 13 | } |
| 12 | 14 | ||
| 13 | pub const FeatureType = feature.Msp430Feature; | 15 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 14 | 16 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { | |
| 15 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | 17 | }), |
| 16 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | 18 | CpuInfo(@This(), FeatureType).create(.Msp430, "msp430", &[_]FeatureType { |
| 17 | }, | 19 | }), |
| 18 | CpuInfo(@This()).create(.Msp430, "msp430", &[_]FeatureType { | 20 | CpuInfo(@This(), FeatureType).create(.Msp430x, "msp430x", &[_]FeatureType { |
| 19 | }, | ||
| 20 | CpuInfo(@This()).create(.Msp430x, "msp430x", &[_]FeatureType { | ||
| 21 | .Ext, | 21 | .Ext, |
| 22 | }, | 22 | }), |
| 23 | }; | 23 | }; |
| 24 | }; | 24 | }; |
lib/std/target/cpu/NvptxCpu.zig+34-34| ... | @@ -18,68 +18,68 @@ pub const NvptxCpu = enum { | ... | @@ -18,68 +18,68 @@ pub const NvptxCpu = enum { |
| 18 | Sm_72, | 18 | Sm_72, |
| 19 | Sm_75, | 19 | Sm_75, |
| 20 | 20 | ||
| 21 | pub fn getInfo(self: @This()) CpuInfo { | 21 | const FeatureType = feature.NvptxFeature; |
| 22 | |||
| 23 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 22 | return cpu_infos[@enumToInt(self)]; | 24 | return cpu_infos[@enumToInt(self)]; |
| 23 | } | 25 | } |
| 24 | 26 | ||
| 25 | pub const FeatureType = feature.NvptxFeature; | 27 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 26 | 28 | CpuInfo(@This(), FeatureType).create(.Sm_20, "sm_20", &[_]FeatureType { | |
| 27 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 28 | CpuInfo(@This()).create(.Sm_20, "sm_20", &[_]FeatureType { | ||
| 29 | .Sm_20, | 29 | .Sm_20, |
| 30 | }, | 30 | }), |
| 31 | CpuInfo(@This()).create(.Sm_21, "sm_21", &[_]FeatureType { | 31 | CpuInfo(@This(), FeatureType).create(.Sm_21, "sm_21", &[_]FeatureType { |
| 32 | .Sm_21, | 32 | .Sm_21, |
| 33 | }, | 33 | }), |
| 34 | CpuInfo(@This()).create(.Sm_30, "sm_30", &[_]FeatureType { | 34 | CpuInfo(@This(), FeatureType).create(.Sm_30, "sm_30", &[_]FeatureType { |
| 35 | .Sm_30, | 35 | .Sm_30, |
| 36 | }, | 36 | }), |
| 37 | CpuInfo(@This()).create(.Sm_32, "sm_32", &[_]FeatureType { | 37 | CpuInfo(@This(), FeatureType).create(.Sm_32, "sm_32", &[_]FeatureType { |
| 38 | .Ptx40, | 38 | .Ptx40, |
| 39 | .Sm_32, | 39 | .Sm_32, |
| 40 | }, | 40 | }), |
| 41 | CpuInfo(@This()).create(.Sm_35, "sm_35", &[_]FeatureType { | 41 | CpuInfo(@This(), FeatureType).create(.Sm_35, "sm_35", &[_]FeatureType { |
| 42 | .Sm_35, | 42 | .Sm_35, |
| 43 | }, | 43 | }), |
| 44 | CpuInfo(@This()).create(.Sm_37, "sm_37", &[_]FeatureType { | 44 | CpuInfo(@This(), FeatureType).create(.Sm_37, "sm_37", &[_]FeatureType { |
| 45 | .Ptx41, | 45 | .Ptx41, |
| 46 | .Sm_37, | 46 | .Sm_37, |
| 47 | }, | 47 | }), |
| 48 | CpuInfo(@This()).create(.Sm_50, "sm_50", &[_]FeatureType { | 48 | CpuInfo(@This(), FeatureType).create(.Sm_50, "sm_50", &[_]FeatureType { |
| 49 | .Ptx40, | 49 | .Ptx40, |
| 50 | .Sm_50, | 50 | .Sm_50, |
| 51 | }, | 51 | }), |
| 52 | CpuInfo(@This()).create(.Sm_52, "sm_52", &[_]FeatureType { | 52 | CpuInfo(@This(), FeatureType).create(.Sm_52, "sm_52", &[_]FeatureType { |
| 53 | .Ptx41, | 53 | .Ptx41, |
| 54 | .Sm_52, | 54 | .Sm_52, |
| 55 | }, | 55 | }), |
| 56 | CpuInfo(@This()).create(.Sm_53, "sm_53", &[_]FeatureType { | 56 | CpuInfo(@This(), FeatureType).create(.Sm_53, "sm_53", &[_]FeatureType { |
| 57 | .Ptx42, | 57 | .Ptx42, |
| 58 | .Sm_53, | 58 | .Sm_53, |
| 59 | }, | 59 | }), |
| 60 | CpuInfo(@This()).create(.Sm_60, "sm_60", &[_]FeatureType { | 60 | CpuInfo(@This(), FeatureType).create(.Sm_60, "sm_60", &[_]FeatureType { |
| 61 | .Ptx50, | 61 | .Ptx50, |
| 62 | .Sm_60, | 62 | .Sm_60, |
| 63 | }, | 63 | }), |
| 64 | CpuInfo(@This()).create(.Sm_61, "sm_61", &[_]FeatureType { | 64 | CpuInfo(@This(), FeatureType).create(.Sm_61, "sm_61", &[_]FeatureType { |
| 65 | .Ptx50, | 65 | .Ptx50, |
| 66 | .Sm_61, | 66 | .Sm_61, |
| 67 | }, | 67 | }), |
| 68 | CpuInfo(@This()).create(.Sm_62, "sm_62", &[_]FeatureType { | 68 | CpuInfo(@This(), FeatureType).create(.Sm_62, "sm_62", &[_]FeatureType { |
| 69 | .Ptx50, | 69 | .Ptx50, |
| 70 | .Sm_62, | 70 | .Sm_62, |
| 71 | }, | 71 | }), |
| 72 | CpuInfo(@This()).create(.Sm_70, "sm_70", &[_]FeatureType { | 72 | CpuInfo(@This(), FeatureType).create(.Sm_70, "sm_70", &[_]FeatureType { |
| 73 | .Ptx60, | 73 | .Ptx60, |
| 74 | .Sm_70, | 74 | .Sm_70, |
| 75 | }, | 75 | }), |
| 76 | CpuInfo(@This()).create(.Sm_72, "sm_72", &[_]FeatureType { | 76 | CpuInfo(@This(), FeatureType).create(.Sm_72, "sm_72", &[_]FeatureType { |
| 77 | .Ptx61, | 77 | .Ptx61, |
| 78 | .Sm_72, | 78 | .Sm_72, |
| 79 | }, | 79 | }), |
| 80 | CpuInfo(@This()).create(.Sm_75, "sm_75", &[_]FeatureType { | 80 | CpuInfo(@This(), FeatureType).create(.Sm_75, "sm_75", &[_]FeatureType { |
| 81 | .Ptx63, | 81 | .Ptx63, |
| 82 | .Sm_75, | 82 | .Sm_75, |
| 83 | }, | 83 | }), |
| 84 | }; | 84 | }; |
| 85 | }; | 85 | }; |
lib/std/target/cpu/PowerPcCpu.zig+90-90| ... | @@ -2,20 +2,20 @@ const feature = @import("std").target.feature; | ... | @@ -2,20 +2,20 @@ const feature = @import("std").target.feature; |
| 2 | const CpuInfo = @import("std").target.cpu.CpuInfo; | 2 | const CpuInfo = @import("std").target.cpu.CpuInfo; |
| 3 | 3 | ||
| 4 | pub const PowerPcCpu = enum { | 4 | pub const PowerPcCpu = enum { |
| 5 | 440, | 5 | Cpu440, |
| 6 | 450, | 6 | Cpu450, |
| 7 | 601, | 7 | Cpu601, |
| 8 | 602, | 8 | Cpu602, |
| 9 | 603, | 9 | Cpu603, |
| 10 | E603, | 10 | E603, |
| 11 | Ev603, | 11 | Ev603, |
| 12 | 604, | 12 | Cpu604, |
| 13 | E604, | 13 | E604, |
| 14 | 620, | 14 | Cpu620, |
| 15 | 7400, | 15 | Cpu7400, |
| 16 | 7450, | 16 | Cpu7450, |
| 17 | 750, | 17 | Cpu750, |
| 18 | 970, | 18 | Cpu970, |
| 19 | A2, | 19 | A2, |
| 20 | A2q, | 20 | A2q, |
| 21 | E500, | 21 | E500, |
| ... | @@ -23,7 +23,7 @@ pub const PowerPcCpu = enum { | ... | @@ -23,7 +23,7 @@ pub const PowerPcCpu = enum { |
| 23 | E5500, | 23 | E5500, |
| 24 | G3, | 24 | G3, |
| 25 | G4, | 25 | G4, |
| 26 | G4+, | 26 | G4plus, |
| 27 | G5, | 27 | G5, |
| 28 | Generic, | 28 | Generic, |
| 29 | Ppc, | 29 | Ppc, |
| ... | @@ -40,14 +40,14 @@ pub const PowerPcCpu = enum { | ... | @@ -40,14 +40,14 @@ pub const PowerPcCpu = enum { |
| 40 | Pwr8, | 40 | Pwr8, |
| 41 | Pwr9, | 41 | Pwr9, |
| 42 | 42 | ||
| 43 | pub fn getInfo(self: @This()) CpuInfo { | 43 | const FeatureType = feature.PowerPcFeature; |
| 44 | |||
| 45 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 44 | return cpu_infos[@enumToInt(self)]; | 46 | return cpu_infos[@enumToInt(self)]; |
| 45 | } | 47 | } |
| 46 | 48 | ||
| 47 | pub const FeatureType = feature.PowerPcFeature; | 49 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 48 | 50 | CpuInfo(@This(), FeatureType).create(.Cpu440, "440", &[_]FeatureType { | |
| 49 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 50 | CpuInfo(@This()).create(.440, "440", &[_]FeatureType { | ||
| 51 | .Icbt, | 51 | .Icbt, |
| 52 | .Booke, | 52 | .Booke, |
| 53 | .HardFloat, | 53 | .HardFloat, |
| ... | @@ -55,8 +55,8 @@ pub const PowerPcCpu = enum { | ... | @@ -55,8 +55,8 @@ pub const PowerPcCpu = enum { |
| 55 | .Frsqrte, | 55 | .Frsqrte, |
| 56 | .Isel, | 56 | .Isel, |
| 57 | .Msync, | 57 | .Msync, |
| 58 | }, | 58 | }), |
| 59 | CpuInfo(@This()).create(.450, "450", &[_]FeatureType { | 59 | CpuInfo(@This(), FeatureType).create(.Cpu450, "450", &[_]FeatureType { |
| 60 | .Icbt, | 60 | .Icbt, |
| 61 | .Booke, | 61 | .Booke, |
| 62 | .HardFloat, | 62 | .HardFloat, |
| ... | @@ -64,63 +64,63 @@ pub const PowerPcCpu = enum { | ... | @@ -64,63 +64,63 @@ pub const PowerPcCpu = enum { |
| 64 | .Frsqrte, | 64 | .Frsqrte, |
| 65 | .Isel, | 65 | .Isel, |
| 66 | .Msync, | 66 | .Msync, |
| 67 | }, | 67 | }), |
| 68 | CpuInfo(@This()).create(.601, "601", &[_]FeatureType { | 68 | CpuInfo(@This(), FeatureType).create(.Cpu601, "601", &[_]FeatureType { |
| 69 | .HardFloat, | 69 | .HardFloat, |
| 70 | .Fpu, | 70 | .Fpu, |
| 71 | }, | 71 | }), |
| 72 | CpuInfo(@This()).create(.602, "602", &[_]FeatureType { | 72 | CpuInfo(@This(), FeatureType).create(.Cpu602, "602", &[_]FeatureType { |
| 73 | .HardFloat, | 73 | .HardFloat, |
| 74 | .Fpu, | 74 | .Fpu, |
| 75 | }, | 75 | }), |
| 76 | CpuInfo(@This()).create(.603, "603", &[_]FeatureType { | 76 | CpuInfo(@This(), FeatureType).create(.Cpu603, "603", &[_]FeatureType { |
| 77 | .HardFloat, | 77 | .HardFloat, |
| 78 | .Fres, | 78 | .Fres, |
| 79 | .Frsqrte, | 79 | .Frsqrte, |
| 80 | }, | 80 | }), |
| 81 | CpuInfo(@This()).create(.E603, "603e", &[_]FeatureType { | 81 | CpuInfo(@This(), FeatureType).create(.E603, "603e", &[_]FeatureType { |
| 82 | .HardFloat, | 82 | .HardFloat, |
| 83 | .Fres, | 83 | .Fres, |
| 84 | .Frsqrte, | 84 | .Frsqrte, |
| 85 | }, | 85 | }), |
| 86 | CpuInfo(@This()).create(.Ev603, "603ev", &[_]FeatureType { | 86 | CpuInfo(@This(), FeatureType).create(.Ev603, "603ev", &[_]FeatureType { |
| 87 | .HardFloat, | 87 | .HardFloat, |
| 88 | .Fres, | 88 | .Fres, |
| 89 | .Frsqrte, | 89 | .Frsqrte, |
| 90 | }, | 90 | }), |
| 91 | CpuInfo(@This()).create(.604, "604", &[_]FeatureType { | 91 | CpuInfo(@This(), FeatureType).create(.Cpu604, "604", &[_]FeatureType { |
| 92 | .HardFloat, | 92 | .HardFloat, |
| 93 | .Fres, | 93 | .Fres, |
| 94 | .Frsqrte, | 94 | .Frsqrte, |
| 95 | }, | 95 | }), |
| 96 | CpuInfo(@This()).create(.E604, "604e", &[_]FeatureType { | 96 | CpuInfo(@This(), FeatureType).create(.E604, "604e", &[_]FeatureType { |
| 97 | .HardFloat, | 97 | .HardFloat, |
| 98 | .Fres, | 98 | .Fres, |
| 99 | .Frsqrte, | 99 | .Frsqrte, |
| 100 | }, | 100 | }), |
| 101 | CpuInfo(@This()).create(.620, "620", &[_]FeatureType { | 101 | CpuInfo(@This(), FeatureType).create(.Cpu620, "620", &[_]FeatureType { |
| 102 | .HardFloat, | 102 | .HardFloat, |
| 103 | .Fres, | 103 | .Fres, |
| 104 | .Frsqrte, | 104 | .Frsqrte, |
| 105 | }, | 105 | }), |
| 106 | CpuInfo(@This()).create(.7400, "7400", &[_]FeatureType { | 106 | CpuInfo(@This(), FeatureType).create(.Cpu7400, "7400", &[_]FeatureType { |
| 107 | .HardFloat, | 107 | .HardFloat, |
| 108 | .Altivec, | 108 | .Altivec, |
| 109 | .Fres, | 109 | .Fres, |
| 110 | .Frsqrte, | 110 | .Frsqrte, |
| 111 | }, | 111 | }), |
| 112 | CpuInfo(@This()).create(.7450, "7450", &[_]FeatureType { | 112 | CpuInfo(@This(), FeatureType).create(.Cpu7450, "7450", &[_]FeatureType { |
| 113 | .HardFloat, | 113 | .HardFloat, |
| 114 | .Altivec, | 114 | .Altivec, |
| 115 | .Fres, | 115 | .Fres, |
| 116 | .Frsqrte, | 116 | .Frsqrte, |
| 117 | }, | 117 | }), |
| 118 | CpuInfo(@This()).create(.750, "750", &[_]FeatureType { | 118 | CpuInfo(@This(), FeatureType).create(.Cpu750, "750", &[_]FeatureType { |
| 119 | .HardFloat, | 119 | .HardFloat, |
| 120 | .Fres, | 120 | .Fres, |
| 121 | .Frsqrte, | 121 | .Frsqrte, |
| 122 | }, | 122 | }), |
| 123 | CpuInfo(@This()).create(.970, "970", &[_]FeatureType { | 123 | CpuInfo(@This(), FeatureType).create(.Cpu970, "970", &[_]FeatureType { |
| 124 | .Bit64, | 124 | .Bit64, |
| 125 | .HardFloat, | 125 | .HardFloat, |
| 126 | .Altivec, | 126 | .Altivec, |
| ... | @@ -129,8 +129,8 @@ pub const PowerPcCpu = enum { | ... | @@ -129,8 +129,8 @@ pub const PowerPcCpu = enum { |
| 129 | .Fsqrt, | 129 | .Fsqrt, |
| 130 | .Mfocrf, | 130 | .Mfocrf, |
| 131 | .Stfiwx, | 131 | .Stfiwx, |
| 132 | }, | 132 | }), |
| 133 | CpuInfo(@This()).create(.A2, "a2", &[_]FeatureType { | 133 | CpuInfo(@This(), FeatureType).create(.A2, "a2", &[_]FeatureType { |
| 134 | .Bit64, | 134 | .Bit64, |
| 135 | .Icbt, | 135 | .Icbt, |
| 136 | .Booke, | 136 | .Booke, |
| ... | @@ -151,8 +151,8 @@ pub const PowerPcCpu = enum { | ... | @@ -151,8 +151,8 @@ pub const PowerPcCpu = enum { |
| 151 | .Recipprec, | 151 | .Recipprec, |
| 152 | .Stfiwx, | 152 | .Stfiwx, |
| 153 | .SlowPopcntd, | 153 | .SlowPopcntd, |
| 154 | }, | 154 | }), |
| 155 | CpuInfo(@This()).create(.A2q, "a2q", &[_]FeatureType { | 155 | CpuInfo(@This(), FeatureType).create(.A2q, "a2q", &[_]FeatureType { |
| 156 | .Bit64, | 156 | .Bit64, |
| 157 | .Icbt, | 157 | .Icbt, |
| 158 | .Booke, | 158 | .Booke, |
| ... | @@ -174,20 +174,20 @@ pub const PowerPcCpu = enum { | ... | @@ -174,20 +174,20 @@ pub const PowerPcCpu = enum { |
| 174 | .Recipprec, | 174 | .Recipprec, |
| 175 | .Stfiwx, | 175 | .Stfiwx, |
| 176 | .SlowPopcntd, | 176 | .SlowPopcntd, |
| 177 | }, | 177 | }), |
| 178 | CpuInfo(@This()).create(.E500, "e500", &[_]FeatureType { | 178 | CpuInfo(@This(), FeatureType).create(.E500, "e500", &[_]FeatureType { |
| 179 | .Icbt, | 179 | .Icbt, |
| 180 | .Booke, | 180 | .Booke, |
| 181 | .Isel, | 181 | .Isel, |
| 182 | }, | 182 | }), |
| 183 | CpuInfo(@This()).create(.E500mc, "e500mc", &[_]FeatureType { | 183 | CpuInfo(@This(), FeatureType).create(.E500mc, "e500mc", &[_]FeatureType { |
| 184 | .Icbt, | 184 | .Icbt, |
| 185 | .Booke, | 185 | .Booke, |
| 186 | .Isel, | 186 | .Isel, |
| 187 | .HardFloat, | 187 | .HardFloat, |
| 188 | .Stfiwx, | 188 | .Stfiwx, |
| 189 | }, | 189 | }), |
| 190 | CpuInfo(@This()).create(.E5500, "e5500", &[_]FeatureType { | 190 | CpuInfo(@This(), FeatureType).create(.E5500, "e5500", &[_]FeatureType { |
| 191 | .Bit64, | 191 | .Bit64, |
| 192 | .Icbt, | 192 | .Icbt, |
| 193 | .Booke, | 193 | .Booke, |
| ... | @@ -195,25 +195,25 @@ pub const PowerPcCpu = enum { | ... | @@ -195,25 +195,25 @@ pub const PowerPcCpu = enum { |
| 195 | .Mfocrf, | 195 | .Mfocrf, |
| 196 | .HardFloat, | 196 | .HardFloat, |
| 197 | .Stfiwx, | 197 | .Stfiwx, |
| 198 | }, | 198 | }), |
| 199 | CpuInfo(@This()).create(.G3, "g3", &[_]FeatureType { | 199 | CpuInfo(@This(), FeatureType).create(.G3, "g3", &[_]FeatureType { |
| 200 | .HardFloat, | 200 | .HardFloat, |
| 201 | .Fres, | 201 | .Fres, |
| 202 | .Frsqrte, | 202 | .Frsqrte, |
| 203 | }, | 203 | }), |
| 204 | CpuInfo(@This()).create(.G4, "g4", &[_]FeatureType { | 204 | CpuInfo(@This(), FeatureType).create(.G4, "g4", &[_]FeatureType { |
| 205 | .HardFloat, | 205 | .HardFloat, |
| 206 | .Altivec, | 206 | .Altivec, |
| 207 | .Fres, | 207 | .Fres, |
| 208 | .Frsqrte, | 208 | .Frsqrte, |
| 209 | }, | 209 | }), |
| 210 | CpuInfo(@This()).create(.G4+, "g4+", &[_]FeatureType { | 210 | CpuInfo(@This(), FeatureType).create(.G4plus, "g4+", &[_]FeatureType { |
| 211 | .HardFloat, | 211 | .HardFloat, |
| 212 | .Altivec, | 212 | .Altivec, |
| 213 | .Fres, | 213 | .Fres, |
| 214 | .Frsqrte, | 214 | .Frsqrte, |
| 215 | }, | 215 | }), |
| 216 | CpuInfo(@This()).create(.G5, "g5", &[_]FeatureType { | 216 | CpuInfo(@This(), FeatureType).create(.G5, "g5", &[_]FeatureType { |
| 217 | .Bit64, | 217 | .Bit64, |
| 218 | .HardFloat, | 218 | .HardFloat, |
| 219 | .Altivec, | 219 | .Altivec, |
| ... | @@ -222,17 +222,17 @@ pub const PowerPcCpu = enum { | ... | @@ -222,17 +222,17 @@ pub const PowerPcCpu = enum { |
| 222 | .Fsqrt, | 222 | .Fsqrt, |
| 223 | .Mfocrf, | 223 | .Mfocrf, |
| 224 | .Stfiwx, | 224 | .Stfiwx, |
| 225 | }, | 225 | }), |
| 226 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | 226 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { |
| 227 | .HardFloat, | 227 | .HardFloat, |
| 228 | }, | 228 | }), |
| 229 | CpuInfo(@This()).create(.Ppc, "ppc", &[_]FeatureType { | 229 | CpuInfo(@This(), FeatureType).create(.Ppc, "ppc", &[_]FeatureType { |
| 230 | .HardFloat, | 230 | .HardFloat, |
| 231 | }, | 231 | }), |
| 232 | CpuInfo(@This()).create(.Ppc32, "ppc32", &[_]FeatureType { | 232 | CpuInfo(@This(), FeatureType).create(.Ppc32, "ppc32", &[_]FeatureType { |
| 233 | .HardFloat, | 233 | .HardFloat, |
| 234 | }, | 234 | }), |
| 235 | CpuInfo(@This()).create(.Ppc64, "ppc64", &[_]FeatureType { | 235 | CpuInfo(@This(), FeatureType).create(.Ppc64, "ppc64", &[_]FeatureType { |
| 236 | .Bit64, | 236 | .Bit64, |
| 237 | .HardFloat, | 237 | .HardFloat, |
| 238 | .Altivec, | 238 | .Altivec, |
| ... | @@ -241,8 +241,8 @@ pub const PowerPcCpu = enum { | ... | @@ -241,8 +241,8 @@ pub const PowerPcCpu = enum { |
| 241 | .Fsqrt, | 241 | .Fsqrt, |
| 242 | .Mfocrf, | 242 | .Mfocrf, |
| 243 | .Stfiwx, | 243 | .Stfiwx, |
| 244 | }, | 244 | }), |
| 245 | CpuInfo(@This()).create(.Ppc64le, "ppc64le", &[_]FeatureType { | 245 | CpuInfo(@This(), FeatureType).create(.Ppc64le, "ppc64le", &[_]FeatureType { |
| 246 | .Bit64, | 246 | .Bit64, |
| 247 | .HardFloat, | 247 | .HardFloat, |
| 248 | .Altivec, | 248 | .Altivec, |
| ... | @@ -273,8 +273,8 @@ pub const PowerPcCpu = enum { | ... | @@ -273,8 +273,8 @@ pub const PowerPcCpu = enum { |
| 273 | .Stfiwx, | 273 | .Stfiwx, |
| 274 | .TwoConstNr, | 274 | .TwoConstNr, |
| 275 | .Vsx, | 275 | .Vsx, |
| 276 | }, | 276 | }), |
| 277 | CpuInfo(@This()).create(.Pwr3, "pwr3", &[_]FeatureType { | 277 | CpuInfo(@This(), FeatureType).create(.Pwr3, "pwr3", &[_]FeatureType { |
| 278 | .Bit64, | 278 | .Bit64, |
| 279 | .HardFloat, | 279 | .HardFloat, |
| 280 | .Altivec, | 280 | .Altivec, |
| ... | @@ -282,8 +282,8 @@ pub const PowerPcCpu = enum { | ... | @@ -282,8 +282,8 @@ pub const PowerPcCpu = enum { |
| 282 | .Frsqrte, | 282 | .Frsqrte, |
| 283 | .Mfocrf, | 283 | .Mfocrf, |
| 284 | .Stfiwx, | 284 | .Stfiwx, |
| 285 | }, | 285 | }), |
| 286 | CpuInfo(@This()).create(.Pwr4, "pwr4", &[_]FeatureType { | 286 | CpuInfo(@This(), FeatureType).create(.Pwr4, "pwr4", &[_]FeatureType { |
| 287 | .Bit64, | 287 | .Bit64, |
| 288 | .HardFloat, | 288 | .HardFloat, |
| 289 | .Altivec, | 289 | .Altivec, |
| ... | @@ -292,8 +292,8 @@ pub const PowerPcCpu = enum { | ... | @@ -292,8 +292,8 @@ pub const PowerPcCpu = enum { |
| 292 | .Fsqrt, | 292 | .Fsqrt, |
| 293 | .Mfocrf, | 293 | .Mfocrf, |
| 294 | .Stfiwx, | 294 | .Stfiwx, |
| 295 | }, | 295 | }), |
| 296 | CpuInfo(@This()).create(.Pwr5, "pwr5", &[_]FeatureType { | 296 | CpuInfo(@This(), FeatureType).create(.Pwr5, "pwr5", &[_]FeatureType { |
| 297 | .Bit64, | 297 | .Bit64, |
| 298 | .HardFloat, | 298 | .HardFloat, |
| 299 | .Altivec, | 299 | .Altivec, |
| ... | @@ -304,8 +304,8 @@ pub const PowerPcCpu = enum { | ... | @@ -304,8 +304,8 @@ pub const PowerPcCpu = enum { |
| 304 | .Fsqrt, | 304 | .Fsqrt, |
| 305 | .Mfocrf, | 305 | .Mfocrf, |
| 306 | .Stfiwx, | 306 | .Stfiwx, |
| 307 | }, | 307 | }), |
| 308 | CpuInfo(@This()).create(.Pwr5x, "pwr5x", &[_]FeatureType { | 308 | CpuInfo(@This(), FeatureType).create(.Pwr5x, "pwr5x", &[_]FeatureType { |
| 309 | .Bit64, | 309 | .Bit64, |
| 310 | .HardFloat, | 310 | .HardFloat, |
| 311 | .Altivec, | 311 | .Altivec, |
| ... | @@ -317,8 +317,8 @@ pub const PowerPcCpu = enum { | ... | @@ -317,8 +317,8 @@ pub const PowerPcCpu = enum { |
| 317 | .Fsqrt, | 317 | .Fsqrt, |
| 318 | .Mfocrf, | 318 | .Mfocrf, |
| 319 | .Stfiwx, | 319 | .Stfiwx, |
| 320 | }, | 320 | }), |
| 321 | CpuInfo(@This()).create(.Pwr6, "pwr6", &[_]FeatureType { | 321 | CpuInfo(@This(), FeatureType).create(.Pwr6, "pwr6", &[_]FeatureType { |
| 322 | .Bit64, | 322 | .Bit64, |
| 323 | .HardFloat, | 323 | .HardFloat, |
| 324 | .Altivec, | 324 | .Altivec, |
| ... | @@ -334,8 +334,8 @@ pub const PowerPcCpu = enum { | ... | @@ -334,8 +334,8 @@ pub const PowerPcCpu = enum { |
| 334 | .Mfocrf, | 334 | .Mfocrf, |
| 335 | .Recipprec, | 335 | .Recipprec, |
| 336 | .Stfiwx, | 336 | .Stfiwx, |
| 337 | }, | 337 | }), |
| 338 | CpuInfo(@This()).create(.Pwr6x, "pwr6x", &[_]FeatureType { | 338 | CpuInfo(@This(), FeatureType).create(.Pwr6x, "pwr6x", &[_]FeatureType { |
| 339 | .Bit64, | 339 | .Bit64, |
| 340 | .HardFloat, | 340 | .HardFloat, |
| 341 | .Altivec, | 341 | .Altivec, |
| ... | @@ -351,8 +351,8 @@ pub const PowerPcCpu = enum { | ... | @@ -351,8 +351,8 @@ pub const PowerPcCpu = enum { |
| 351 | .Mfocrf, | 351 | .Mfocrf, |
| 352 | .Recipprec, | 352 | .Recipprec, |
| 353 | .Stfiwx, | 353 | .Stfiwx, |
| 354 | }, | 354 | }), |
| 355 | CpuInfo(@This()).create(.Pwr7, "pwr7", &[_]FeatureType { | 355 | CpuInfo(@This(), FeatureType).create(.Pwr7, "pwr7", &[_]FeatureType { |
| 356 | .Bit64, | 356 | .Bit64, |
| 357 | .HardFloat, | 357 | .HardFloat, |
| 358 | .Altivec, | 358 | .Altivec, |
| ... | @@ -376,8 +376,8 @@ pub const PowerPcCpu = enum { | ... | @@ -376,8 +376,8 @@ pub const PowerPcCpu = enum { |
| 376 | .Stfiwx, | 376 | .Stfiwx, |
| 377 | .TwoConstNr, | 377 | .TwoConstNr, |
| 378 | .Vsx, | 378 | .Vsx, |
| 379 | }, | 379 | }), |
| 380 | CpuInfo(@This()).create(.Pwr8, "pwr8", &[_]FeatureType { | 380 | CpuInfo(@This(), FeatureType).create(.Pwr8, "pwr8", &[_]FeatureType { |
| 381 | .Bit64, | 381 | .Bit64, |
| 382 | .HardFloat, | 382 | .HardFloat, |
| 383 | .Altivec, | 383 | .Altivec, |
| ... | @@ -408,8 +408,8 @@ pub const PowerPcCpu = enum { | ... | @@ -408,8 +408,8 @@ pub const PowerPcCpu = enum { |
| 408 | .Stfiwx, | 408 | .Stfiwx, |
| 409 | .TwoConstNr, | 409 | .TwoConstNr, |
| 410 | .Vsx, | 410 | .Vsx, |
| 411 | }, | 411 | }), |
| 412 | CpuInfo(@This()).create(.Pwr9, "pwr9", &[_]FeatureType { | 412 | CpuInfo(@This(), FeatureType).create(.Pwr9, "pwr9", &[_]FeatureType { |
| 413 | .Bit64, | 413 | .Bit64, |
| 414 | .HardFloat, | 414 | .HardFloat, |
| 415 | .Altivec, | 415 | .Altivec, |
| ... | @@ -446,6 +446,6 @@ pub const PowerPcCpu = enum { | ... | @@ -446,6 +446,6 @@ pub const PowerPcCpu = enum { |
| 446 | .TwoConstNr, | 446 | .TwoConstNr, |
| 447 | .Vsx, | 447 | .Vsx, |
| 448 | .VectorsUseTwoUnits, | 448 | .VectorsUseTwoUnits, |
| 449 | }, | 449 | }), |
| 450 | }; | 450 | }; |
| 451 | }; | 451 | }; |
lib/std/target/cpu/RiscVCpu.zig+8-8| ... | @@ -5,19 +5,19 @@ pub const RiscVCpu = enum { | ... | @@ -5,19 +5,19 @@ pub const RiscVCpu = enum { |
| 5 | GenericRv32, | 5 | GenericRv32, |
| 6 | GenericRv64, | 6 | GenericRv64, |
| 7 | 7 | ||
| 8 | pub fn getInfo(self: @This()) CpuInfo { | 8 | const FeatureType = feature.RiscVFeature; |
| 9 | |||
| 10 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 9 | return cpu_infos[@enumToInt(self)]; | 11 | return cpu_infos[@enumToInt(self)]; |
| 10 | } | 12 | } |
| 11 | 13 | ||
| 12 | pub const FeatureType = feature.RiscVFeature; | 14 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 13 | 15 | CpuInfo(@This(), FeatureType).create(.GenericRv32, "generic-rv32", &[_]FeatureType { | |
| 14 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 15 | CpuInfo(@This()).create(.GenericRv32, "generic-rv32", &[_]FeatureType { | ||
| 16 | .RvcHints, | 16 | .RvcHints, |
| 17 | }, | 17 | }), |
| 18 | CpuInfo(@This()).create(.GenericRv64, "generic-rv64", &[_]FeatureType { | 18 | CpuInfo(@This(), FeatureType).create(.GenericRv64, "generic-rv64", &[_]FeatureType { |
| 19 | .Bit64, | 19 | .Bit64, |
| 20 | .RvcHints, | 20 | .RvcHints, |
| 21 | }, | 21 | }), |
| 22 | }; | 22 | }; |
| 23 | }; | 23 | }; |
lib/std/target/cpu/SparcCpu.zig+84-84| ... | @@ -43,174 +43,174 @@ pub const SparcCpu = enum { | ... | @@ -43,174 +43,174 @@ pub const SparcCpu = enum { |
| 43 | V8, | 43 | V8, |
| 44 | V9, | 44 | V9, |
| 45 | 45 | ||
| 46 | pub fn getInfo(self: @This()) CpuInfo { | 46 | const FeatureType = feature.SparcFeature; |
| 47 | |||
| 48 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 47 | return cpu_infos[@enumToInt(self)]; | 49 | return cpu_infos[@enumToInt(self)]; |
| 48 | } | 50 | } |
| 49 | 51 | ||
| 50 | pub const FeatureType = feature.SparcFeature; | 52 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 51 | 53 | CpuInfo(@This(), FeatureType).create(.At697e, "at697e", &[_]FeatureType { | |
| 52 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 53 | CpuInfo(@This()).create(.At697e, "at697e", &[_]FeatureType { | ||
| 54 | .Leon, | 54 | .Leon, |
| 55 | .Insertnopload, | 55 | .Insertnopload, |
| 56 | }, | 56 | }), |
| 57 | CpuInfo(@This()).create(.At697f, "at697f", &[_]FeatureType { | 57 | CpuInfo(@This(), FeatureType).create(.At697f, "at697f", &[_]FeatureType { |
| 58 | .Leon, | 58 | .Leon, |
| 59 | .Insertnopload, | 59 | .Insertnopload, |
| 60 | }, | 60 | }), |
| 61 | CpuInfo(@This()).create(.F934, "f934", &[_]FeatureType { | 61 | CpuInfo(@This(), FeatureType).create(.F934, "f934", &[_]FeatureType { |
| 62 | }, | 62 | }), |
| 63 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | 63 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { |
| 64 | }, | 64 | }), |
| 65 | CpuInfo(@This()).create(.Gr712rc, "gr712rc", &[_]FeatureType { | 65 | CpuInfo(@This(), FeatureType).create(.Gr712rc, "gr712rc", &[_]FeatureType { |
| 66 | .Leon, | 66 | .Leon, |
| 67 | .Hasleoncasa, | 67 | .Hasleoncasa, |
| 68 | }, | 68 | }), |
| 69 | CpuInfo(@This()).create(.Gr740, "gr740", &[_]FeatureType { | 69 | CpuInfo(@This(), FeatureType).create(.Gr740, "gr740", &[_]FeatureType { |
| 70 | .Leon, | 70 | .Leon, |
| 71 | .Leonpwrpsr, | 71 | .Leonpwrpsr, |
| 72 | .Hasleoncasa, | 72 | .Hasleoncasa, |
| 73 | .Leoncyclecounter, | 73 | .Leoncyclecounter, |
| 74 | .Hasumacsmac, | 74 | .Hasumacsmac, |
| 75 | }, | 75 | }), |
| 76 | CpuInfo(@This()).create(.Hypersparc, "hypersparc", &[_]FeatureType { | 76 | CpuInfo(@This(), FeatureType).create(.Hypersparc, "hypersparc", &[_]FeatureType { |
| 77 | }, | 77 | }), |
| 78 | CpuInfo(@This()).create(.Leon2, "leon2", &[_]FeatureType { | 78 | CpuInfo(@This(), FeatureType).create(.Leon2, "leon2", &[_]FeatureType { |
| 79 | .Leon, | 79 | .Leon, |
| 80 | }, | 80 | }), |
| 81 | CpuInfo(@This()).create(.Leon3, "leon3", &[_]FeatureType { | 81 | CpuInfo(@This(), FeatureType).create(.Leon3, "leon3", &[_]FeatureType { |
| 82 | .Leon, | 82 | .Leon, |
| 83 | .Hasumacsmac, | 83 | .Hasumacsmac, |
| 84 | }, | 84 | }), |
| 85 | CpuInfo(@This()).create(.Leon4, "leon4", &[_]FeatureType { | 85 | CpuInfo(@This(), FeatureType).create(.Leon4, "leon4", &[_]FeatureType { |
| 86 | .Leon, | 86 | .Leon, |
| 87 | .Hasleoncasa, | 87 | .Hasleoncasa, |
| 88 | .Hasumacsmac, | 88 | .Hasumacsmac, |
| 89 | }, | 89 | }), |
| 90 | CpuInfo(@This()).create(.Ma2080, "ma2080", &[_]FeatureType { | 90 | CpuInfo(@This(), FeatureType).create(.Ma2080, "ma2080", &[_]FeatureType { |
| 91 | .Leon, | 91 | .Leon, |
| 92 | .Hasleoncasa, | 92 | .Hasleoncasa, |
| 93 | }, | 93 | }), |
| 94 | CpuInfo(@This()).create(.Ma2085, "ma2085", &[_]FeatureType { | 94 | CpuInfo(@This(), FeatureType).create(.Ma2085, "ma2085", &[_]FeatureType { |
| 95 | .Leon, | 95 | .Leon, |
| 96 | .Hasleoncasa, | 96 | .Hasleoncasa, |
| 97 | }, | 97 | }), |
| 98 | CpuInfo(@This()).create(.Ma2100, "ma2100", &[_]FeatureType { | 98 | CpuInfo(@This(), FeatureType).create(.Ma2100, "ma2100", &[_]FeatureType { |
| 99 | .Leon, | 99 | .Leon, |
| 100 | .Hasleoncasa, | 100 | .Hasleoncasa, |
| 101 | }, | 101 | }), |
| 102 | CpuInfo(@This()).create(.Ma2150, "ma2150", &[_]FeatureType { | 102 | CpuInfo(@This(), FeatureType).create(.Ma2150, "ma2150", &[_]FeatureType { |
| 103 | .Leon, | 103 | .Leon, |
| 104 | .Hasleoncasa, | 104 | .Hasleoncasa, |
| 105 | }, | 105 | }), |
| 106 | CpuInfo(@This()).create(.Ma2155, "ma2155", &[_]FeatureType { | 106 | CpuInfo(@This(), FeatureType).create(.Ma2155, "ma2155", &[_]FeatureType { |
| 107 | .Leon, | 107 | .Leon, |
| 108 | .Hasleoncasa, | 108 | .Hasleoncasa, |
| 109 | }, | 109 | }), |
| 110 | CpuInfo(@This()).create(.Ma2450, "ma2450", &[_]FeatureType { | 110 | CpuInfo(@This(), FeatureType).create(.Ma2450, "ma2450", &[_]FeatureType { |
| 111 | .Leon, | 111 | .Leon, |
| 112 | .Hasleoncasa, | 112 | .Hasleoncasa, |
| 113 | }, | 113 | }), |
| 114 | CpuInfo(@This()).create(.Ma2455, "ma2455", &[_]FeatureType { | 114 | CpuInfo(@This(), FeatureType).create(.Ma2455, "ma2455", &[_]FeatureType { |
| 115 | .Leon, | 115 | .Leon, |
| 116 | .Hasleoncasa, | 116 | .Hasleoncasa, |
| 117 | }, | 117 | }), |
| 118 | CpuInfo(@This()).create(.Ma2480, "ma2480", &[_]FeatureType { | 118 | CpuInfo(@This(), FeatureType).create(.Ma2480, "ma2480", &[_]FeatureType { |
| 119 | .Leon, | 119 | .Leon, |
| 120 | .Hasleoncasa, | 120 | .Hasleoncasa, |
| 121 | }, | 121 | }), |
| 122 | CpuInfo(@This()).create(.Ma2485, "ma2485", &[_]FeatureType { | 122 | CpuInfo(@This(), FeatureType).create(.Ma2485, "ma2485", &[_]FeatureType { |
| 123 | .Leon, | 123 | .Leon, |
| 124 | .Hasleoncasa, | 124 | .Hasleoncasa, |
| 125 | }, | 125 | }), |
| 126 | CpuInfo(@This()).create(.Ma2x5x, "ma2x5x", &[_]FeatureType { | 126 | CpuInfo(@This(), FeatureType).create(.Ma2x5x, "ma2x5x", &[_]FeatureType { |
| 127 | .Leon, | 127 | .Leon, |
| 128 | .Hasleoncasa, | 128 | .Hasleoncasa, |
| 129 | }, | 129 | }), |
| 130 | CpuInfo(@This()).create(.Ma2x8x, "ma2x8x", &[_]FeatureType { | 130 | CpuInfo(@This(), FeatureType).create(.Ma2x8x, "ma2x8x", &[_]FeatureType { |
| 131 | .Leon, | 131 | .Leon, |
| 132 | .Hasleoncasa, | 132 | .Hasleoncasa, |
| 133 | }, | 133 | }), |
| 134 | CpuInfo(@This()).create(.Myriad2, "myriad2", &[_]FeatureType { | 134 | CpuInfo(@This(), FeatureType).create(.Myriad2, "myriad2", &[_]FeatureType { |
| 135 | .Leon, | 135 | .Leon, |
| 136 | .Hasleoncasa, | 136 | .Hasleoncasa, |
| 137 | }, | 137 | }), |
| 138 | CpuInfo(@This()).create(.Myriad21, "myriad2.1", &[_]FeatureType { | 138 | CpuInfo(@This(), FeatureType).create(.Myriad21, "myriad2.1", &[_]FeatureType { |
| 139 | .Leon, | 139 | .Leon, |
| 140 | .Hasleoncasa, | 140 | .Hasleoncasa, |
| 141 | }, | 141 | }), |
| 142 | CpuInfo(@This()).create(.Myriad22, "myriad2.2", &[_]FeatureType { | 142 | CpuInfo(@This(), FeatureType).create(.Myriad22, "myriad2.2", &[_]FeatureType { |
| 143 | .Leon, | 143 | .Leon, |
| 144 | .Hasleoncasa, | 144 | .Hasleoncasa, |
| 145 | }, | 145 | }), |
| 146 | CpuInfo(@This()).create(.Myriad23, "myriad2.3", &[_]FeatureType { | 146 | CpuInfo(@This(), FeatureType).create(.Myriad23, "myriad2.3", &[_]FeatureType { |
| 147 | .Leon, | 147 | .Leon, |
| 148 | .Hasleoncasa, | 148 | .Hasleoncasa, |
| 149 | }, | 149 | }), |
| 150 | CpuInfo(@This()).create(.Niagara, "niagara", &[_]FeatureType { | 150 | CpuInfo(@This(), FeatureType).create(.Niagara, "niagara", &[_]FeatureType { |
| 151 | .DeprecatedV8, | 151 | .DeprecatedV8, |
| 152 | .V9, | 152 | .V9, |
| 153 | .Vis, | 153 | .Vis, |
| 154 | .Vis2, | 154 | .Vis2, |
| 155 | }, | 155 | }), |
| 156 | CpuInfo(@This()).create(.Niagara2, "niagara2", &[_]FeatureType { | 156 | CpuInfo(@This(), FeatureType).create(.Niagara2, "niagara2", &[_]FeatureType { |
| 157 | .DeprecatedV8, | 157 | .DeprecatedV8, |
| 158 | .V9, | 158 | .V9, |
| 159 | .Vis, | 159 | .Vis, |
| 160 | .Vis2, | 160 | .Vis2, |
| 161 | .Popc, | 161 | .Popc, |
| 162 | }, | 162 | }), |
| 163 | CpuInfo(@This()).create(.Niagara3, "niagara3", &[_]FeatureType { | 163 | CpuInfo(@This(), FeatureType).create(.Niagara3, "niagara3", &[_]FeatureType { |
| 164 | .DeprecatedV8, | 164 | .DeprecatedV8, |
| 165 | .V9, | 165 | .V9, |
| 166 | .Vis, | 166 | .Vis, |
| 167 | .Vis2, | 167 | .Vis2, |
| 168 | .Popc, | 168 | .Popc, |
| 169 | }, | 169 | }), |
| 170 | CpuInfo(@This()).create(.Niagara4, "niagara4", &[_]FeatureType { | 170 | CpuInfo(@This(), FeatureType).create(.Niagara4, "niagara4", &[_]FeatureType { |
| 171 | .DeprecatedV8, | 171 | .DeprecatedV8, |
| 172 | .V9, | 172 | .V9, |
| 173 | .Vis, | 173 | .Vis, |
| 174 | .Vis2, | 174 | .Vis2, |
| 175 | .Vis3, | 175 | .Vis3, |
| 176 | .Popc, | 176 | .Popc, |
| 177 | }, | 177 | }), |
| 178 | CpuInfo(@This()).create(.Sparclet, "sparclet", &[_]FeatureType { | 178 | CpuInfo(@This(), FeatureType).create(.Sparclet, "sparclet", &[_]FeatureType { |
| 179 | }, | 179 | }), |
| 180 | CpuInfo(@This()).create(.Sparclite, "sparclite", &[_]FeatureType { | 180 | CpuInfo(@This(), FeatureType).create(.Sparclite, "sparclite", &[_]FeatureType { |
| 181 | }, | 181 | }), |
| 182 | CpuInfo(@This()).create(.Sparclite86x, "sparclite86x", &[_]FeatureType { | 182 | CpuInfo(@This(), FeatureType).create(.Sparclite86x, "sparclite86x", &[_]FeatureType { |
| 183 | }, | 183 | }), |
| 184 | CpuInfo(@This()).create(.Supersparc, "supersparc", &[_]FeatureType { | 184 | CpuInfo(@This(), FeatureType).create(.Supersparc, "supersparc", &[_]FeatureType { |
| 185 | }, | 185 | }), |
| 186 | CpuInfo(@This()).create(.Tsc701, "tsc701", &[_]FeatureType { | 186 | CpuInfo(@This(), FeatureType).create(.Tsc701, "tsc701", &[_]FeatureType { |
| 187 | }, | 187 | }), |
| 188 | CpuInfo(@This()).create(.Ultrasparc, "ultrasparc", &[_]FeatureType { | 188 | CpuInfo(@This(), FeatureType).create(.Ultrasparc, "ultrasparc", &[_]FeatureType { |
| 189 | .DeprecatedV8, | 189 | .DeprecatedV8, |
| 190 | .V9, | 190 | .V9, |
| 191 | .Vis, | 191 | .Vis, |
| 192 | }, | 192 | }), |
| 193 | CpuInfo(@This()).create(.Ultrasparc3, "ultrasparc3", &[_]FeatureType { | 193 | CpuInfo(@This(), FeatureType).create(.Ultrasparc3, "ultrasparc3", &[_]FeatureType { |
| 194 | .DeprecatedV8, | 194 | .DeprecatedV8, |
| 195 | .V9, | 195 | .V9, |
| 196 | .Vis, | 196 | .Vis, |
| 197 | .Vis2, | 197 | .Vis2, |
| 198 | }, | 198 | }), |
| 199 | CpuInfo(@This()).create(.Ut699, "ut699", &[_]FeatureType { | 199 | CpuInfo(@This(), FeatureType).create(.Ut699, "ut699", &[_]FeatureType { |
| 200 | .Leon, | 200 | .Leon, |
| 201 | .NoFmuls, | 201 | .NoFmuls, |
| 202 | .NoFsmuld, | 202 | .NoFsmuld, |
| 203 | .Fixallfdivsqrt, | 203 | .Fixallfdivsqrt, |
| 204 | .Insertnopload, | 204 | .Insertnopload, |
| 205 | }, | 205 | }), |
| 206 | CpuInfo(@This()).create(.V7, "v7", &[_]FeatureType { | 206 | CpuInfo(@This(), FeatureType).create(.V7, "v7", &[_]FeatureType { |
| 207 | .NoFsmuld, | 207 | .NoFsmuld, |
| 208 | .SoftMulDiv, | 208 | .SoftMulDiv, |
| 209 | }, | 209 | }), |
| 210 | CpuInfo(@This()).create(.V8, "v8", &[_]FeatureType { | 210 | CpuInfo(@This(), FeatureType).create(.V8, "v8", &[_]FeatureType { |
| 211 | }, | 211 | }), |
| 212 | CpuInfo(@This()).create(.V9, "v9", &[_]FeatureType { | 212 | CpuInfo(@This(), FeatureType).create(.V9, "v9", &[_]FeatureType { |
| 213 | .V9, | 213 | .V9, |
| 214 | }, | 214 | }), |
| 215 | }; | 215 | }; |
| 216 | }; | 216 | }; |
lib/std/target/cpu/SystemZCpu.zig+30-30| ... | @@ -16,14 +16,14 @@ pub const SystemZCpu = enum { | ... | @@ -16,14 +16,14 @@ pub const SystemZCpu = enum { |
| 16 | Z196, | 16 | Z196, |
| 17 | ZEC12, | 17 | ZEC12, |
| 18 | 18 | ||
| 19 | pub fn getInfo(self: @This()) CpuInfo { | 19 | const FeatureType = feature.SystemZFeature; |
| 20 | |||
| 21 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 20 | return cpu_infos[@enumToInt(self)]; | 22 | return cpu_infos[@enumToInt(self)]; |
| 21 | } | 23 | } |
| 22 | 24 | ||
| 23 | pub const FeatureType = feature.SystemZFeature; | 25 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 24 | 26 | CpuInfo(@This(), FeatureType).create(.Arch10, "arch10", &[_]FeatureType { | |
| 25 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 26 | CpuInfo(@This()).create(.Arch10, "arch10", &[_]FeatureType { | ||
| 27 | .DfpZonedConversion, | 27 | .DfpZonedConversion, |
| 28 | .DistinctOps, | 28 | .DistinctOps, |
| 29 | .EnhancedDat2, | 29 | .EnhancedDat2, |
| ... | @@ -41,8 +41,8 @@ pub const SystemZCpu = enum { | ... | @@ -41,8 +41,8 @@ pub const SystemZCpu = enum { |
| 41 | .ProcessorAssist, | 41 | .ProcessorAssist, |
| 42 | .ResetReferenceBitsMultiple, | 42 | .ResetReferenceBitsMultiple, |
| 43 | .TransactionalExecution, | 43 | .TransactionalExecution, |
| 44 | }, | 44 | }), |
| 45 | CpuInfo(@This()).create(.Arch11, "arch11", &[_]FeatureType { | 45 | CpuInfo(@This(), FeatureType).create(.Arch11, "arch11", &[_]FeatureType { |
| 46 | .DfpPackedConversion, | 46 | .DfpPackedConversion, |
| 47 | .DfpZonedConversion, | 47 | .DfpZonedConversion, |
| 48 | .DistinctOps, | 48 | .DistinctOps, |
| ... | @@ -65,8 +65,8 @@ pub const SystemZCpu = enum { | ... | @@ -65,8 +65,8 @@ pub const SystemZCpu = enum { |
| 65 | .ResetReferenceBitsMultiple, | 65 | .ResetReferenceBitsMultiple, |
| 66 | .TransactionalExecution, | 66 | .TransactionalExecution, |
| 67 | .Vector, | 67 | .Vector, |
| 68 | }, | 68 | }), |
| 69 | CpuInfo(@This()).create(.Arch12, "arch12", &[_]FeatureType { | 69 | CpuInfo(@This(), FeatureType).create(.Arch12, "arch12", &[_]FeatureType { |
| 70 | .DfpPackedConversion, | 70 | .DfpPackedConversion, |
| 71 | .DfpZonedConversion, | 71 | .DfpZonedConversion, |
| 72 | .DistinctOps, | 72 | .DistinctOps, |
| ... | @@ -96,8 +96,8 @@ pub const SystemZCpu = enum { | ... | @@ -96,8 +96,8 @@ pub const SystemZCpu = enum { |
| 96 | .Vector, | 96 | .Vector, |
| 97 | .VectorEnhancements1, | 97 | .VectorEnhancements1, |
| 98 | .VectorPackedDecimal, | 98 | .VectorPackedDecimal, |
| 99 | }, | 99 | }), |
| 100 | CpuInfo(@This()).create(.Arch13, "arch13", &[_]FeatureType { | 100 | CpuInfo(@This(), FeatureType).create(.Arch13, "arch13", &[_]FeatureType { |
| 101 | .DfpPackedConversion, | 101 | .DfpPackedConversion, |
| 102 | .DfpZonedConversion, | 102 | .DfpZonedConversion, |
| 103 | .DeflateConversion, | 103 | .DeflateConversion, |
| ... | @@ -133,10 +133,10 @@ pub const SystemZCpu = enum { | ... | @@ -133,10 +133,10 @@ pub const SystemZCpu = enum { |
| 133 | .VectorEnhancements2, | 133 | .VectorEnhancements2, |
| 134 | .VectorPackedDecimal, | 134 | .VectorPackedDecimal, |
| 135 | .VectorPackedDecimalEnhancement, | 135 | .VectorPackedDecimalEnhancement, |
| 136 | }, | 136 | }), |
| 137 | CpuInfo(@This()).create(.Arch8, "arch8", &[_]FeatureType { | 137 | CpuInfo(@This(), FeatureType).create(.Arch8, "arch8", &[_]FeatureType { |
| 138 | }, | 138 | }), |
| 139 | CpuInfo(@This()).create(.Arch9, "arch9", &[_]FeatureType { | 139 | CpuInfo(@This(), FeatureType).create(.Arch9, "arch9", &[_]FeatureType { |
| 140 | .DistinctOps, | 140 | .DistinctOps, |
| 141 | .FpExtension, | 141 | .FpExtension, |
| 142 | .FastSerialization, | 142 | .FastSerialization, |
| ... | @@ -147,12 +147,12 @@ pub const SystemZCpu = enum { | ... | @@ -147,12 +147,12 @@ pub const SystemZCpu = enum { |
| 147 | .MessageSecurityAssistExtension4, | 147 | .MessageSecurityAssistExtension4, |
| 148 | .PopulationCount, | 148 | .PopulationCount, |
| 149 | .ResetReferenceBitsMultiple, | 149 | .ResetReferenceBitsMultiple, |
| 150 | }, | 150 | }), |
| 151 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | 151 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { |
| 152 | }, | 152 | }), |
| 153 | CpuInfo(@This()).create(.Z10, "z10", &[_]FeatureType { | 153 | CpuInfo(@This(), FeatureType).create(.Z10, "z10", &[_]FeatureType { |
| 154 | }, | 154 | }), |
| 155 | CpuInfo(@This()).create(.Z13, "z13", &[_]FeatureType { | 155 | CpuInfo(@This(), FeatureType).create(.Z13, "z13", &[_]FeatureType { |
| 156 | .DfpPackedConversion, | 156 | .DfpPackedConversion, |
| 157 | .DfpZonedConversion, | 157 | .DfpZonedConversion, |
| 158 | .DistinctOps, | 158 | .DistinctOps, |
| ... | @@ -175,8 +175,8 @@ pub const SystemZCpu = enum { | ... | @@ -175,8 +175,8 @@ pub const SystemZCpu = enum { |
| 175 | .ResetReferenceBitsMultiple, | 175 | .ResetReferenceBitsMultiple, |
| 176 | .TransactionalExecution, | 176 | .TransactionalExecution, |
| 177 | .Vector, | 177 | .Vector, |
| 178 | }, | 178 | }), |
| 179 | CpuInfo(@This()).create(.Z14, "z14", &[_]FeatureType { | 179 | CpuInfo(@This(), FeatureType).create(.Z14, "z14", &[_]FeatureType { |
| 180 | .DfpPackedConversion, | 180 | .DfpPackedConversion, |
| 181 | .DfpZonedConversion, | 181 | .DfpZonedConversion, |
| 182 | .DistinctOps, | 182 | .DistinctOps, |
| ... | @@ -206,8 +206,8 @@ pub const SystemZCpu = enum { | ... | @@ -206,8 +206,8 @@ pub const SystemZCpu = enum { |
| 206 | .Vector, | 206 | .Vector, |
| 207 | .VectorEnhancements1, | 207 | .VectorEnhancements1, |
| 208 | .VectorPackedDecimal, | 208 | .VectorPackedDecimal, |
| 209 | }, | 209 | }), |
| 210 | CpuInfo(@This()).create(.Z15, "z15", &[_]FeatureType { | 210 | CpuInfo(@This(), FeatureType).create(.Z15, "z15", &[_]FeatureType { |
| 211 | .DfpPackedConversion, | 211 | .DfpPackedConversion, |
| 212 | .DfpZonedConversion, | 212 | .DfpZonedConversion, |
| 213 | .DeflateConversion, | 213 | .DeflateConversion, |
| ... | @@ -243,8 +243,8 @@ pub const SystemZCpu = enum { | ... | @@ -243,8 +243,8 @@ pub const SystemZCpu = enum { |
| 243 | .VectorEnhancements2, | 243 | .VectorEnhancements2, |
| 244 | .VectorPackedDecimal, | 244 | .VectorPackedDecimal, |
| 245 | .VectorPackedDecimalEnhancement, | 245 | .VectorPackedDecimalEnhancement, |
| 246 | }, | 246 | }), |
| 247 | CpuInfo(@This()).create(.Z196, "z196", &[_]FeatureType { | 247 | CpuInfo(@This(), FeatureType).create(.Z196, "z196", &[_]FeatureType { |
| 248 | .DistinctOps, | 248 | .DistinctOps, |
| 249 | .FpExtension, | 249 | .FpExtension, |
| 250 | .FastSerialization, | 250 | .FastSerialization, |
| ... | @@ -255,8 +255,8 @@ pub const SystemZCpu = enum { | ... | @@ -255,8 +255,8 @@ pub const SystemZCpu = enum { |
| 255 | .MessageSecurityAssistExtension4, | 255 | .MessageSecurityAssistExtension4, |
| 256 | .PopulationCount, | 256 | .PopulationCount, |
| 257 | .ResetReferenceBitsMultiple, | 257 | .ResetReferenceBitsMultiple, |
| 258 | }, | 258 | }), |
| 259 | CpuInfo(@This()).create(.ZEC12, "zEC12", &[_]FeatureType { | 259 | CpuInfo(@This(), FeatureType).create(.ZEC12, "zEC12", &[_]FeatureType { |
| 260 | .DfpZonedConversion, | 260 | .DfpZonedConversion, |
| 261 | .DistinctOps, | 261 | .DistinctOps, |
| 262 | .EnhancedDat2, | 262 | .EnhancedDat2, |
| ... | @@ -274,6 +274,6 @@ pub const SystemZCpu = enum { | ... | @@ -274,6 +274,6 @@ pub const SystemZCpu = enum { |
| 274 | .ProcessorAssist, | 274 | .ProcessorAssist, |
| 275 | .ResetReferenceBitsMultiple, | 275 | .ResetReferenceBitsMultiple, |
| 276 | .TransactionalExecution, | 276 | .TransactionalExecution, |
| 277 | }, | 277 | }), |
| 278 | }; | 278 | }; |
| 279 | }; | 279 | }; |
lib/std/target/cpu/WebAssemblyCpu.zig+10-10| ... | @@ -6,23 +6,23 @@ pub const WebAssemblyCpu = enum { | ... | @@ -6,23 +6,23 @@ pub const WebAssemblyCpu = enum { |
| 6 | Generic, | 6 | Generic, |
| 7 | Mvp, | 7 | Mvp, |
| 8 | 8 | ||
| 9 | pub fn getInfo(self: @This()) CpuInfo { | 9 | const FeatureType = feature.WebAssemblyFeature; |
| 10 | |||
| 11 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 10 | return cpu_infos[@enumToInt(self)]; | 12 | return cpu_infos[@enumToInt(self)]; |
| 11 | } | 13 | } |
| 12 | 14 | ||
| 13 | pub const FeatureType = feature.WebAssemblyFeature; | 15 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 14 | 16 | CpuInfo(@This(), FeatureType).create(.BleedingEdge, "bleeding-edge", &[_]FeatureType { | |
| 15 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 16 | CpuInfo(@This()).create(.BleedingEdge, "bleeding-edge", &[_]FeatureType { | ||
| 17 | .Atomics, | 17 | .Atomics, |
| 18 | .MutableGlobals, | 18 | .MutableGlobals, |
| 19 | .NontrappingFptoint, | 19 | .NontrappingFptoint, |
| 20 | .Simd128, | 20 | .Simd128, |
| 21 | .SignExt, | 21 | .SignExt, |
| 22 | }, | 22 | }), |
| 23 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | 23 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { |
| 24 | }, | 24 | }), |
| 25 | CpuInfo(@This()).create(.Mvp, "mvp", &[_]FeatureType { | 25 | CpuInfo(@This(), FeatureType).create(.Mvp, "mvp", &[_]FeatureType { |
| 26 | }, | 26 | }), |
| 27 | }; | 27 | }; |
| 28 | }; | 28 | }; |
lib/std/target/cpu/X86Cpu.zig+162-162| ... | @@ -82,14 +82,14 @@ pub const X86Cpu = enum { | ... | @@ -82,14 +82,14 @@ pub const X86Cpu = enum { |
| 82 | Znver1, | 82 | Znver1, |
| 83 | Znver2, | 83 | Znver2, |
| 84 | 84 | ||
| 85 | pub fn getInfo(self: @This()) CpuInfo { | 85 | const FeatureType = feature.X86Feature; |
| 86 | |||
| 87 | pub fn getInfo(self: @This()) CpuInfo(@This(), FeatureType) { | ||
| 86 | return cpu_infos[@enumToInt(self)]; | 88 | return cpu_infos[@enumToInt(self)]; |
| 87 | } | 89 | } |
| 88 | 90 | ||
| 89 | pub const FeatureType = feature.X86Feature; | 91 | pub const cpu_infos = [@memberCount(@This())]CpuInfo(@This(), FeatureType) { |
| 90 | 92 | CpuInfo(@This(), FeatureType).create(.Amdfam10, "amdfam10", &[_]FeatureType { | |
| 91 | const cpu_infos = [@memberCount(@This())]CpuInfo(@This()) { | ||
| 92 | CpuInfo(@This()).create(.Amdfam10, "amdfam10", &[_]FeatureType { | ||
| 93 | .Mmx, | 93 | .Mmx, |
| 94 | .Dnowa3, | 94 | .Dnowa3, |
| 95 | .Bit64, | 95 | .Bit64, |
| ... | @@ -106,8 +106,8 @@ pub const X86Cpu = enum { | ... | @@ -106,8 +106,8 @@ pub const X86Cpu = enum { |
| 106 | .Sse4a, | 106 | .Sse4a, |
| 107 | .SlowShld, | 107 | .SlowShld, |
| 108 | .X87, | 108 | .X87, |
| 109 | }, | 109 | }), |
| 110 | CpuInfo(@This()).create(.Athlon, "athlon", &[_]FeatureType { | 110 | CpuInfo(@This(), FeatureType).create(.Athlon, "athlon", &[_]FeatureType { |
| 111 | .Mmx, | 111 | .Mmx, |
| 112 | .Dnowa3, | 112 | .Dnowa3, |
| 113 | .Cmov, | 113 | .Cmov, |
| ... | @@ -116,8 +116,8 @@ pub const X86Cpu = enum { | ... | @@ -116,8 +116,8 @@ pub const X86Cpu = enum { |
| 116 | .SlowShld, | 116 | .SlowShld, |
| 117 | .SlowUnalignedMem16, | 117 | .SlowUnalignedMem16, |
| 118 | .X87, | 118 | .X87, |
| 119 | }, | 119 | }), |
| 120 | CpuInfo(@This()).create(.Athlon4, "athlon-4", &[_]FeatureType { | 120 | CpuInfo(@This(), FeatureType).create(.Athlon4, "athlon-4", &[_]FeatureType { |
| 121 | .Mmx, | 121 | .Mmx, |
| 122 | .Dnowa3, | 122 | .Dnowa3, |
| 123 | .Cmov, | 123 | .Cmov, |
| ... | @@ -128,8 +128,8 @@ pub const X86Cpu = enum { | ... | @@ -128,8 +128,8 @@ pub const X86Cpu = enum { |
| 128 | .SlowShld, | 128 | .SlowShld, |
| 129 | .SlowUnalignedMem16, | 129 | .SlowUnalignedMem16, |
| 130 | .X87, | 130 | .X87, |
| 131 | }, | 131 | }), |
| 132 | CpuInfo(@This()).create(.AthlonFx, "athlon-fx", &[_]FeatureType { | 132 | CpuInfo(@This(), FeatureType).create(.AthlonFx, "athlon-fx", &[_]FeatureType { |
| 133 | .Mmx, | 133 | .Mmx, |
| 134 | .Dnowa3, | 134 | .Dnowa3, |
| 135 | .Bit64, | 135 | .Bit64, |
| ... | @@ -143,8 +143,8 @@ pub const X86Cpu = enum { | ... | @@ -143,8 +143,8 @@ pub const X86Cpu = enum { |
| 143 | .SlowShld, | 143 | .SlowShld, |
| 144 | .SlowUnalignedMem16, | 144 | .SlowUnalignedMem16, |
| 145 | .X87, | 145 | .X87, |
| 146 | }, | 146 | }), |
| 147 | CpuInfo(@This()).create(.AthlonMp, "athlon-mp", &[_]FeatureType { | 147 | CpuInfo(@This(), FeatureType).create(.AthlonMp, "athlon-mp", &[_]FeatureType { |
| 148 | .Mmx, | 148 | .Mmx, |
| 149 | .Dnowa3, | 149 | .Dnowa3, |
| 150 | .Cmov, | 150 | .Cmov, |
| ... | @@ -155,8 +155,8 @@ pub const X86Cpu = enum { | ... | @@ -155,8 +155,8 @@ pub const X86Cpu = enum { |
| 155 | .SlowShld, | 155 | .SlowShld, |
| 156 | .SlowUnalignedMem16, | 156 | .SlowUnalignedMem16, |
| 157 | .X87, | 157 | .X87, |
| 158 | }, | 158 | }), |
| 159 | CpuInfo(@This()).create(.AthlonTbird, "athlon-tbird", &[_]FeatureType { | 159 | CpuInfo(@This(), FeatureType).create(.AthlonTbird, "athlon-tbird", &[_]FeatureType { |
| 160 | .Mmx, | 160 | .Mmx, |
| 161 | .Dnowa3, | 161 | .Dnowa3, |
| 162 | .Cmov, | 162 | .Cmov, |
| ... | @@ -165,8 +165,8 @@ pub const X86Cpu = enum { | ... | @@ -165,8 +165,8 @@ pub const X86Cpu = enum { |
| 165 | .SlowShld, | 165 | .SlowShld, |
| 166 | .SlowUnalignedMem16, | 166 | .SlowUnalignedMem16, |
| 167 | .X87, | 167 | .X87, |
| 168 | }, | 168 | }), |
| 169 | CpuInfo(@This()).create(.AthlonXp, "athlon-xp", &[_]FeatureType { | 169 | CpuInfo(@This(), FeatureType).create(.AthlonXp, "athlon-xp", &[_]FeatureType { |
| 170 | .Mmx, | 170 | .Mmx, |
| 171 | .Dnowa3, | 171 | .Dnowa3, |
| 172 | .Cmov, | 172 | .Cmov, |
| ... | @@ -177,8 +177,8 @@ pub const X86Cpu = enum { | ... | @@ -177,8 +177,8 @@ pub const X86Cpu = enum { |
| 177 | .SlowShld, | 177 | .SlowShld, |
| 178 | .SlowUnalignedMem16, | 178 | .SlowUnalignedMem16, |
| 179 | .X87, | 179 | .X87, |
| 180 | }, | 180 | }), |
| 181 | CpuInfo(@This()).create(.Athlon64, "athlon64", &[_]FeatureType { | 181 | CpuInfo(@This(), FeatureType).create(.Athlon64, "athlon64", &[_]FeatureType { |
| 182 | .Mmx, | 182 | .Mmx, |
| 183 | .Dnowa3, | 183 | .Dnowa3, |
| 184 | .Bit64, | 184 | .Bit64, |
| ... | @@ -192,8 +192,8 @@ pub const X86Cpu = enum { | ... | @@ -192,8 +192,8 @@ pub const X86Cpu = enum { |
| 192 | .SlowShld, | 192 | .SlowShld, |
| 193 | .SlowUnalignedMem16, | 193 | .SlowUnalignedMem16, |
| 194 | .X87, | 194 | .X87, |
| 195 | }, | 195 | }), |
| 196 | CpuInfo(@This()).create(.Athlon64Sse3, "athlon64-sse3", &[_]FeatureType { | 196 | CpuInfo(@This(), FeatureType).create(.Athlon64Sse3, "athlon64-sse3", &[_]FeatureType { |
| 197 | .Mmx, | 197 | .Mmx, |
| 198 | .Dnowa3, | 198 | .Dnowa3, |
| 199 | .Bit64, | 199 | .Bit64, |
| ... | @@ -208,8 +208,8 @@ pub const X86Cpu = enum { | ... | @@ -208,8 +208,8 @@ pub const X86Cpu = enum { |
| 208 | .SlowShld, | 208 | .SlowShld, |
| 209 | .SlowUnalignedMem16, | 209 | .SlowUnalignedMem16, |
| 210 | .X87, | 210 | .X87, |
| 211 | }, | 211 | }), |
| 212 | CpuInfo(@This()).create(.Atom, "atom", &[_]FeatureType { | 212 | CpuInfo(@This(), FeatureType).create(.Atom, "atom", &[_]FeatureType { |
| 213 | .Bit64, | 213 | .Bit64, |
| 214 | .Cmov, | 214 | .Cmov, |
| 215 | .Cx8, | 215 | .Cx8, |
| ... | @@ -229,8 +229,8 @@ pub const X86Cpu = enum { | ... | @@ -229,8 +229,8 @@ pub const X86Cpu = enum { |
| 229 | .SlowTwoMemOps, | 229 | .SlowTwoMemOps, |
| 230 | .SlowUnalignedMem16, | 230 | .SlowUnalignedMem16, |
| 231 | .X87, | 231 | .X87, |
| 232 | }, | 232 | }), |
| 233 | CpuInfo(@This()).create(.Barcelona, "barcelona", &[_]FeatureType { | 233 | CpuInfo(@This(), FeatureType).create(.Barcelona, "barcelona", &[_]FeatureType { |
| 234 | .Mmx, | 234 | .Mmx, |
| 235 | .Dnowa3, | 235 | .Dnowa3, |
| 236 | .Bit64, | 236 | .Bit64, |
| ... | @@ -247,8 +247,8 @@ pub const X86Cpu = enum { | ... | @@ -247,8 +247,8 @@ pub const X86Cpu = enum { |
| 247 | .Sse4a, | 247 | .Sse4a, |
| 248 | .SlowShld, | 248 | .SlowShld, |
| 249 | .X87, | 249 | .X87, |
| 250 | }, | 250 | }), |
| 251 | CpuInfo(@This()).create(.Bdver1, "bdver1", &[_]FeatureType { | 251 | CpuInfo(@This(), FeatureType).create(.Bdver1, "bdver1", &[_]FeatureType { |
| 252 | .Bit64, | 252 | .Bit64, |
| 253 | .Sse, | 253 | .Sse, |
| 254 | .Aes, | 254 | .Aes, |
| ... | @@ -271,8 +271,8 @@ pub const X86Cpu = enum { | ... | @@ -271,8 +271,8 @@ pub const X86Cpu = enum { |
| 271 | .X87, | 271 | .X87, |
| 272 | .Xop, | 272 | .Xop, |
| 273 | .Xsave, | 273 | .Xsave, |
| 274 | }, | 274 | }), |
| 275 | CpuInfo(@This()).create(.Bdver2, "bdver2", &[_]FeatureType { | 275 | CpuInfo(@This(), FeatureType).create(.Bdver2, "bdver2", &[_]FeatureType { |
| 276 | .Bit64, | 276 | .Bit64, |
| 277 | .Sse, | 277 | .Sse, |
| 278 | .Aes, | 278 | .Aes, |
| ... | @@ -300,8 +300,8 @@ pub const X86Cpu = enum { | ... | @@ -300,8 +300,8 @@ pub const X86Cpu = enum { |
| 300 | .X87, | 300 | .X87, |
| 301 | .Xop, | 301 | .Xop, |
| 302 | .Xsave, | 302 | .Xsave, |
| 303 | }, | 303 | }), |
| 304 | CpuInfo(@This()).create(.Bdver3, "bdver3", &[_]FeatureType { | 304 | CpuInfo(@This(), FeatureType).create(.Bdver3, "bdver3", &[_]FeatureType { |
| 305 | .Bit64, | 305 | .Bit64, |
| 306 | .Sse, | 306 | .Sse, |
| 307 | .Aes, | 307 | .Aes, |
| ... | @@ -331,8 +331,8 @@ pub const X86Cpu = enum { | ... | @@ -331,8 +331,8 @@ pub const X86Cpu = enum { |
| 331 | .Xop, | 331 | .Xop, |
| 332 | .Xsave, | 332 | .Xsave, |
| 333 | .Xsaveopt, | 333 | .Xsaveopt, |
| 334 | }, | 334 | }), |
| 335 | CpuInfo(@This()).create(.Bdver4, "bdver4", &[_]FeatureType { | 335 | CpuInfo(@This(), FeatureType).create(.Bdver4, "bdver4", &[_]FeatureType { |
| 336 | .Bit64, | 336 | .Bit64, |
| 337 | .Sse, | 337 | .Sse, |
| 338 | .Aes, | 338 | .Aes, |
| ... | @@ -365,8 +365,8 @@ pub const X86Cpu = enum { | ... | @@ -365,8 +365,8 @@ pub const X86Cpu = enum { |
| 365 | .Xop, | 365 | .Xop, |
| 366 | .Xsave, | 366 | .Xsave, |
| 367 | .Xsaveopt, | 367 | .Xsaveopt, |
| 368 | }, | 368 | }), |
| 369 | CpuInfo(@This()).create(.Bonnell, "bonnell", &[_]FeatureType { | 369 | CpuInfo(@This(), FeatureType).create(.Bonnell, "bonnell", &[_]FeatureType { |
| 370 | .Bit64, | 370 | .Bit64, |
| 371 | .Cmov, | 371 | .Cmov, |
| 372 | .Cx8, | 372 | .Cx8, |
| ... | @@ -386,8 +386,8 @@ pub const X86Cpu = enum { | ... | @@ -386,8 +386,8 @@ pub const X86Cpu = enum { |
| 386 | .SlowTwoMemOps, | 386 | .SlowTwoMemOps, |
| 387 | .SlowUnalignedMem16, | 387 | .SlowUnalignedMem16, |
| 388 | .X87, | 388 | .X87, |
| 389 | }, | 389 | }), |
| 390 | CpuInfo(@This()).create(.Broadwell, "broadwell", &[_]FeatureType { | 390 | CpuInfo(@This(), FeatureType).create(.Broadwell, "broadwell", &[_]FeatureType { |
| 391 | .Bit64, | 391 | .Bit64, |
| 392 | .Adx, | 392 | .Adx, |
| 393 | .Sse, | 393 | .Sse, |
| ... | @@ -427,8 +427,8 @@ pub const X86Cpu = enum { | ... | @@ -427,8 +427,8 @@ pub const X86Cpu = enum { |
| 427 | .X87, | 427 | .X87, |
| 428 | .Xsave, | 428 | .Xsave, |
| 429 | .Xsaveopt, | 429 | .Xsaveopt, |
| 430 | }, | 430 | }), |
| 431 | CpuInfo(@This()).create(.Btver1, "btver1", &[_]FeatureType { | 431 | CpuInfo(@This(), FeatureType).create(.Btver1, "btver1", &[_]FeatureType { |
| 432 | .Bit64, | 432 | .Bit64, |
| 433 | .Cmov, | 433 | .Cmov, |
| 434 | .Cx8, | 434 | .Cx8, |
| ... | @@ -448,8 +448,8 @@ pub const X86Cpu = enum { | ... | @@ -448,8 +448,8 @@ pub const X86Cpu = enum { |
| 448 | .Ssse3, | 448 | .Ssse3, |
| 449 | .SlowShld, | 449 | .SlowShld, |
| 450 | .X87, | 450 | .X87, |
| 451 | }, | 451 | }), |
| 452 | CpuInfo(@This()).create(.Btver2, "btver2", &[_]FeatureType { | 452 | CpuInfo(@This(), FeatureType).create(.Btver2, "btver2", &[_]FeatureType { |
| 453 | .Bit64, | 453 | .Bit64, |
| 454 | .Sse, | 454 | .Sse, |
| 455 | .Aes, | 455 | .Aes, |
| ... | @@ -481,14 +481,14 @@ pub const X86Cpu = enum { | ... | @@ -481,14 +481,14 @@ pub const X86Cpu = enum { |
| 481 | .X87, | 481 | .X87, |
| 482 | .Xsave, | 482 | .Xsave, |
| 483 | .Xsaveopt, | 483 | .Xsaveopt, |
| 484 | }, | 484 | }), |
| 485 | CpuInfo(@This()).create(.C3, "c3", &[_]FeatureType { | 485 | CpuInfo(@This(), FeatureType).create(.C3, "c3", &[_]FeatureType { |
| 486 | .Mmx, | 486 | .Mmx, |
| 487 | .Dnow3, | 487 | .Dnow3, |
| 488 | .SlowUnalignedMem16, | 488 | .SlowUnalignedMem16, |
| 489 | .X87, | 489 | .X87, |
| 490 | }, | 490 | }), |
| 491 | CpuInfo(@This()).create(.C32, "c3-2", &[_]FeatureType { | 491 | CpuInfo(@This(), FeatureType).create(.C32, "c3-2", &[_]FeatureType { |
| 492 | .Cmov, | 492 | .Cmov, |
| 493 | .Cx8, | 493 | .Cx8, |
| 494 | .Fxsr, | 494 | .Fxsr, |
| ... | @@ -496,8 +496,8 @@ pub const X86Cpu = enum { | ... | @@ -496,8 +496,8 @@ pub const X86Cpu = enum { |
| 496 | .Sse, | 496 | .Sse, |
| 497 | .SlowUnalignedMem16, | 497 | .SlowUnalignedMem16, |
| 498 | .X87, | 498 | .X87, |
| 499 | }, | 499 | }), |
| 500 | CpuInfo(@This()).create(.Cannonlake, "cannonlake", &[_]FeatureType { | 500 | CpuInfo(@This(), FeatureType).create(.Cannonlake, "cannonlake", &[_]FeatureType { |
| 501 | .Bit64, | 501 | .Bit64, |
| 502 | .Adx, | 502 | .Adx, |
| 503 | .Sse, | 503 | .Sse, |
| ... | @@ -552,8 +552,8 @@ pub const X86Cpu = enum { | ... | @@ -552,8 +552,8 @@ pub const X86Cpu = enum { |
| 552 | .Xsavec, | 552 | .Xsavec, |
| 553 | .Xsaveopt, | 553 | .Xsaveopt, |
| 554 | .Xsaves, | 554 | .Xsaves, |
| 555 | }, | 555 | }), |
| 556 | CpuInfo(@This()).create(.Cascadelake, "cascadelake", &[_]FeatureType { | 556 | CpuInfo(@This(), FeatureType).create(.Cascadelake, "cascadelake", &[_]FeatureType { |
| 557 | .Bit64, | 557 | .Bit64, |
| 558 | .Adx, | 558 | .Adx, |
| 559 | .Sse, | 559 | .Sse, |
| ... | @@ -607,8 +607,8 @@ pub const X86Cpu = enum { | ... | @@ -607,8 +607,8 @@ pub const X86Cpu = enum { |
| 607 | .Xsavec, | 607 | .Xsavec, |
| 608 | .Xsaveopt, | 608 | .Xsaveopt, |
| 609 | .Xsaves, | 609 | .Xsaves, |
| 610 | }, | 610 | }), |
| 611 | CpuInfo(@This()).create(.Cooperlake, "cooperlake", &[_]FeatureType { | 611 | CpuInfo(@This(), FeatureType).create(.Cooperlake, "cooperlake", &[_]FeatureType { |
| 612 | .Bit64, | 612 | .Bit64, |
| 613 | .Adx, | 613 | .Adx, |
| 614 | .Sse, | 614 | .Sse, |
| ... | @@ -663,8 +663,8 @@ pub const X86Cpu = enum { | ... | @@ -663,8 +663,8 @@ pub const X86Cpu = enum { |
| 663 | .Xsavec, | 663 | .Xsavec, |
| 664 | .Xsaveopt, | 664 | .Xsaveopt, |
| 665 | .Xsaves, | 665 | .Xsaves, |
| 666 | }, | 666 | }), |
| 667 | CpuInfo(@This()).create(.CoreAvxI, "core-avx-i", &[_]FeatureType { | 667 | CpuInfo(@This(), FeatureType).create(.CoreAvxI, "core-avx-i", &[_]FeatureType { |
| 668 | .Bit64, | 668 | .Bit64, |
| 669 | .Sse, | 669 | .Sse, |
| 670 | .Avx, | 670 | .Avx, |
| ... | @@ -692,8 +692,8 @@ pub const X86Cpu = enum { | ... | @@ -692,8 +692,8 @@ pub const X86Cpu = enum { |
| 692 | .X87, | 692 | .X87, |
| 693 | .Xsave, | 693 | .Xsave, |
| 694 | .Xsaveopt, | 694 | .Xsaveopt, |
| 695 | }, | 695 | }), |
| 696 | CpuInfo(@This()).create(.CoreAvx2, "core-avx2", &[_]FeatureType { | 696 | CpuInfo(@This(), FeatureType).create(.CoreAvx2, "core-avx2", &[_]FeatureType { |
| 697 | .Bit64, | 697 | .Bit64, |
| 698 | .Sse, | 698 | .Sse, |
| 699 | .Avx, | 699 | .Avx, |
| ... | @@ -730,8 +730,8 @@ pub const X86Cpu = enum { | ... | @@ -730,8 +730,8 @@ pub const X86Cpu = enum { |
| 730 | .X87, | 730 | .X87, |
| 731 | .Xsave, | 731 | .Xsave, |
| 732 | .Xsaveopt, | 732 | .Xsaveopt, |
| 733 | }, | 733 | }), |
| 734 | CpuInfo(@This()).create(.Core2, "core2", &[_]FeatureType { | 734 | CpuInfo(@This(), FeatureType).create(.Core2, "core2", &[_]FeatureType { |
| 735 | .Bit64, | 735 | .Bit64, |
| 736 | .Cmov, | 736 | .Cmov, |
| 737 | .Cx8, | 737 | .Cx8, |
| ... | @@ -745,8 +745,8 @@ pub const X86Cpu = enum { | ... | @@ -745,8 +745,8 @@ pub const X86Cpu = enum { |
| 745 | .Ssse3, | 745 | .Ssse3, |
| 746 | .SlowUnalignedMem16, | 746 | .SlowUnalignedMem16, |
| 747 | .X87, | 747 | .X87, |
| 748 | }, | 748 | }), |
| 749 | CpuInfo(@This()).create(.Corei7, "corei7", &[_]FeatureType { | 749 | CpuInfo(@This(), FeatureType).create(.Corei7, "corei7", &[_]FeatureType { |
| 750 | .Bit64, | 750 | .Bit64, |
| 751 | .Cmov, | 751 | .Cmov, |
| 752 | .Cx8, | 752 | .Cx8, |
| ... | @@ -760,8 +760,8 @@ pub const X86Cpu = enum { | ... | @@ -760,8 +760,8 @@ pub const X86Cpu = enum { |
| 760 | .Sse, | 760 | .Sse, |
| 761 | .Sse42, | 761 | .Sse42, |
| 762 | .X87, | 762 | .X87, |
| 763 | }, | 763 | }), |
| 764 | CpuInfo(@This()).create(.Corei7Avx, "corei7-avx", &[_]FeatureType { | 764 | CpuInfo(@This(), FeatureType).create(.Corei7Avx, "corei7-avx", &[_]FeatureType { |
| 765 | .Bit64, | 765 | .Bit64, |
| 766 | .Sse, | 766 | .Sse, |
| 767 | .Avx, | 767 | .Avx, |
| ... | @@ -786,20 +786,20 @@ pub const X86Cpu = enum { | ... | @@ -786,20 +786,20 @@ pub const X86Cpu = enum { |
| 786 | .X87, | 786 | .X87, |
| 787 | .Xsave, | 787 | .Xsave, |
| 788 | .Xsaveopt, | 788 | .Xsaveopt, |
| 789 | }, | 789 | }), |
| 790 | CpuInfo(@This()).create(.Generic, "generic", &[_]FeatureType { | 790 | CpuInfo(@This(), FeatureType).create(.Generic, "generic", &[_]FeatureType { |
| 791 | .Cx8, | 791 | .Cx8, |
| 792 | .SlowUnalignedMem16, | 792 | .SlowUnalignedMem16, |
| 793 | .X87, | 793 | .X87, |
| 794 | }, | 794 | }), |
| 795 | CpuInfo(@This()).create(.Geode, "geode", &[_]FeatureType { | 795 | CpuInfo(@This(), FeatureType).create(.Geode, "geode", &[_]FeatureType { |
| 796 | .Mmx, | 796 | .Mmx, |
| 797 | .Dnowa3, | 797 | .Dnowa3, |
| 798 | .Cx8, | 798 | .Cx8, |
| 799 | .SlowUnalignedMem16, | 799 | .SlowUnalignedMem16, |
| 800 | .X87, | 800 | .X87, |
| 801 | }, | 801 | }), |
| 802 | CpuInfo(@This()).create(.Goldmont, "goldmont", &[_]FeatureType { | 802 | CpuInfo(@This(), FeatureType).create(.Goldmont, "goldmont", &[_]FeatureType { |
| 803 | .Bit64, | 803 | .Bit64, |
| 804 | .Sse, | 804 | .Sse, |
| 805 | .Aes, | 805 | .Aes, |
| ... | @@ -830,8 +830,8 @@ pub const X86Cpu = enum { | ... | @@ -830,8 +830,8 @@ pub const X86Cpu = enum { |
| 830 | .Xsavec, | 830 | .Xsavec, |
| 831 | .Xsaveopt, | 831 | .Xsaveopt, |
| 832 | .Xsaves, | 832 | .Xsaves, |
| 833 | }, | 833 | }), |
| 834 | CpuInfo(@This()).create(.GoldmontPlus, "goldmont-plus", &[_]FeatureType { | 834 | CpuInfo(@This(), FeatureType).create(.GoldmontPlus, "goldmont-plus", &[_]FeatureType { |
| 835 | .Bit64, | 835 | .Bit64, |
| 836 | .Sse, | 836 | .Sse, |
| 837 | .Aes, | 837 | .Aes, |
| ... | @@ -864,8 +864,8 @@ pub const X86Cpu = enum { | ... | @@ -864,8 +864,8 @@ pub const X86Cpu = enum { |
| 864 | .Xsavec, | 864 | .Xsavec, |
| 865 | .Xsaveopt, | 865 | .Xsaveopt, |
| 866 | .Xsaves, | 866 | .Xsaves, |
| 867 | }, | 867 | }), |
| 868 | CpuInfo(@This()).create(.Haswell, "haswell", &[_]FeatureType { | 868 | CpuInfo(@This(), FeatureType).create(.Haswell, "haswell", &[_]FeatureType { |
| 869 | .Bit64, | 869 | .Bit64, |
| 870 | .Sse, | 870 | .Sse, |
| 871 | .Avx, | 871 | .Avx, |
| ... | @@ -902,27 +902,27 @@ pub const X86Cpu = enum { | ... | @@ -902,27 +902,27 @@ pub const X86Cpu = enum { |
| 902 | .X87, | 902 | .X87, |
| 903 | .Xsave, | 903 | .Xsave, |
| 904 | .Xsaveopt, | 904 | .Xsaveopt, |
| 905 | }, | 905 | }), |
| 906 | CpuInfo(@This()).create(.I386, "i386", &[_]FeatureType { | 906 | CpuInfo(@This(), FeatureType).create(.I386, "i386", &[_]FeatureType { |
| 907 | .SlowUnalignedMem16, | 907 | .SlowUnalignedMem16, |
| 908 | .X87, | 908 | .X87, |
| 909 | }, | 909 | }), |
| 910 | CpuInfo(@This()).create(.I486, "i486", &[_]FeatureType { | 910 | CpuInfo(@This(), FeatureType).create(.I486, "i486", &[_]FeatureType { |
| 911 | .SlowUnalignedMem16, | 911 | .SlowUnalignedMem16, |
| 912 | .X87, | 912 | .X87, |
| 913 | }, | 913 | }), |
| 914 | CpuInfo(@This()).create(.I586, "i586", &[_]FeatureType { | 914 | CpuInfo(@This(), FeatureType).create(.I586, "i586", &[_]FeatureType { |
| 915 | .Cx8, | 915 | .Cx8, |
| 916 | .SlowUnalignedMem16, | 916 | .SlowUnalignedMem16, |
| 917 | .X87, | 917 | .X87, |
| 918 | }, | 918 | }), |
| 919 | CpuInfo(@This()).create(.I686, "i686", &[_]FeatureType { | 919 | CpuInfo(@This(), FeatureType).create(.I686, "i686", &[_]FeatureType { |
| 920 | .Cmov, | 920 | .Cmov, |
| 921 | .Cx8, | 921 | .Cx8, |
| 922 | .SlowUnalignedMem16, | 922 | .SlowUnalignedMem16, |
| 923 | .X87, | 923 | .X87, |
| 924 | }, | 924 | }), |
| 925 | CpuInfo(@This()).create(.IcelakeClient, "icelake-client", &[_]FeatureType { | 925 | CpuInfo(@This(), FeatureType).create(.IcelakeClient, "icelake-client", &[_]FeatureType { |
| 926 | .Bit64, | 926 | .Bit64, |
| 927 | .Adx, | 927 | .Adx, |
| 928 | .Sse, | 928 | .Sse, |
| ... | @@ -986,8 +986,8 @@ pub const X86Cpu = enum { | ... | @@ -986,8 +986,8 @@ pub const X86Cpu = enum { |
| 986 | .Xsavec, | 986 | .Xsavec, |
| 987 | .Xsaveopt, | 987 | .Xsaveopt, |
| 988 | .Xsaves, | 988 | .Xsaves, |
| 989 | }, | 989 | }), |
| 990 | CpuInfo(@This()).create(.IcelakeServer, "icelake-server", &[_]FeatureType { | 990 | CpuInfo(@This(), FeatureType).create(.IcelakeServer, "icelake-server", &[_]FeatureType { |
| 991 | .Bit64, | 991 | .Bit64, |
| 992 | .Adx, | 992 | .Adx, |
| 993 | .Sse, | 993 | .Sse, |
| ... | @@ -1053,8 +1053,8 @@ pub const X86Cpu = enum { | ... | @@ -1053,8 +1053,8 @@ pub const X86Cpu = enum { |
| 1053 | .Xsavec, | 1053 | .Xsavec, |
| 1054 | .Xsaveopt, | 1054 | .Xsaveopt, |
| 1055 | .Xsaves, | 1055 | .Xsaves, |
| 1056 | }, | 1056 | }), |
| 1057 | CpuInfo(@This()).create(.Ivybridge, "ivybridge", &[_]FeatureType { | 1057 | CpuInfo(@This(), FeatureType).create(.Ivybridge, "ivybridge", &[_]FeatureType { |
| 1058 | .Bit64, | 1058 | .Bit64, |
| 1059 | .Sse, | 1059 | .Sse, |
| 1060 | .Avx, | 1060 | .Avx, |
| ... | @@ -1082,28 +1082,28 @@ pub const X86Cpu = enum { | ... | @@ -1082,28 +1082,28 @@ pub const X86Cpu = enum { |
| 1082 | .X87, | 1082 | .X87, |
| 1083 | .Xsave, | 1083 | .Xsave, |
| 1084 | .Xsaveopt, | 1084 | .Xsaveopt, |
| 1085 | }, | 1085 | }), |
| 1086 | CpuInfo(@This()).create(.K6, "k6", &[_]FeatureType { | 1086 | CpuInfo(@This(), FeatureType).create(.K6, "k6", &[_]FeatureType { |
| 1087 | .Cx8, | 1087 | .Cx8, |
| 1088 | .Mmx, | 1088 | .Mmx, |
| 1089 | .SlowUnalignedMem16, | 1089 | .SlowUnalignedMem16, |
| 1090 | .X87, | 1090 | .X87, |
| 1091 | }, | 1091 | }), |
| 1092 | CpuInfo(@This()).create(.K62, "k6-2", &[_]FeatureType { | 1092 | CpuInfo(@This(), FeatureType).create(.K62, "k6-2", &[_]FeatureType { |
| 1093 | .Mmx, | 1093 | .Mmx, |
| 1094 | .Dnow3, | 1094 | .Dnow3, |
| 1095 | .Cx8, | 1095 | .Cx8, |
| 1096 | .SlowUnalignedMem16, | 1096 | .SlowUnalignedMem16, |
| 1097 | .X87, | 1097 | .X87, |
| 1098 | }, | 1098 | }), |
| 1099 | CpuInfo(@This()).create(.K63, "k6-3", &[_]FeatureType { | 1099 | CpuInfo(@This(), FeatureType).create(.K63, "k6-3", &[_]FeatureType { |
| 1100 | .Mmx, | 1100 | .Mmx, |
| 1101 | .Dnow3, | 1101 | .Dnow3, |
| 1102 | .Cx8, | 1102 | .Cx8, |
| 1103 | .SlowUnalignedMem16, | 1103 | .SlowUnalignedMem16, |
| 1104 | .X87, | 1104 | .X87, |
| 1105 | }, | 1105 | }), |
| 1106 | CpuInfo(@This()).create(.K8, "k8", &[_]FeatureType { | 1106 | CpuInfo(@This(), FeatureType).create(.K8, "k8", &[_]FeatureType { |
| 1107 | .Mmx, | 1107 | .Mmx, |
| 1108 | .Dnowa3, | 1108 | .Dnowa3, |
| 1109 | .Bit64, | 1109 | .Bit64, |
| ... | @@ -1117,8 +1117,8 @@ pub const X86Cpu = enum { | ... | @@ -1117,8 +1117,8 @@ pub const X86Cpu = enum { |
| 1117 | .SlowShld, | 1117 | .SlowShld, |
| 1118 | .SlowUnalignedMem16, | 1118 | .SlowUnalignedMem16, |
| 1119 | .X87, | 1119 | .X87, |
| 1120 | }, | 1120 | }), |
| 1121 | CpuInfo(@This()).create(.K8Sse3, "k8-sse3", &[_]FeatureType { | 1121 | CpuInfo(@This(), FeatureType).create(.K8Sse3, "k8-sse3", &[_]FeatureType { |
| 1122 | .Mmx, | 1122 | .Mmx, |
| 1123 | .Dnowa3, | 1123 | .Dnowa3, |
| 1124 | .Bit64, | 1124 | .Bit64, |
| ... | @@ -1133,8 +1133,8 @@ pub const X86Cpu = enum { | ... | @@ -1133,8 +1133,8 @@ pub const X86Cpu = enum { |
| 1133 | .SlowShld, | 1133 | .SlowShld, |
| 1134 | .SlowUnalignedMem16, | 1134 | .SlowUnalignedMem16, |
| 1135 | .X87, | 1135 | .X87, |
| 1136 | }, | 1136 | }), |
| 1137 | CpuInfo(@This()).create(.Knl, "knl", &[_]FeatureType { | 1137 | CpuInfo(@This(), FeatureType).create(.Knl, "knl", &[_]FeatureType { |
| 1138 | .Bit64, | 1138 | .Bit64, |
| 1139 | .Adx, | 1139 | .Adx, |
| 1140 | .Sse, | 1140 | .Sse, |
| ... | @@ -1173,8 +1173,8 @@ pub const X86Cpu = enum { | ... | @@ -1173,8 +1173,8 @@ pub const X86Cpu = enum { |
| 1173 | .X87, | 1173 | .X87, |
| 1174 | .Xsave, | 1174 | .Xsave, |
| 1175 | .Xsaveopt, | 1175 | .Xsaveopt, |
| 1176 | }, | 1176 | }), |
| 1177 | CpuInfo(@This()).create(.Knm, "knm", &[_]FeatureType { | 1177 | CpuInfo(@This(), FeatureType).create(.Knm, "knm", &[_]FeatureType { |
| 1178 | .Bit64, | 1178 | .Bit64, |
| 1179 | .Adx, | 1179 | .Adx, |
| 1180 | .Sse, | 1180 | .Sse, |
| ... | @@ -1214,10 +1214,10 @@ pub const X86Cpu = enum { | ... | @@ -1214,10 +1214,10 @@ pub const X86Cpu = enum { |
| 1214 | .X87, | 1214 | .X87, |
| 1215 | .Xsave, | 1215 | .Xsave, |
| 1216 | .Xsaveopt, | 1216 | .Xsaveopt, |
| 1217 | }, | 1217 | }), |
| 1218 | CpuInfo(@This()).create(.Lakemont, "lakemont", &[_]FeatureType { | 1218 | CpuInfo(@This(), FeatureType).create(.Lakemont, "lakemont", &[_]FeatureType { |
| 1219 | }, | 1219 | }), |
| 1220 | CpuInfo(@This()).create(.Nehalem, "nehalem", &[_]FeatureType { | 1220 | CpuInfo(@This(), FeatureType).create(.Nehalem, "nehalem", &[_]FeatureType { |
| 1221 | .Bit64, | 1221 | .Bit64, |
| 1222 | .Cmov, | 1222 | .Cmov, |
| 1223 | .Cx8, | 1223 | .Cx8, |
| ... | @@ -1231,8 +1231,8 @@ pub const X86Cpu = enum { | ... | @@ -1231,8 +1231,8 @@ pub const X86Cpu = enum { |
| 1231 | .Sse, | 1231 | .Sse, |
| 1232 | .Sse42, | 1232 | .Sse42, |
| 1233 | .X87, | 1233 | .X87, |
| 1234 | }, | 1234 | }), |
| 1235 | CpuInfo(@This()).create(.Nocona, "nocona", &[_]FeatureType { | 1235 | CpuInfo(@This(), FeatureType).create(.Nocona, "nocona", &[_]FeatureType { |
| 1236 | .Bit64, | 1236 | .Bit64, |
| 1237 | .Cmov, | 1237 | .Cmov, |
| 1238 | .Cx8, | 1238 | .Cx8, |
| ... | @@ -1244,8 +1244,8 @@ pub const X86Cpu = enum { | ... | @@ -1244,8 +1244,8 @@ pub const X86Cpu = enum { |
| 1244 | .Sse3, | 1244 | .Sse3, |
| 1245 | .SlowUnalignedMem16, | 1245 | .SlowUnalignedMem16, |
| 1246 | .X87, | 1246 | .X87, |
| 1247 | }, | 1247 | }), |
| 1248 | CpuInfo(@This()).create(.Opteron, "opteron", &[_]FeatureType { | 1248 | CpuInfo(@This(), FeatureType).create(.Opteron, "opteron", &[_]FeatureType { |
| 1249 | .Mmx, | 1249 | .Mmx, |
| 1250 | .Dnowa3, | 1250 | .Dnowa3, |
| 1251 | .Bit64, | 1251 | .Bit64, |
| ... | @@ -1259,8 +1259,8 @@ pub const X86Cpu = enum { | ... | @@ -1259,8 +1259,8 @@ pub const X86Cpu = enum { |
| 1259 | .SlowShld, | 1259 | .SlowShld, |
| 1260 | .SlowUnalignedMem16, | 1260 | .SlowUnalignedMem16, |
| 1261 | .X87, | 1261 | .X87, |
| 1262 | }, | 1262 | }), |
| 1263 | CpuInfo(@This()).create(.OpteronSse3, "opteron-sse3", &[_]FeatureType { | 1263 | CpuInfo(@This(), FeatureType).create(.OpteronSse3, "opteron-sse3", &[_]FeatureType { |
| 1264 | .Mmx, | 1264 | .Mmx, |
| 1265 | .Dnowa3, | 1265 | .Dnowa3, |
| 1266 | .Bit64, | 1266 | .Bit64, |
| ... | @@ -1275,8 +1275,8 @@ pub const X86Cpu = enum { | ... | @@ -1275,8 +1275,8 @@ pub const X86Cpu = enum { |
| 1275 | .SlowShld, | 1275 | .SlowShld, |
| 1276 | .SlowUnalignedMem16, | 1276 | .SlowUnalignedMem16, |
| 1277 | .X87, | 1277 | .X87, |
| 1278 | }, | 1278 | }), |
| 1279 | CpuInfo(@This()).create(.Penryn, "penryn", &[_]FeatureType { | 1279 | CpuInfo(@This(), FeatureType).create(.Penryn, "penryn", &[_]FeatureType { |
| 1280 | .Bit64, | 1280 | .Bit64, |
| 1281 | .Cmov, | 1281 | .Cmov, |
| 1282 | .Cx8, | 1282 | .Cx8, |
| ... | @@ -1290,13 +1290,13 @@ pub const X86Cpu = enum { | ... | @@ -1290,13 +1290,13 @@ pub const X86Cpu = enum { |
| 1290 | .Sse41, | 1290 | .Sse41, |
| 1291 | .SlowUnalignedMem16, | 1291 | .SlowUnalignedMem16, |
| 1292 | .X87, | 1292 | .X87, |
| 1293 | }, | 1293 | }), |
| 1294 | CpuInfo(@This()).create(.Pentium, "pentium", &[_]FeatureType { | 1294 | CpuInfo(@This(), FeatureType).create(.Pentium, "pentium", &[_]FeatureType { |
| 1295 | .Cx8, | 1295 | .Cx8, |
| 1296 | .SlowUnalignedMem16, | 1296 | .SlowUnalignedMem16, |
| 1297 | .X87, | 1297 | .X87, |
| 1298 | }, | 1298 | }), |
| 1299 | CpuInfo(@This()).create(.PentiumM, "pentium-m", &[_]FeatureType { | 1299 | CpuInfo(@This(), FeatureType).create(.PentiumM, "pentium-m", &[_]FeatureType { |
| 1300 | .Cmov, | 1300 | .Cmov, |
| 1301 | .Cx8, | 1301 | .Cx8, |
| 1302 | .Fxsr, | 1302 | .Fxsr, |
| ... | @@ -1306,14 +1306,14 @@ pub const X86Cpu = enum { | ... | @@ -1306,14 +1306,14 @@ pub const X86Cpu = enum { |
| 1306 | .Sse2, | 1306 | .Sse2, |
| 1307 | .SlowUnalignedMem16, | 1307 | .SlowUnalignedMem16, |
| 1308 | .X87, | 1308 | .X87, |
| 1309 | }, | 1309 | }), |
| 1310 | CpuInfo(@This()).create(.PentiumMmx, "pentium-mmx", &[_]FeatureType { | 1310 | CpuInfo(@This(), FeatureType).create(.PentiumMmx, "pentium-mmx", &[_]FeatureType { |
| 1311 | .Cx8, | 1311 | .Cx8, |
| 1312 | .Mmx, | 1312 | .Mmx, |
| 1313 | .SlowUnalignedMem16, | 1313 | .SlowUnalignedMem16, |
| 1314 | .X87, | 1314 | .X87, |
| 1315 | }, | 1315 | }), |
| 1316 | CpuInfo(@This()).create(.Pentium2, "pentium2", &[_]FeatureType { | 1316 | CpuInfo(@This(), FeatureType).create(.Pentium2, "pentium2", &[_]FeatureType { |
| 1317 | .Cmov, | 1317 | .Cmov, |
| 1318 | .Cx8, | 1318 | .Cx8, |
| 1319 | .Fxsr, | 1319 | .Fxsr, |
| ... | @@ -1321,8 +1321,8 @@ pub const X86Cpu = enum { | ... | @@ -1321,8 +1321,8 @@ pub const X86Cpu = enum { |
| 1321 | .Nopl, | 1321 | .Nopl, |
| 1322 | .SlowUnalignedMem16, | 1322 | .SlowUnalignedMem16, |
| 1323 | .X87, | 1323 | .X87, |
| 1324 | }, | 1324 | }), |
| 1325 | CpuInfo(@This()).create(.Pentium3, "pentium3", &[_]FeatureType { | 1325 | CpuInfo(@This(), FeatureType).create(.Pentium3, "pentium3", &[_]FeatureType { |
| 1326 | .Cmov, | 1326 | .Cmov, |
| 1327 | .Cx8, | 1327 | .Cx8, |
| 1328 | .Fxsr, | 1328 | .Fxsr, |
| ... | @@ -1331,8 +1331,8 @@ pub const X86Cpu = enum { | ... | @@ -1331,8 +1331,8 @@ pub const X86Cpu = enum { |
| 1331 | .Sse, | 1331 | .Sse, |
| 1332 | .SlowUnalignedMem16, | 1332 | .SlowUnalignedMem16, |
| 1333 | .X87, | 1333 | .X87, |
| 1334 | }, | 1334 | }), |
| 1335 | CpuInfo(@This()).create(.Pentium3m, "pentium3m", &[_]FeatureType { | 1335 | CpuInfo(@This(), FeatureType).create(.Pentium3m, "pentium3m", &[_]FeatureType { |
| 1336 | .Cmov, | 1336 | .Cmov, |
| 1337 | .Cx8, | 1337 | .Cx8, |
| 1338 | .Fxsr, | 1338 | .Fxsr, |
| ... | @@ -1341,8 +1341,8 @@ pub const X86Cpu = enum { | ... | @@ -1341,8 +1341,8 @@ pub const X86Cpu = enum { |
| 1341 | .Sse, | 1341 | .Sse, |
| 1342 | .SlowUnalignedMem16, | 1342 | .SlowUnalignedMem16, |
| 1343 | .X87, | 1343 | .X87, |
| 1344 | }, | 1344 | }), |
| 1345 | CpuInfo(@This()).create(.Pentium4, "pentium4", &[_]FeatureType { | 1345 | CpuInfo(@This(), FeatureType).create(.Pentium4, "pentium4", &[_]FeatureType { |
| 1346 | .Cmov, | 1346 | .Cmov, |
| 1347 | .Cx8, | 1347 | .Cx8, |
| 1348 | .Fxsr, | 1348 | .Fxsr, |
| ... | @@ -1352,8 +1352,8 @@ pub const X86Cpu = enum { | ... | @@ -1352,8 +1352,8 @@ pub const X86Cpu = enum { |
| 1352 | .Sse2, | 1352 | .Sse2, |
| 1353 | .SlowUnalignedMem16, | 1353 | .SlowUnalignedMem16, |
| 1354 | .X87, | 1354 | .X87, |
| 1355 | }, | 1355 | }), |
| 1356 | CpuInfo(@This()).create(.Pentium4m, "pentium4m", &[_]FeatureType { | 1356 | CpuInfo(@This(), FeatureType).create(.Pentium4m, "pentium4m", &[_]FeatureType { |
| 1357 | .Cmov, | 1357 | .Cmov, |
| 1358 | .Cx8, | 1358 | .Cx8, |
| 1359 | .Fxsr, | 1359 | .Fxsr, |
| ... | @@ -1363,15 +1363,15 @@ pub const X86Cpu = enum { | ... | @@ -1363,15 +1363,15 @@ pub const X86Cpu = enum { |
| 1363 | .Sse2, | 1363 | .Sse2, |
| 1364 | .SlowUnalignedMem16, | 1364 | .SlowUnalignedMem16, |
| 1365 | .X87, | 1365 | .X87, |
| 1366 | }, | 1366 | }), |
| 1367 | CpuInfo(@This()).create(.Pentiumpro, "pentiumpro", &[_]FeatureType { | 1367 | CpuInfo(@This(), FeatureType).create(.Pentiumpro, "pentiumpro", &[_]FeatureType { |
| 1368 | .Cmov, | 1368 | .Cmov, |
| 1369 | .Cx8, | 1369 | .Cx8, |
| 1370 | .Nopl, | 1370 | .Nopl, |
| 1371 | .SlowUnalignedMem16, | 1371 | .SlowUnalignedMem16, |
| 1372 | .X87, | 1372 | .X87, |
| 1373 | }, | 1373 | }), |
| 1374 | CpuInfo(@This()).create(.Prescott, "prescott", &[_]FeatureType { | 1374 | CpuInfo(@This(), FeatureType).create(.Prescott, "prescott", &[_]FeatureType { |
| 1375 | .Cmov, | 1375 | .Cmov, |
| 1376 | .Cx8, | 1376 | .Cx8, |
| 1377 | .Fxsr, | 1377 | .Fxsr, |
| ... | @@ -1381,8 +1381,8 @@ pub const X86Cpu = enum { | ... | @@ -1381,8 +1381,8 @@ pub const X86Cpu = enum { |
| 1381 | .Sse3, | 1381 | .Sse3, |
| 1382 | .SlowUnalignedMem16, | 1382 | .SlowUnalignedMem16, |
| 1383 | .X87, | 1383 | .X87, |
| 1384 | }, | 1384 | }), |
| 1385 | CpuInfo(@This()).create(.Sandybridge, "sandybridge", &[_]FeatureType { | 1385 | CpuInfo(@This(), FeatureType).create(.Sandybridge, "sandybridge", &[_]FeatureType { |
| 1386 | .Bit64, | 1386 | .Bit64, |
| 1387 | .Sse, | 1387 | .Sse, |
| 1388 | .Avx, | 1388 | .Avx, |
| ... | @@ -1407,8 +1407,8 @@ pub const X86Cpu = enum { | ... | @@ -1407,8 +1407,8 @@ pub const X86Cpu = enum { |
| 1407 | .X87, | 1407 | .X87, |
| 1408 | .Xsave, | 1408 | .Xsave, |
| 1409 | .Xsaveopt, | 1409 | .Xsaveopt, |
| 1410 | }, | 1410 | }), |
| 1411 | CpuInfo(@This()).create(.Silvermont, "silvermont", &[_]FeatureType { | 1411 | CpuInfo(@This(), FeatureType).create(.Silvermont, "silvermont", &[_]FeatureType { |
| 1412 | .Bit64, | 1412 | .Bit64, |
| 1413 | .Cmov, | 1413 | .Cmov, |
| 1414 | .Cx8, | 1414 | .Cx8, |
| ... | @@ -1432,8 +1432,8 @@ pub const X86Cpu = enum { | ... | @@ -1432,8 +1432,8 @@ pub const X86Cpu = enum { |
| 1432 | .SlowPmulld, | 1432 | .SlowPmulld, |
| 1433 | .SlowTwoMemOps, | 1433 | .SlowTwoMemOps, |
| 1434 | .X87, | 1434 | .X87, |
| 1435 | }, | 1435 | }), |
| 1436 | CpuInfo(@This()).create(.Skx, "skx", &[_]FeatureType { | 1436 | CpuInfo(@This(), FeatureType).create(.Skx, "skx", &[_]FeatureType { |
| 1437 | .Bit64, | 1437 | .Bit64, |
| 1438 | .Adx, | 1438 | .Adx, |
| 1439 | .Sse, | 1439 | .Sse, |
| ... | @@ -1486,8 +1486,8 @@ pub const X86Cpu = enum { | ... | @@ -1486,8 +1486,8 @@ pub const X86Cpu = enum { |
| 1486 | .Xsavec, | 1486 | .Xsavec, |
| 1487 | .Xsaveopt, | 1487 | .Xsaveopt, |
| 1488 | .Xsaves, | 1488 | .Xsaves, |
| 1489 | }, | 1489 | }), |
| 1490 | CpuInfo(@This()).create(.Skylake, "skylake", &[_]FeatureType { | 1490 | CpuInfo(@This(), FeatureType).create(.Skylake, "skylake", &[_]FeatureType { |
| 1491 | .Bit64, | 1491 | .Bit64, |
| 1492 | .Adx, | 1492 | .Adx, |
| 1493 | .Sse, | 1493 | .Sse, |
| ... | @@ -1533,8 +1533,8 @@ pub const X86Cpu = enum { | ... | @@ -1533,8 +1533,8 @@ pub const X86Cpu = enum { |
| 1533 | .Xsavec, | 1533 | .Xsavec, |
| 1534 | .Xsaveopt, | 1534 | .Xsaveopt, |
| 1535 | .Xsaves, | 1535 | .Xsaves, |
| 1536 | }, | 1536 | }), |
| 1537 | CpuInfo(@This()).create(.SkylakeAvx512, "skylake-avx512", &[_]FeatureType { | 1537 | CpuInfo(@This(), FeatureType).create(.SkylakeAvx512, "skylake-avx512", &[_]FeatureType { |
| 1538 | .Bit64, | 1538 | .Bit64, |
| 1539 | .Adx, | 1539 | .Adx, |
| 1540 | .Sse, | 1540 | .Sse, |
| ... | @@ -1587,8 +1587,8 @@ pub const X86Cpu = enum { | ... | @@ -1587,8 +1587,8 @@ pub const X86Cpu = enum { |
| 1587 | .Xsavec, | 1587 | .Xsavec, |
| 1588 | .Xsaveopt, | 1588 | .Xsaveopt, |
| 1589 | .Xsaves, | 1589 | .Xsaves, |
| 1590 | }, | 1590 | }), |
| 1591 | CpuInfo(@This()).create(.Slm, "slm", &[_]FeatureType { | 1591 | CpuInfo(@This(), FeatureType).create(.Slm, "slm", &[_]FeatureType { |
| 1592 | .Bit64, | 1592 | .Bit64, |
| 1593 | .Cmov, | 1593 | .Cmov, |
| 1594 | .Cx8, | 1594 | .Cx8, |
| ... | @@ -1612,8 +1612,8 @@ pub const X86Cpu = enum { | ... | @@ -1612,8 +1612,8 @@ pub const X86Cpu = enum { |
| 1612 | .SlowPmulld, | 1612 | .SlowPmulld, |
| 1613 | .SlowTwoMemOps, | 1613 | .SlowTwoMemOps, |
| 1614 | .X87, | 1614 | .X87, |
| 1615 | }, | 1615 | }), |
| 1616 | CpuInfo(@This()).create(.Tigerlake, "tigerlake", &[_]FeatureType { | 1616 | CpuInfo(@This(), FeatureType).create(.Tigerlake, "tigerlake", &[_]FeatureType { |
| 1617 | .Bit64, | 1617 | .Bit64, |
| 1618 | .Adx, | 1618 | .Adx, |
| 1619 | .Sse, | 1619 | .Sse, |
| ... | @@ -1681,8 +1681,8 @@ pub const X86Cpu = enum { | ... | @@ -1681,8 +1681,8 @@ pub const X86Cpu = enum { |
| 1681 | .Xsavec, | 1681 | .Xsavec, |
| 1682 | .Xsaveopt, | 1682 | .Xsaveopt, |
| 1683 | .Xsaves, | 1683 | .Xsaves, |
| 1684 | }, | 1684 | }), |
| 1685 | CpuInfo(@This()).create(.Tremont, "tremont", &[_]FeatureType { | 1685 | CpuInfo(@This(), FeatureType).create(.Tremont, "tremont", &[_]FeatureType { |
| 1686 | .Bit64, | 1686 | .Bit64, |
| 1687 | .Sse, | 1687 | .Sse, |
| 1688 | .Aes, | 1688 | .Aes, |
| ... | @@ -1720,8 +1720,8 @@ pub const X86Cpu = enum { | ... | @@ -1720,8 +1720,8 @@ pub const X86Cpu = enum { |
| 1720 | .Xsavec, | 1720 | .Xsavec, |
| 1721 | .Xsaveopt, | 1721 | .Xsaveopt, |
| 1722 | .Xsaves, | 1722 | .Xsaves, |
| 1723 | }, | 1723 | }), |
| 1724 | CpuInfo(@This()).create(.Westmere, "westmere", &[_]FeatureType { | 1724 | CpuInfo(@This(), FeatureType).create(.Westmere, "westmere", &[_]FeatureType { |
| 1725 | .Bit64, | 1725 | .Bit64, |
| 1726 | .Cmov, | 1726 | .Cmov, |
| 1727 | .Cx8, | 1727 | .Cx8, |
| ... | @@ -1736,19 +1736,19 @@ pub const X86Cpu = enum { | ... | @@ -1736,19 +1736,19 @@ pub const X86Cpu = enum { |
| 1736 | .Popcnt, | 1736 | .Popcnt, |
| 1737 | .Sse42, | 1737 | .Sse42, |
| 1738 | .X87, | 1738 | .X87, |
| 1739 | }, | 1739 | }), |
| 1740 | CpuInfo(@This()).create(.WinchipC6, "winchip-c6", &[_]FeatureType { | 1740 | CpuInfo(@This(), FeatureType).create(.WinchipC6, "winchip-c6", &[_]FeatureType { |
| 1741 | .Mmx, | 1741 | .Mmx, |
| 1742 | .SlowUnalignedMem16, | 1742 | .SlowUnalignedMem16, |
| 1743 | .X87, | 1743 | .X87, |
| 1744 | }, | 1744 | }), |
| 1745 | CpuInfo(@This()).create(.Winchip2, "winchip2", &[_]FeatureType { | 1745 | CpuInfo(@This(), FeatureType).create(.Winchip2, "winchip2", &[_]FeatureType { |
| 1746 | .Mmx, | 1746 | .Mmx, |
| 1747 | .Dnow3, | 1747 | .Dnow3, |
| 1748 | .SlowUnalignedMem16, | 1748 | .SlowUnalignedMem16, |
| 1749 | .X87, | 1749 | .X87, |
| 1750 | }, | 1750 | }), |
| 1751 | CpuInfo(@This()).create(.X8664, "x86-64", &[_]FeatureType { | 1751 | CpuInfo(@This(), FeatureType).create(.X8664, "x86-64", &[_]FeatureType { |
| 1752 | .Bit64, | 1752 | .Bit64, |
| 1753 | .Cmov, | 1753 | .Cmov, |
| 1754 | .Cx8, | 1754 | .Cx8, |
| ... | @@ -1761,8 +1761,8 @@ pub const X86Cpu = enum { | ... | @@ -1761,8 +1761,8 @@ pub const X86Cpu = enum { |
| 1761 | .Slow3opsLea, | 1761 | .Slow3opsLea, |
| 1762 | .SlowIncdec, | 1762 | .SlowIncdec, |
| 1763 | .X87, | 1763 | .X87, |
| 1764 | }, | 1764 | }), |
| 1765 | CpuInfo(@This()).create(.Yonah, "yonah", &[_]FeatureType { | 1765 | CpuInfo(@This(), FeatureType).create(.Yonah, "yonah", &[_]FeatureType { |
| 1766 | .Cmov, | 1766 | .Cmov, |
| 1767 | .Cx8, | 1767 | .Cx8, |
| 1768 | .Fxsr, | 1768 | .Fxsr, |
| ... | @@ -1772,8 +1772,8 @@ pub const X86Cpu = enum { | ... | @@ -1772,8 +1772,8 @@ pub const X86Cpu = enum { |
| 1772 | .Sse3, | 1772 | .Sse3, |
| 1773 | .SlowUnalignedMem16, | 1773 | .SlowUnalignedMem16, |
| 1774 | .X87, | 1774 | .X87, |
| 1775 | }, | 1775 | }), |
| 1776 | CpuInfo(@This()).create(.Znver1, "znver1", &[_]FeatureType { | 1776 | CpuInfo(@This(), FeatureType).create(.Znver1, "znver1", &[_]FeatureType { |
| 1777 | .Bit64, | 1777 | .Bit64, |
| 1778 | .Adx, | 1778 | .Adx, |
| 1779 | .Sse, | 1779 | .Sse, |
| ... | @@ -1814,8 +1814,8 @@ pub const X86Cpu = enum { | ... | @@ -1814,8 +1814,8 @@ pub const X86Cpu = enum { |
| 1814 | .Xsavec, | 1814 | .Xsavec, |
| 1815 | .Xsaveopt, | 1815 | .Xsaveopt, |
| 1816 | .Xsaves, | 1816 | .Xsaves, |
| 1817 | }, | 1817 | }), |
| 1818 | CpuInfo(@This()).create(.Znver2, "znver2", &[_]FeatureType { | 1818 | CpuInfo(@This(), FeatureType).create(.Znver2, "znver2", &[_]FeatureType { |
| 1819 | .Bit64, | 1819 | .Bit64, |
| 1820 | .Adx, | 1820 | .Adx, |
| 1821 | .Sse, | 1821 | .Sse, |
| ... | @@ -1859,6 +1859,6 @@ pub const X86Cpu = enum { | ... | @@ -1859,6 +1859,6 @@ pub const X86Cpu = enum { |
| 1859 | .Xsavec, | 1859 | .Xsavec, |
| 1860 | .Xsaveopt, | 1860 | .Xsaveopt, |
| 1861 | .Xsaves, | 1861 | .Xsaves, |
| 1862 | }, | 1862 | }), |
| 1863 | }; | 1863 | }; |
| 1864 | }; | 1864 | }; |
lib/std/target/cpu/empty.zig+2-2| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | const feature = @import("std").target.feature; | 1 | const feature = @import("std").target.feature; |
| 2 | const CpuInfo = @import("std").target.cpu.CpuInfo; | 2 | const CpuInfo = @import("std").target.cpu.CpuInfo; |
| 3 | 3 | ||
| 4 | pub const EmptyCpu = enum { | 4 | pub const EmptyCpu = struct { |
| 5 | pub const cpu_infos = [0]CpuInfo(@This()) {}; | 5 | pub const cpu_infos = [0]CpuInfo(@This(), feature.EmptyFeature) {}; |
| 6 | }; | 6 | }; |
lib/std/target/feature.zig+9-3| ... | @@ -17,7 +17,7 @@ pub const SystemZFeature = @import("feature/SystemZFeature.zig").SystemZFeature; | ... | @@ -17,7 +17,7 @@ pub const SystemZFeature = @import("feature/SystemZFeature.zig").SystemZFeature; |
| 17 | pub const WebAssemblyFeature = @import("feature/WebAssemblyFeature.zig").WebAssemblyFeature; | 17 | pub const WebAssemblyFeature = @import("feature/WebAssemblyFeature.zig").WebAssemblyFeature; |
| 18 | pub const X86Feature = @import("feature/X86Feature.zig").X86Feature; | 18 | pub const X86Feature = @import("feature/X86Feature.zig").X86Feature; |
| 19 | 19 | ||
| 20 | const EmptyFeature = @import("feature/empty.zig").EmptyFeature; | 20 | pub const EmptyFeature = @import("feature/empty.zig").EmptyFeature; |
| 21 | 21 | ||
| 22 | pub fn ArchFeature(comptime arch: @TagType(Arch)) type { | 22 | pub fn ArchFeature(comptime arch: @TagType(Arch)) type { |
| 23 | return switch (arch) { | 23 | return switch (arch) { |
| ... | @@ -49,24 +49,30 @@ pub fn FeatureInfo(comptime EnumType: type) type { | ... | @@ -49,24 +49,30 @@ pub fn FeatureInfo(comptime EnumType: type) type { |
| 49 | return struct { | 49 | return struct { |
| 50 | value: EnumType, | 50 | value: EnumType, |
| 51 | name: []const u8, | 51 | name: []const u8, |
| 52 | description: []const u8, | ||
| 53 | llvm_name: []const u8, | ||
| 52 | 54 | ||
| 53 | subfeatures: []const EnumType, | 55 | subfeatures: []const EnumType, |
| 54 | 56 | ||
| 55 | const Self = @This(); | 57 | const Self = @This(); |
| 56 | 58 | ||
| 57 | fn create(value: EnumType, name: []const u8) Self { | 59 | pub fn create(value: EnumType, name: []const u8, description: []const u8, llvm_name: []const u8) Self { |
| 58 | return Self { | 60 | return Self { |
| 59 | .value = value, | 61 | .value = value, |
| 60 | .name = name, | 62 | .name = name, |
| 63 | .description = description, | ||
| 64 | .llvm_name = llvm_name, | ||
| 61 | 65 | ||
| 62 | .subfeatures = &[_]EnumType{}, | 66 | .subfeatures = &[_]EnumType{}, |
| 63 | }; | 67 | }; |
| 64 | } | 68 | } |
| 65 | 69 | ||
| 66 | fn createWithSubfeatures(value: EnumType, name: []const u8, subfeatures: []const EnumType) Self { | 70 | pub fn createWithSubfeatures(value: EnumType, name: []const u8, description: []const u8, llvm_name: []const u8, subfeatures: []const EnumType) Self { |
| 67 | return Self { | 71 | return Self { |
| 68 | .value = value, | 72 | .value = value, |
| 69 | .name = name, | 73 | .name = name, |
| 74 | .description = description, | ||
| 75 | .llvm_name = llvm_name, | ||
| 70 | 76 | ||
| 71 | .subfeatures = subfeatures, | 77 | .subfeatures = subfeatures, |
| 72 | }; | 78 | }; |
lib/std/target/feature/AArch64Feature.zig+213-213| ... | @@ -155,7 +155,7 @@ pub const AArch64Feature = enum { | ... | @@ -155,7 +155,7 @@ pub const AArch64Feature = enum { |
| 155 | Thunderxt83, | 155 | Thunderxt83, |
| 156 | Thunderxt88, | 156 | Thunderxt88, |
| 157 | 157 | ||
| 158 | pub fn getInfo(self: @This()) FeatureInfo { | 158 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 159 | return feature_infos[@enumToInt(self)]; | 159 | return feature_infos[@enumToInt(self)]; |
| 160 | } | 160 | } |
| 161 | 161 | ||
| ... | @@ -291,19 +291,19 @@ pub const AArch64Feature = enum { | ... | @@ -291,19 +291,19 @@ pub const AArch64Feature = enum { |
| 291 | .Sve, | 291 | .Sve, |
| 292 | }), | 292 | }), |
| 293 | FeatureInfo(@This()).createWithSubfeatures(.Sve2Aes, "sve2-aes", "Enable AES SVE2 instructions", "sve2-aes", &[_]@This() { | 293 | FeatureInfo(@This()).createWithSubfeatures(.Sve2Aes, "sve2-aes", "Enable AES SVE2 instructions", "sve2-aes", &[_]@This() { |
| 294 | .Sve, | ||
| 295 | .FpArmv8, | 294 | .FpArmv8, |
| 295 | .Sve, | ||
| 296 | }), | 296 | }), |
| 297 | FeatureInfo(@This()).createWithSubfeatures(.Sve2Bitperm, "sve2-bitperm", "Enable bit permutation SVE2 instructions", "sve2-bitperm", &[_]@This() { | 297 | FeatureInfo(@This()).createWithSubfeatures(.Sve2Bitperm, "sve2-bitperm", "Enable bit permutation SVE2 instructions", "sve2-bitperm", &[_]@This() { |
| 298 | .Sve, | 298 | .Sve, |
| 299 | }), | 299 | }), |
| 300 | FeatureInfo(@This()).createWithSubfeatures(.Sve2Sha3, "sve2-sha3", "Enable SHA3 SVE2 instructions", "sve2-sha3", &[_]@This() { | 300 | FeatureInfo(@This()).createWithSubfeatures(.Sve2Sha3, "sve2-sha3", "Enable SHA3 SVE2 instructions", "sve2-sha3", &[_]@This() { |
| 301 | .Sve, | ||
| 302 | .FpArmv8, | 301 | .FpArmv8, |
| 302 | .Sve, | ||
| 303 | }), | 303 | }), |
| 304 | FeatureInfo(@This()).createWithSubfeatures(.Sve2Sm4, "sve2-sm4", "Enable SM4 SVE2 instructions", "sve2-sm4", &[_]@This() { | 304 | FeatureInfo(@This()).createWithSubfeatures(.Sve2Sm4, "sve2-sm4", "Enable SM4 SVE2 instructions", "sve2-sm4", &[_]@This() { |
| 305 | .Sve, | ||
| 306 | .FpArmv8, | 305 | .FpArmv8, |
| 306 | .Sve, | ||
| 307 | }), | 307 | }), |
| 308 | FeatureInfo(@This()).create(.SlowMisaligned128store, "slow-misaligned-128store", "Misaligned 128 bit stores are slow", "slow-misaligned-128store"), | 308 | FeatureInfo(@This()).create(.SlowMisaligned128store, "slow-misaligned-128store", "Misaligned 128 bit stores are slow", "slow-misaligned-128store"), |
| 309 | FeatureInfo(@This()).create(.SlowPaired128, "slow-paired-128", "Paired 128 bit loads and stores are slow", "slow-paired-128"), | 309 | FeatureInfo(@This()).create(.SlowPaired128, "slow-paired-128", "Paired 128 bit loads and stores are slow", "slow-paired-128"), |
| ... | @@ -323,101 +323,101 @@ pub const AArch64Feature = enum { | ... | @@ -323,101 +323,101 @@ pub const AArch64Feature = enum { |
| 323 | FeatureInfo(@This()).create(.Vh, "vh", "Enables ARM v8.1 Virtual Host extension", "vh"), | 323 | FeatureInfo(@This()).create(.Vh, "vh", "Enables ARM v8.1 Virtual Host extension", "vh"), |
| 324 | FeatureInfo(@This()).create(.Zcm, "zcm", "Has zero-cycle register moves", "zcm"), | 324 | FeatureInfo(@This()).create(.Zcm, "zcm", "Has zero-cycle register moves", "zcm"), |
| 325 | FeatureInfo(@This()).createWithSubfeatures(.Zcz, "zcz", "Has zero-cycle zeroing instructions", "zcz", &[_]@This() { | 325 | FeatureInfo(@This()).createWithSubfeatures(.Zcz, "zcz", "Has zero-cycle zeroing instructions", "zcz", &[_]@This() { |
| 326 | .ZczFp, | ||
| 327 | .ZczGp, | 326 | .ZczGp, |
| 327 | .ZczFp, | ||
| 328 | }), | 328 | }), |
| 329 | FeatureInfo(@This()).create(.ZczFp, "zcz-fp", "Has zero-cycle zeroing instructions for FP registers", "zcz-fp"), | 329 | FeatureInfo(@This()).create(.ZczFp, "zcz-fp", "Has zero-cycle zeroing instructions for FP registers", "zcz-fp"), |
| 330 | FeatureInfo(@This()).create(.ZczFpWorkaround, "zcz-fp-workaround", "The zero-cycle floating-point zeroing instruction has a bug", "zcz-fp-workaround"), | 330 | FeatureInfo(@This()).create(.ZczFpWorkaround, "zcz-fp-workaround", "The zero-cycle floating-point zeroing instruction has a bug", "zcz-fp-workaround"), |
| 331 | FeatureInfo(@This()).create(.ZczGp, "zcz-gp", "Has zero-cycle zeroing instructions for generic registers", "zcz-gp"), | 331 | FeatureInfo(@This()).create(.ZczGp, "zcz-gp", "Has zero-cycle zeroing instructions for generic registers", "zcz-gp"), |
| 332 | FeatureInfo(@This()).createWithSubfeatures(.V81a, "v8.1a", "Support ARM v8.1a instructions", "v8.1a", &[_]@This() { | 332 | FeatureInfo(@This()).createWithSubfeatures(.V81a, "v8.1a", "Support ARM v8.1a instructions", "v8.1a", &[_]@This() { |
| 333 | .Pan, | ||
| 334 | .Rdm, | ||
| 335 | .Lse, | 333 | .Lse, |
| 334 | .Rdm, | ||
| 336 | .Crc, | 335 | .Crc, |
| 337 | .Lor, | 336 | .Lor, |
| 337 | .Pan, | ||
| 338 | .Vh, | 338 | .Vh, |
| 339 | }), | 339 | }), |
| 340 | FeatureInfo(@This()).createWithSubfeatures(.V82a, "v8.2a", "Support ARM v8.2a instructions", "v8.2a", &[_]@This() { | 340 | FeatureInfo(@This()).createWithSubfeatures(.V82a, "v8.2a", "Support ARM v8.2a instructions", "v8.2a", &[_]@This() { |
| 341 | .Ccpp, | ||
| 342 | .Pan, | ||
| 343 | .Rdm, | ||
| 344 | .Lse, | 341 | .Lse, |
| 342 | .Rdm, | ||
| 343 | .Pan, | ||
| 345 | .Crc, | 344 | .Crc, |
| 346 | .Lor, | 345 | .Lor, |
| 347 | .Uaops, | 346 | .Uaops, |
| 348 | .Vh, | ||
| 349 | .Ras, | 347 | .Ras, |
| 348 | .Ccpp, | ||
| 349 | .Vh, | ||
| 350 | }), | 350 | }), |
| 351 | FeatureInfo(@This()).createWithSubfeatures(.V83a, "v8.3a", "Support ARM v8.3a instructions", "v8.3a", &[_]@This() { | 351 | FeatureInfo(@This()).createWithSubfeatures(.V83a, "v8.3a", "Support ARM v8.3a instructions", "v8.3a", &[_]@This() { |
| 352 | .Rcpc, | ||
| 353 | .Ccpp, | ||
| 354 | .Pan, | ||
| 355 | .Rdm, | ||
| 356 | .FpArmv8, | ||
| 357 | .Lse, | 352 | .Lse, |
| 358 | .Ccidx, | 353 | .Vh, |
| 354 | .Pa, | ||
| 355 | .Rdm, | ||
| 356 | .Pan, | ||
| 359 | .Crc, | 357 | .Crc, |
| 360 | .Lor, | 358 | .Lor, |
| 361 | .Pa, | ||
| 362 | .Uaops, | 359 | .Uaops, |
| 363 | .Vh, | ||
| 364 | .Ras, | 360 | .Ras, |
| 361 | .Rcpc, | ||
| 362 | .Ccpp, | ||
| 363 | .Ccidx, | ||
| 364 | .FpArmv8, | ||
| 365 | }), | 365 | }), |
| 366 | FeatureInfo(@This()).createWithSubfeatures(.V84a, "v8.4a", "Support ARM v8.4a instructions", "v8.4a", &[_]@This() { | 366 | FeatureInfo(@This()).createWithSubfeatures(.V84a, "v8.4a", "Support ARM v8.4a instructions", "v8.4a", &[_]@This() { |
| 367 | .Nv, | 367 | .Rdm, |
| 368 | .Dit, | ||
| 368 | .Am, | 369 | .Am, |
| 369 | .Lse, | 370 | .Ras, |
| 371 | .Rcpc, | ||
| 370 | .Sel2, | 372 | .Sel2, |
| 371 | .Lor, | ||
| 372 | .Tracev84, | ||
| 373 | .Uaops, | ||
| 374 | .Ccpp, | 373 | .Ccpp, |
| 375 | .TlbRmi, | ||
| 376 | .Fmi, | ||
| 377 | .Rcpc, | ||
| 378 | .Pan, | ||
| 379 | .Rdm, | ||
| 380 | .Pa, | 374 | .Pa, |
| 381 | .Dit, | 375 | .Pan, |
| 382 | .Ras, | 376 | .Uaops, |
| 377 | .Tracev84, | ||
| 383 | .Mpam, | 378 | .Mpam, |
| 384 | .FpArmv8, | 379 | .Lse, |
| 385 | .Ccidx, | 380 | .Nv, |
| 386 | .Dotprod, | 381 | .Dotprod, |
| 382 | .TlbRmi, | ||
| 383 | .Lor, | ||
| 384 | .Ccidx, | ||
| 385 | .FpArmv8, | ||
| 387 | .Crc, | 386 | .Crc, |
| 387 | .Fmi, | ||
| 388 | .Vh, | 388 | .Vh, |
| 389 | }), | 389 | }), |
| 390 | FeatureInfo(@This()).createWithSubfeatures(.V85a, "v8.5a", "Support ARM v8.5a instructions", "v8.5a", &[_]@This() { | 390 | FeatureInfo(@This()).createWithSubfeatures(.V85a, "v8.5a", "Support ARM v8.5a instructions", "v8.5a", &[_]@This() { |
| 391 | .Nv, | 391 | .Vh, |
| 392 | .Rdm, | ||
| 393 | .Dit, | ||
| 392 | .Am, | 394 | .Am, |
| 393 | .Lse, | 395 | .Ssbs, |
| 394 | .Fptoint, | 396 | .Specrestrict, |
| 397 | .Ras, | ||
| 398 | .Rcpc, | ||
| 395 | .Sel2, | 399 | .Sel2, |
| 396 | .Lor, | ||
| 397 | .Tracev84, | ||
| 398 | .Uaops, | ||
| 399 | .Sb, | ||
| 400 | .Ccpp, | 400 | .Ccpp, |
| 401 | .Specrestrict, | 401 | .Pa, |
| 402 | .Bti, | 402 | .Bti, |
| 403 | .Ccdp, | 403 | .Ccdp, |
| 404 | .TlbRmi, | ||
| 405 | .Fmi, | ||
| 406 | .Rcpc, | ||
| 407 | .Pan, | 404 | .Pan, |
| 408 | .Rdm, | 405 | .Uaops, |
| 409 | .Pa, | 406 | .Tracev84, |
| 410 | .Ssbs, | ||
| 411 | .Dit, | ||
| 412 | .Ras, | ||
| 413 | .Mpam, | 407 | .Mpam, |
| 408 | .Lse, | ||
| 409 | .Sb, | ||
| 410 | .Nv, | ||
| 414 | .Altnzcv, | 411 | .Altnzcv, |
| 415 | .FpArmv8, | ||
| 416 | .Ccidx, | ||
| 417 | .Dotprod, | 412 | .Dotprod, |
| 418 | .Crc, | 413 | .TlbRmi, |
| 414 | .Lor, | ||
| 415 | .Ccidx, | ||
| 419 | .Predres, | 416 | .Predres, |
| 420 | .Vh, | 417 | .Crc, |
| 418 | .Fptoint, | ||
| 419 | .Fmi, | ||
| 420 | .FpArmv8, | ||
| 421 | }), | 421 | }), |
| 422 | FeatureInfo(@This()).createWithSubfeatures(.A35, "a35", "Cortex-A35 ARM processors", "a35", &[_]@This() { | 422 | FeatureInfo(@This()).createWithSubfeatures(.A35, "a35", "Cortex-A35 ARM processors", "a35", &[_]@This() { |
| 423 | .Perfmon, | 423 | .Perfmon, |
| ... | @@ -425,325 +425,325 @@ pub const AArch64Feature = enum { | ... | @@ -425,325 +425,325 @@ pub const AArch64Feature = enum { |
| 425 | .Crc, | 425 | .Crc, |
| 426 | }), | 426 | }), |
| 427 | FeatureInfo(@This()).createWithSubfeatures(.A53, "a53", "Cortex-A53 ARM processors", "a53", &[_]@This() { | 427 | FeatureInfo(@This()).createWithSubfeatures(.A53, "a53", "Cortex-A53 ARM processors", "a53", &[_]@This() { |
| 428 | .UseAa, | ||
| 429 | .FuseAes, | ||
| 430 | .FpArmv8, | ||
| 431 | .Perfmon, | 428 | .Perfmon, |
| 432 | .Crc, | ||
| 433 | .BalanceFpOps, | ||
| 434 | .UsePostraScheduler, | 429 | .UsePostraScheduler, |
| 430 | .Crc, | ||
| 435 | .CustomCheapAsMove, | 431 | .CustomCheapAsMove, |
| 432 | .BalanceFpOps, | ||
| 433 | .UseAa, | ||
| 434 | .FpArmv8, | ||
| 435 | .FuseAes, | ||
| 436 | }), | 436 | }), |
| 437 | FeatureInfo(@This()).createWithSubfeatures(.A55, "a55", "Cortex-A55 ARM processors", "a55", &[_]@This() { | 437 | FeatureInfo(@This()).createWithSubfeatures(.A55, "a55", "Cortex-A55 ARM processors", "a55", &[_]@This() { |
| 438 | .Rcpc, | 438 | .Lse, |
| 439 | .Ccpp, | 439 | .Vh, |
| 440 | .Pan, | ||
| 441 | .Rdm, | 440 | .Rdm, |
| 442 | .FuseAes, | ||
| 443 | .Perfmon, | 441 | .Perfmon, |
| 444 | .FpArmv8, | 442 | .Pan, |
| 445 | .Lse, | ||
| 446 | .Crc, | ||
| 447 | .Dotprod, | 443 | .Dotprod, |
| 444 | .Crc, | ||
| 448 | .Lor, | 445 | .Lor, |
| 449 | .Uaops, | 446 | .Uaops, |
| 450 | .Vh, | ||
| 451 | .Ras, | 447 | .Ras, |
| 448 | .Rcpc, | ||
| 449 | .Ccpp, | ||
| 450 | .FpArmv8, | ||
| 451 | .FuseAes, | ||
| 452 | }), | 452 | }), |
| 453 | FeatureInfo(@This()).createWithSubfeatures(.A57, "a57", "Cortex-A57 ARM processors", "a57", &[_]@This() { | 453 | FeatureInfo(@This()).createWithSubfeatures(.A57, "a57", "Cortex-A57 ARM processors", "a57", &[_]@This() { |
| 454 | .FuseLiterals, | ||
| 455 | .FuseAes, | ||
| 456 | .FpArmv8, | ||
| 457 | .Perfmon, | 454 | .Perfmon, |
| 458 | .Crc, | ||
| 459 | .BalanceFpOps, | ||
| 460 | .UsePostraScheduler, | 455 | .UsePostraScheduler, |
| 461 | .CustomCheapAsMove, | 456 | .Crc, |
| 462 | .PredictableSelectExpensive, | 457 | .PredictableSelectExpensive, |
| 458 | .CustomCheapAsMove, | ||
| 459 | .BalanceFpOps, | ||
| 460 | .FuseLiterals, | ||
| 461 | .FpArmv8, | ||
| 462 | .FuseAes, | ||
| 463 | }), | 463 | }), |
| 464 | FeatureInfo(@This()).createWithSubfeatures(.A65, "a65", "Cortex-A65 ARM processors", "a65", &[_]@This() { | 464 | FeatureInfo(@This()).createWithSubfeatures(.A65, "a65", "Cortex-A65 ARM processors", "a65", &[_]@This() { |
| 465 | .Rcpc, | ||
| 466 | .Ccpp, | ||
| 467 | .Pan, | ||
| 468 | .Rdm, | ||
| 469 | .FpArmv8, | ||
| 470 | .Lse, | 465 | .Lse, |
| 471 | .Crc, | 466 | .Vh, |
| 467 | .Rdm, | ||
| 468 | .Pan, | ||
| 472 | .Dotprod, | 469 | .Dotprod, |
| 473 | .Lor, | 470 | .Crc, |
| 474 | .Ssbs, | 471 | .Ssbs, |
| 472 | .Lor, | ||
| 475 | .Uaops, | 473 | .Uaops, |
| 476 | .Vh, | ||
| 477 | .Ras, | 474 | .Ras, |
| 475 | .Rcpc, | ||
| 476 | .Ccpp, | ||
| 477 | .FpArmv8, | ||
| 478 | }), | 478 | }), |
| 479 | FeatureInfo(@This()).createWithSubfeatures(.A72, "a72", "Cortex-A72 ARM processors", "a72", &[_]@This() { | 479 | FeatureInfo(@This()).createWithSubfeatures(.A72, "a72", "Cortex-A72 ARM processors", "a72", &[_]@This() { |
| 480 | .Perfmon, | 480 | .Perfmon, |
| 481 | .FuseAes, | ||
| 482 | .FpArmv8, | 481 | .FpArmv8, |
| 483 | .Crc, | 482 | .Crc, |
| 483 | .FuseAes, | ||
| 484 | }), | 484 | }), |
| 485 | FeatureInfo(@This()).createWithSubfeatures(.A73, "a73", "Cortex-A73 ARM processors", "a73", &[_]@This() { | 485 | FeatureInfo(@This()).createWithSubfeatures(.A73, "a73", "Cortex-A73 ARM processors", "a73", &[_]@This() { |
| 486 | .Perfmon, | 486 | .Perfmon, |
| 487 | .FuseAes, | ||
| 488 | .FpArmv8, | 487 | .FpArmv8, |
| 489 | .Crc, | 488 | .Crc, |
| 489 | .FuseAes, | ||
| 490 | }), | 490 | }), |
| 491 | FeatureInfo(@This()).createWithSubfeatures(.A75, "a75", "Cortex-A75 ARM processors", "a75", &[_]@This() { | 491 | FeatureInfo(@This()).createWithSubfeatures(.A75, "a75", "Cortex-A75 ARM processors", "a75", &[_]@This() { |
| 492 | .Rcpc, | 492 | .Lse, |
| 493 | .Ccpp, | 493 | .Vh, |
| 494 | .Pan, | ||
| 495 | .Rdm, | 494 | .Rdm, |
| 496 | .FuseAes, | ||
| 497 | .Perfmon, | 495 | .Perfmon, |
| 498 | .FpArmv8, | 496 | .Pan, |
| 499 | .Lse, | ||
| 500 | .Crc, | ||
| 501 | .Dotprod, | 497 | .Dotprod, |
| 498 | .Crc, | ||
| 502 | .Lor, | 499 | .Lor, |
| 503 | .Uaops, | 500 | .Uaops, |
| 504 | .Vh, | ||
| 505 | .Ras, | 501 | .Ras, |
| 506 | }), | ||
| 507 | FeatureInfo(@This()).createWithSubfeatures(.A76, "a76", "Cortex-A76 ARM processors", "a76", &[_]@This() { | ||
| 508 | .Rcpc, | 502 | .Rcpc, |
| 509 | .Ccpp, | 503 | .Ccpp, |
| 510 | .Pan, | ||
| 511 | .Rdm, | ||
| 512 | .FpArmv8, | 504 | .FpArmv8, |
| 505 | .FuseAes, | ||
| 506 | }), | ||
| 507 | FeatureInfo(@This()).createWithSubfeatures(.A76, "a76", "Cortex-A76 ARM processors", "a76", &[_]@This() { | ||
| 513 | .Lse, | 508 | .Lse, |
| 514 | .Crc, | 509 | .Vh, |
| 510 | .Rdm, | ||
| 511 | .Pan, | ||
| 515 | .Dotprod, | 512 | .Dotprod, |
| 516 | .Lor, | 513 | .Crc, |
| 517 | .Ssbs, | 514 | .Ssbs, |
| 515 | .Lor, | ||
| 518 | .Uaops, | 516 | .Uaops, |
| 519 | .Vh, | ||
| 520 | .Ras, | 517 | .Ras, |
| 518 | .Rcpc, | ||
| 519 | .Ccpp, | ||
| 520 | .FpArmv8, | ||
| 521 | }), | 521 | }), |
| 522 | FeatureInfo(@This()).createWithSubfeatures(.Cyclone, "cyclone", "Cyclone", "cyclone", &[_]@This() { | 522 | FeatureInfo(@This()).createWithSubfeatures(.Cyclone, "cyclone", "Cyclone", "cyclone", &[_]@This() { |
| 523 | .ZczFp, | 523 | .ArithBccFusion, |
| 524 | .ArithCbzFusion, | 524 | .ArithCbzFusion, |
| 525 | .FuseAes, | 525 | .ZczFp, |
| 526 | .AlternateSextloadCvtF32Pattern, | 526 | .AlternateSextloadCvtF32Pattern, |
| 527 | .ZczFpWorkaround, | ||
| 528 | .FpArmv8, | ||
| 529 | .Perfmon, | ||
| 530 | .DisableLatencySchedHeuristic, | 527 | .DisableLatencySchedHeuristic, |
| 531 | .Zcm, | 528 | .Perfmon, |
| 532 | .ZczGp, | 529 | .ZczGp, |
| 533 | .ArithBccFusion, | 530 | .ZczFpWorkaround, |
| 531 | .Zcm, | ||
| 532 | .FpArmv8, | ||
| 534 | .FuseCryptoEor, | 533 | .FuseCryptoEor, |
| 534 | .FuseAes, | ||
| 535 | }), | 535 | }), |
| 536 | FeatureInfo(@This()).createWithSubfeatures(.Exynosm1, "exynosm1", "Samsung Exynos-M1 processors", "exynosm1", &[_]@This() { | 536 | FeatureInfo(@This()).createWithSubfeatures(.Exynosm1, "exynosm1", "Samsung Exynos-M1 processors", "exynosm1", &[_]@This() { |
| 537 | .ZczFp, | 537 | .ZczFp, |
| 538 | .FuseAes, | ||
| 539 | .SlowPaired128, | ||
| 540 | .Force32bitJumpTables, | ||
| 541 | .UseReciprocalSquareRoot, | ||
| 542 | .FpArmv8, | ||
| 543 | .Perfmon, | 538 | .Perfmon, |
| 544 | .SlowMisaligned128store, | ||
| 545 | .Crc, | ||
| 546 | .UsePostraScheduler, | 539 | .UsePostraScheduler, |
| 540 | .Crc, | ||
| 541 | .UseReciprocalSquareRoot, | ||
| 547 | .CustomCheapAsMove, | 542 | .CustomCheapAsMove, |
| 543 | .Force32bitJumpTables, | ||
| 544 | .SlowMisaligned128store, | ||
| 545 | .FpArmv8, | ||
| 546 | .SlowPaired128, | ||
| 547 | .FuseAes, | ||
| 548 | }), | 548 | }), |
| 549 | FeatureInfo(@This()).createWithSubfeatures(.Exynosm2, "exynosm2", "Samsung Exynos-M2 processors", "exynosm2", &[_]@This() { | 549 | FeatureInfo(@This()).createWithSubfeatures(.Exynosm2, "exynosm2", "Samsung Exynos-M2 processors", "exynosm2", &[_]@This() { |
| 550 | .ZczFp, | 550 | .ZczFp, |
| 551 | .FuseAes, | ||
| 552 | .SlowPaired128, | ||
| 553 | .Force32bitJumpTables, | ||
| 554 | .FpArmv8, | ||
| 555 | .Perfmon, | 551 | .Perfmon, |
| 556 | .SlowMisaligned128store, | ||
| 557 | .Crc, | ||
| 558 | .UsePostraScheduler, | 552 | .UsePostraScheduler, |
| 553 | .Crc, | ||
| 559 | .CustomCheapAsMove, | 554 | .CustomCheapAsMove, |
| 555 | .Force32bitJumpTables, | ||
| 556 | .SlowMisaligned128store, | ||
| 557 | .FpArmv8, | ||
| 558 | .SlowPaired128, | ||
| 559 | .FuseAes, | ||
| 560 | }), | 560 | }), |
| 561 | FeatureInfo(@This()).createWithSubfeatures(.Exynosm3, "exynosm3", "Samsung Exynos-M3 processors", "exynosm3", &[_]@This() { | 561 | FeatureInfo(@This()).createWithSubfeatures(.Exynosm3, "exynosm3", "Samsung Exynos-M3 processors", "exynosm3", &[_]@This() { |
| 562 | .FuseCsel, | ||
| 562 | .ZczFp, | 563 | .ZczFp, |
| 563 | .FuseLiterals, | ||
| 564 | .FuseAes, | ||
| 565 | .Force32bitJumpTables, | ||
| 566 | .FpArmv8, | ||
| 567 | .Perfmon, | 564 | .Perfmon, |
| 568 | .Crc, | ||
| 569 | .LslFast, | ||
| 570 | .FuseAddress, | ||
| 571 | .UsePostraScheduler, | 565 | .UsePostraScheduler, |
| 572 | .CustomCheapAsMove, | 566 | .Crc, |
| 573 | .PredictableSelectExpensive, | 567 | .PredictableSelectExpensive, |
| 574 | .FuseCsel, | 568 | .CustomCheapAsMove, |
| 569 | .Force32bitJumpTables, | ||
| 570 | .FuseLiterals, | ||
| 571 | .FuseAddress, | ||
| 572 | .LslFast, | ||
| 573 | .FpArmv8, | ||
| 574 | .FuseAes, | ||
| 575 | }), | 575 | }), |
| 576 | FeatureInfo(@This()).createWithSubfeatures(.Exynosm4, "exynosm4", "Samsung Exynos-M4 processors", "exynosm4", &[_]@This() { | 576 | FeatureInfo(@This()).createWithSubfeatures(.Exynosm4, "exynosm4", "Samsung Exynos-M4 processors", "exynosm4", &[_]@This() { |
| 577 | .ArithBccFusion, | ||
| 578 | .Vh, | ||
| 579 | .ArithCbzFusion, | ||
| 577 | .ZczFp, | 580 | .ZczFp, |
| 578 | .Lse, | 581 | .Rdm, |
| 579 | .FuseArithLogic, | ||
| 580 | .Lor, | ||
| 581 | .UsePostraScheduler, | 582 | .UsePostraScheduler, |
| 582 | .Uaops, | 583 | .Ras, |
| 583 | .CustomCheapAsMove, | 584 | .Force32bitJumpTables, |
| 584 | .ArithBccFusion, | ||
| 585 | .Ccpp, | 585 | .Ccpp, |
| 586 | .Perfmon, | 586 | .FuseCsel, |
| 587 | .Pan, | 587 | .Pan, |
| 588 | .Rdm, | 588 | .Uaops, |
| 589 | .FuseLiterals, | 589 | .FuseLiterals, |
| 590 | .Force32bitJumpTables, | ||
| 591 | .LslFast, | 590 | .LslFast, |
| 591 | .Lse, | ||
| 592 | .Perfmon, | ||
| 593 | .Dotprod, | ||
| 594 | .Lor, | ||
| 595 | .FuseArithLogic, | ||
| 596 | .Crc, | ||
| 597 | .CustomCheapAsMove, | ||
| 592 | .FuseAddress, | 598 | .FuseAddress, |
| 593 | .ZczGp, | 599 | .ZczGp, |
| 594 | .Ras, | ||
| 595 | .FuseCsel, | ||
| 596 | .ArithCbzFusion, | ||
| 597 | .FuseAes, | ||
| 598 | .FpArmv8, | 600 | .FpArmv8, |
| 599 | .Crc, | 601 | .FuseAes, |
| 600 | .Dotprod, | ||
| 601 | .Vh, | ||
| 602 | }), | 602 | }), |
| 603 | FeatureInfo(@This()).createWithSubfeatures(.Falkor, "falkor", "Qualcomm Falkor processors", "falkor", &[_]@This() { | 603 | FeatureInfo(@This()).createWithSubfeatures(.Falkor, "falkor", "Qualcomm Falkor processors", "falkor", &[_]@This() { |
| 604 | .ZczFp, | 604 | .ZczFp, |
| 605 | .Rdm, | 605 | .Rdm, |
| 606 | .SlowStrqroStore, | ||
| 607 | .Perfmon, | 606 | .Perfmon, |
| 608 | .FpArmv8, | ||
| 609 | .Crc, | ||
| 610 | .LslFast, | ||
| 611 | .UsePostraScheduler, | 607 | .UsePostraScheduler, |
| 612 | .ZczGp, | 608 | .Crc, |
| 613 | .CustomCheapAsMove, | ||
| 614 | .PredictableSelectExpensive, | 609 | .PredictableSelectExpensive, |
| 610 | .CustomCheapAsMove, | ||
| 611 | .ZczGp, | ||
| 612 | .FpArmv8, | ||
| 613 | .SlowStrqroStore, | ||
| 614 | .LslFast, | ||
| 615 | }), | 615 | }), |
| 616 | FeatureInfo(@This()).createWithSubfeatures(.Kryo, "kryo", "Qualcomm Kryo processors", "kryo", &[_]@This() { | 616 | FeatureInfo(@This()).createWithSubfeatures(.Kryo, "kryo", "Qualcomm Kryo processors", "kryo", &[_]@This() { |
| 617 | .ZczFp, | 617 | .ZczFp, |
| 618 | .Perfmon, | 618 | .Perfmon, |
| 619 | .FpArmv8, | ||
| 620 | .Crc, | ||
| 621 | .LslFast, | ||
| 622 | .UsePostraScheduler, | 619 | .UsePostraScheduler, |
| 623 | .ZczGp, | 620 | .Crc, |
| 624 | .CustomCheapAsMove, | ||
| 625 | .PredictableSelectExpensive, | 621 | .PredictableSelectExpensive, |
| 622 | .CustomCheapAsMove, | ||
| 623 | .ZczGp, | ||
| 624 | .FpArmv8, | ||
| 625 | .LslFast, | ||
| 626 | }), | 626 | }), |
| 627 | FeatureInfo(@This()).createWithSubfeatures(.Neoversee1, "neoversee1", "Neoverse E1 ARM processors", "neoversee1", &[_]@This() { | 627 | FeatureInfo(@This()).createWithSubfeatures(.Neoversee1, "neoversee1", "Neoverse E1 ARM processors", "neoversee1", &[_]@This() { |
| 628 | .Rcpc, | ||
| 629 | .Ccpp, | ||
| 630 | .Pan, | ||
| 631 | .Rdm, | ||
| 632 | .FpArmv8, | ||
| 633 | .Lse, | 628 | .Lse, |
| 634 | .Crc, | 629 | .Vh, |
| 630 | .Rdm, | ||
| 631 | .Pan, | ||
| 635 | .Dotprod, | 632 | .Dotprod, |
| 636 | .Lor, | 633 | .Crc, |
| 637 | .Ssbs, | 634 | .Ssbs, |
| 635 | .Lor, | ||
| 638 | .Uaops, | 636 | .Uaops, |
| 639 | .Vh, | ||
| 640 | .Ras, | 637 | .Ras, |
| 641 | }), | ||
| 642 | FeatureInfo(@This()).createWithSubfeatures(.Neoversen1, "neoversen1", "Neoverse N1 ARM processors", "neoversen1", &[_]@This() { | ||
| 643 | .Rcpc, | 638 | .Rcpc, |
| 644 | .Spe, | ||
| 645 | .Ccpp, | 639 | .Ccpp, |
| 646 | .Pan, | ||
| 647 | .Rdm, | ||
| 648 | .FpArmv8, | 640 | .FpArmv8, |
| 641 | }), | ||
| 642 | FeatureInfo(@This()).createWithSubfeatures(.Neoversen1, "neoversen1", "Neoverse N1 ARM processors", "neoversen1", &[_]@This() { | ||
| 649 | .Lse, | 643 | .Lse, |
| 650 | .Crc, | 644 | .Spe, |
| 645 | .Vh, | ||
| 646 | .Rdm, | ||
| 647 | .Pan, | ||
| 651 | .Dotprod, | 648 | .Dotprod, |
| 652 | .Lor, | 649 | .Crc, |
| 653 | .Ssbs, | 650 | .Ssbs, |
| 651 | .Lor, | ||
| 654 | .Uaops, | 652 | .Uaops, |
| 655 | .Vh, | ||
| 656 | .Ras, | 653 | .Ras, |
| 654 | .Rcpc, | ||
| 655 | .Ccpp, | ||
| 656 | .FpArmv8, | ||
| 657 | }), | 657 | }), |
| 658 | FeatureInfo(@This()).createWithSubfeatures(.Saphira, "saphira", "Qualcomm Saphira processors", "saphira", &[_]@This() { | 658 | FeatureInfo(@This()).createWithSubfeatures(.Saphira, "saphira", "Qualcomm Saphira processors", "saphira", &[_]@This() { |
| 659 | .Spe, | ||
| 660 | .Vh, | ||
| 659 | .ZczFp, | 661 | .ZczFp, |
| 660 | .Nv, | 662 | .Rdm, |
| 663 | .UsePostraScheduler, | ||
| 664 | .Dit, | ||
| 661 | .Am, | 665 | .Am, |
| 662 | .Lse, | 666 | .Ras, |
| 667 | .Rcpc, | ||
| 663 | .Sel2, | 668 | .Sel2, |
| 664 | .Lor, | ||
| 665 | .Tracev84, | ||
| 666 | .Uaops, | ||
| 667 | .UsePostraScheduler, | ||
| 668 | .CustomCheapAsMove, | ||
| 669 | .Ccpp, | 669 | .Ccpp, |
| 670 | .Pa, | ||
| 671 | .Pan, | ||
| 672 | .Uaops, | ||
| 673 | .Tracev84, | ||
| 674 | .Mpam, | ||
| 675 | .LslFast, | ||
| 676 | .Lse, | ||
| 677 | .Nv, | ||
| 670 | .Perfmon, | 678 | .Perfmon, |
| 679 | .Dotprod, | ||
| 671 | .TlbRmi, | 680 | .TlbRmi, |
| 681 | .Lor, | ||
| 682 | .Ccidx, | ||
| 672 | .PredictableSelectExpensive, | 683 | .PredictableSelectExpensive, |
| 684 | .Crc, | ||
| 685 | .CustomCheapAsMove, | ||
| 673 | .Fmi, | 686 | .Fmi, |
| 674 | .Rcpc, | ||
| 675 | .Pan, | ||
| 676 | .Rdm, | ||
| 677 | .LslFast, | ||
| 678 | .Pa, | ||
| 679 | .ZczGp, | 687 | .ZczGp, |
| 680 | .Dit, | ||
| 681 | .Ras, | ||
| 682 | .Spe, | ||
| 683 | .Mpam, | ||
| 684 | .FpArmv8, | 688 | .FpArmv8, |
| 685 | .Ccidx, | ||
| 686 | .Dotprod, | ||
| 687 | .Crc, | ||
| 688 | .Vh, | ||
| 689 | }), | 689 | }), |
| 690 | FeatureInfo(@This()).createWithSubfeatures(.Tsv110, "tsv110", "HiSilicon TS-V110 processors", "tsv110", &[_]@This() { | 690 | FeatureInfo(@This()).createWithSubfeatures(.Tsv110, "tsv110", "HiSilicon TS-V110 processors", "tsv110", &[_]@This() { |
| 691 | .Uaops, | 691 | .Lse, |
| 692 | .Spe, | 692 | .Spe, |
| 693 | .Ccpp, | ||
| 694 | .Pan, | ||
| 695 | .Rdm, | ||
| 696 | .FuseAes, | ||
| 697 | .Vh, | 693 | .Vh, |
| 694 | .Rdm, | ||
| 698 | .Perfmon, | 695 | .Perfmon, |
| 699 | .FpArmv8, | 696 | .UsePostraScheduler, |
| 700 | .Lse, | 697 | .Pan, |
| 701 | .Crc, | ||
| 702 | .Dotprod, | 698 | .Dotprod, |
| 699 | .Crc, | ||
| 703 | .Lor, | 700 | .Lor, |
| 704 | .UsePostraScheduler, | 701 | .Uaops, |
| 705 | .CustomCheapAsMove, | 702 | .CustomCheapAsMove, |
| 706 | .Ras, | 703 | .Ras, |
| 704 | .Ccpp, | ||
| 705 | .FpArmv8, | ||
| 706 | .FuseAes, | ||
| 707 | }), | 707 | }), |
| 708 | FeatureInfo(@This()).createWithSubfeatures(.Thunderx, "thunderx", "Cavium ThunderX processors", "thunderx", &[_]@This() { | 708 | FeatureInfo(@This()).createWithSubfeatures(.Thunderx, "thunderx", "Cavium ThunderX processors", "thunderx", &[_]@This() { |
| 709 | .Perfmon, | 709 | .Perfmon, |
| 710 | .FpArmv8, | ||
| 711 | .Crc, | ||
| 712 | .UsePostraScheduler, | 710 | .UsePostraScheduler, |
| 711 | .Crc, | ||
| 712 | .FpArmv8, | ||
| 713 | .PredictableSelectExpensive, | 713 | .PredictableSelectExpensive, |
| 714 | }), | 714 | }), |
| 715 | FeatureInfo(@This()).createWithSubfeatures(.Thunderx2t99, "thunderx2t99", "Cavium ThunderX2 processors", "thunderx2t99", &[_]@This() { | 715 | FeatureInfo(@This()).createWithSubfeatures(.Thunderx2t99, "thunderx2t99", "Cavium ThunderX2 processors", "thunderx2t99", &[_]@This() { |
| 716 | .Pan, | ||
| 717 | .Rdm, | ||
| 718 | .Vh, | ||
| 719 | .AggressiveFma, | ||
| 720 | .FpArmv8, | ||
| 721 | .Lse, | 716 | .Lse, |
| 717 | .ArithBccFusion, | ||
| 718 | .Vh, | ||
| 719 | .Rdm, | ||
| 720 | .UsePostraScheduler, | ||
| 722 | .Crc, | 721 | .Crc, |
| 723 | .Lor, | 722 | .Lor, |
| 724 | .UsePostraScheduler, | 723 | .Pan, |
| 725 | .ArithBccFusion, | 724 | .AggressiveFma, |
| 725 | .FpArmv8, | ||
| 726 | .PredictableSelectExpensive, | 726 | .PredictableSelectExpensive, |
| 727 | }), | 727 | }), |
| 728 | FeatureInfo(@This()).createWithSubfeatures(.Thunderxt81, "thunderxt81", "Cavium ThunderX processors", "thunderxt81", &[_]@This() { | 728 | FeatureInfo(@This()).createWithSubfeatures(.Thunderxt81, "thunderxt81", "Cavium ThunderX processors", "thunderxt81", &[_]@This() { |
| 729 | .Perfmon, | 729 | .Perfmon, |
| 730 | .FpArmv8, | ||
| 731 | .Crc, | ||
| 732 | .UsePostraScheduler, | 730 | .UsePostraScheduler, |
| 731 | .Crc, | ||
| 732 | .FpArmv8, | ||
| 733 | .PredictableSelectExpensive, | 733 | .PredictableSelectExpensive, |
| 734 | }), | 734 | }), |
| 735 | FeatureInfo(@This()).createWithSubfeatures(.Thunderxt83, "thunderxt83", "Cavium ThunderX processors", "thunderxt83", &[_]@This() { | 735 | FeatureInfo(@This()).createWithSubfeatures(.Thunderxt83, "thunderxt83", "Cavium ThunderX processors", "thunderxt83", &[_]@This() { |
| 736 | .Perfmon, | 736 | .Perfmon, |
| 737 | .FpArmv8, | ||
| 738 | .Crc, | ||
| 739 | .UsePostraScheduler, | 737 | .UsePostraScheduler, |
| 738 | .Crc, | ||
| 739 | .FpArmv8, | ||
| 740 | .PredictableSelectExpensive, | 740 | .PredictableSelectExpensive, |
| 741 | }), | 741 | }), |
| 742 | FeatureInfo(@This()).createWithSubfeatures(.Thunderxt88, "thunderxt88", "Cavium ThunderX processors", "thunderxt88", &[_]@This() { | 742 | FeatureInfo(@This()).createWithSubfeatures(.Thunderxt88, "thunderxt88", "Cavium ThunderX processors", "thunderxt88", &[_]@This() { |
| 743 | .Perfmon, | 743 | .Perfmon, |
| 744 | .FpArmv8, | ||
| 745 | .Crc, | ||
| 746 | .UsePostraScheduler, | 744 | .UsePostraScheduler, |
| 745 | .Crc, | ||
| 746 | .FpArmv8, | ||
| 747 | .PredictableSelectExpensive, | 747 | .PredictableSelectExpensive, |
| 748 | }), | 748 | }), |
| 749 | }; | 749 | }; |
lib/std/target/feature/AmdGpuFeature.zig+72-72| ... | @@ -110,7 +110,7 @@ pub const AmdGpuFeature = enum { | ... | @@ -110,7 +110,7 @@ pub const AmdGpuFeature = enum { |
| 110 | Xnack, | 110 | Xnack, |
| 111 | HalfRate64Ops, | 111 | HalfRate64Ops, |
| 112 | 112 | ||
| 113 | pub fn getInfo(self: @This()) FeatureInfo { | 113 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 114 | return feature_infos[@enumToInt(self)]; | 114 | return feature_infos[@enumToInt(self)]; |
| 115 | } | 115 | } |
| 116 | 116 | ||
| ... | @@ -166,73 +166,73 @@ pub const AmdGpuFeature = enum { | ... | @@ -166,73 +166,73 @@ pub const AmdGpuFeature = enum { |
| 166 | FeatureInfo(@This()).create(.Gfx7Gfx8Gfx9Insts, "gfx7-gfx8-gfx9-insts", "Instructions shared in GFX7, GFX8, GFX9", "gfx7-gfx8-gfx9-insts"), | 166 | FeatureInfo(@This()).create(.Gfx7Gfx8Gfx9Insts, "gfx7-gfx8-gfx9-insts", "Instructions shared in GFX7, GFX8, GFX9", "gfx7-gfx8-gfx9-insts"), |
| 167 | FeatureInfo(@This()).create(.Gfx8Insts, "gfx8-insts", "Additional instructions for GFX8+", "gfx8-insts"), | 167 | FeatureInfo(@This()).create(.Gfx8Insts, "gfx8-insts", "Additional instructions for GFX8+", "gfx8-insts"), |
| 168 | FeatureInfo(@This()).createWithSubfeatures(.Gfx9, "gfx9", "GFX9 GPU generation", "gfx9", &[_]@This() { | 168 | FeatureInfo(@This()).createWithSubfeatures(.Gfx9, "gfx9", "GFX9 GPU generation", "gfx9", &[_]@This() { |
| 169 | .Gfx9Insts, | 169 | .ApertureRegs, |
| 170 | .Wavefrontsize64, | 170 | .IntClampInsts, |
| 171 | .Fp64, | 171 | .SdwaOmod, |
| 172 | .Gcn3Encoding, | ||
| 173 | .FastFmaf, | ||
| 174 | .Sdwa, | ||
| 175 | .SdwaScalar, | 172 | .SdwaScalar, |
| 176 | .VgprIndexMode, | ||
| 177 | .Dpp, | ||
| 178 | .AddNoCarryInsts, | 173 | .AddNoCarryInsts, |
| 179 | .SdwaOmod, | ||
| 180 | .SdwaSdst, | ||
| 181 | .ScalarAtomics, | 174 | .ScalarAtomics, |
| 175 | .SMemrealtime, | ||
| 176 | .Gcn3Encoding, | ||
| 177 | .CiInsts, | ||
| 182 | .FlatAddressSpace, | 178 | .FlatAddressSpace, |
| 183 | .ScalarFlatScratchInsts, | 179 | .Sdwa, |
| 184 | .Gfx8Insts, | 180 | .Wavefrontsize64, |
| 181 | .SdwaSdst, | ||
| 182 | .FlatInstOffsets, | ||
| 183 | .ScalarStores, | ||
| 185 | .Gfx7Gfx8Gfx9Insts, | 184 | .Gfx7Gfx8Gfx9Insts, |
| 186 | .R128A16, | 185 | .R128A16, |
| 187 | .IntClampInsts, | 186 | .Dpp, |
| 188 | .ScalarStores, | 187 | .Localmemorysize65536, |
| 189 | .ApertureRegs, | ||
| 190 | .CiInsts, | ||
| 191 | .FlatGlobalInsts, | ||
| 192 | .BitInsts16, | ||
| 193 | .FlatScratchInsts, | ||
| 194 | .SMemrealtime, | ||
| 195 | .Vop3p, | 188 | .Vop3p, |
| 196 | .FlatInstOffsets, | 189 | .BitInsts16, |
| 190 | .VgprIndexMode, | ||
| 191 | .Gfx8Insts, | ||
| 197 | .Inv2piInlineImm, | 192 | .Inv2piInlineImm, |
| 198 | .Localmemorysize65536, | ||
| 199 | }), | ||
| 200 | FeatureInfo(@This()).create(.Gfx9Insts, "gfx9-insts", "Additional instructions for GFX9+", "gfx9-insts"), | ||
| 201 | FeatureInfo(@This()).createWithSubfeatures(.Gfx10, "gfx10", "GFX10 GPU generation", "gfx10", &[_]@This() { | ||
| 202 | .Gfx9Insts, | 193 | .Gfx9Insts, |
| 203 | .NoSdstCmpx, | 194 | .ScalarFlatScratchInsts, |
| 195 | .FlatGlobalInsts, | ||
| 196 | .FlatScratchInsts, | ||
| 204 | .Fp64, | 197 | .Fp64, |
| 205 | .FastFmaf, | 198 | .FastFmaf, |
| 206 | .Sdwa, | 199 | }), |
| 207 | .SdwaScalar, | 200 | FeatureInfo(@This()).create(.Gfx9Insts, "gfx9-insts", "Additional instructions for GFX9+", "gfx9-insts"), |
| 208 | .Dpp, | 201 | FeatureInfo(@This()).createWithSubfeatures(.Gfx10, "gfx10", "GFX10 GPU generation", "gfx10", &[_]@This() { |
| 209 | .RegisterBanking, | 202 | .Vscnt, |
| 203 | .ApertureRegs, | ||
| 210 | .Gfx10Insts, | 204 | .Gfx10Insts, |
| 211 | .AddNoCarryInsts, | 205 | .IntClampInsts, |
| 206 | .PkFmacF16Inst, | ||
| 212 | .SdwaOmod, | 207 | .SdwaOmod, |
| 213 | .SdwaSdst, | 208 | .SdwaScalar, |
| 209 | .AddNoCarryInsts, | ||
| 210 | .Movrel, | ||
| 211 | .SMemrealtime, | ||
| 212 | .NoSdstCmpx, | ||
| 213 | .CiInsts, | ||
| 214 | .FlatAddressSpace, | 214 | .FlatAddressSpace, |
| 215 | .Sdwa, | ||
| 216 | .NoSramEccSupport, | ||
| 217 | .SdwaSdst, | ||
| 218 | .FlatInstOffsets, | ||
| 219 | .RegisterBanking, | ||
| 220 | .Dpp, | ||
| 221 | .Localmemorysize65536, | ||
| 222 | .Vop3p, | ||
| 223 | .BitInsts16, | ||
| 224 | .Dpp8, | ||
| 215 | .Gfx8Insts, | 225 | .Gfx8Insts, |
| 226 | .Inv2piInlineImm, | ||
| 227 | .Gfx9Insts, | ||
| 216 | .FmaMixInsts, | 228 | .FmaMixInsts, |
| 217 | .PkFmacF16Inst, | ||
| 218 | .Vop3Literal, | ||
| 219 | .MimgR128, | 229 | .MimgR128, |
| 220 | .NoSramEccSupport, | 230 | .Vop3Literal, |
| 221 | .IntClampInsts, | ||
| 222 | .Movrel, | ||
| 223 | .Dpp8, | ||
| 224 | .ApertureRegs, | ||
| 225 | .NoDataDepHazard, | ||
| 226 | .CiInsts, | ||
| 227 | .FlatGlobalInsts, | 231 | .FlatGlobalInsts, |
| 228 | .BitInsts16, | ||
| 229 | .FlatScratchInsts, | 232 | .FlatScratchInsts, |
| 230 | .SMemrealtime, | 233 | .Fp64, |
| 231 | .Vop3p, | 234 | .FastFmaf, |
| 232 | .FlatInstOffsets, | 235 | .NoDataDepHazard, |
| 233 | .Inv2piInlineImm, | ||
| 234 | .Localmemorysize65536, | ||
| 235 | .Vscnt, | ||
| 236 | }), | 236 | }), |
| 237 | FeatureInfo(@This()).create(.Gfx10Insts, "gfx10-insts", "Additional instructions for GFX10+", "gfx10-insts"), | 237 | FeatureInfo(@This()).create(.Gfx10Insts, "gfx10-insts", "Additional instructions for GFX10+", "gfx10-insts"), |
| 238 | FeatureInfo(@This()).create(.InstFwdPrefetchBug, "inst-fwd-prefetch-bug", "S_INST_PREFETCH instruction causes shader to hang", "inst-fwd-prefetch-bug"), | 238 | FeatureInfo(@This()).create(.InstFwdPrefetchBug, "inst-fwd-prefetch-bug", "S_INST_PREFETCH instruction causes shader to hang", "inst-fwd-prefetch-bug"), |
| ... | @@ -276,25 +276,25 @@ pub const AmdGpuFeature = enum { | ... | @@ -276,25 +276,25 @@ pub const AmdGpuFeature = enum { |
| 276 | FeatureInfo(@This()).create(.ScalarFlatScratchInsts, "scalar-flat-scratch-insts", "Have s_scratch_* flat memory instructions", "scalar-flat-scratch-insts"), | 276 | FeatureInfo(@This()).create(.ScalarFlatScratchInsts, "scalar-flat-scratch-insts", "Have s_scratch_* flat memory instructions", "scalar-flat-scratch-insts"), |
| 277 | FeatureInfo(@This()).create(.ScalarStores, "scalar-stores", "Has store scalar memory instructions", "scalar-stores"), | 277 | FeatureInfo(@This()).create(.ScalarStores, "scalar-stores", "Has store scalar memory instructions", "scalar-stores"), |
| 278 | FeatureInfo(@This()).createWithSubfeatures(.SeaIslands, "sea-islands", "SEA_ISLANDS GPU generation", "sea-islands", &[_]@This() { | 278 | FeatureInfo(@This()).createWithSubfeatures(.SeaIslands, "sea-islands", "SEA_ISLANDS GPU generation", "sea-islands", &[_]@This() { |
| 279 | .Wavefrontsize64, | 279 | .Movrel, |
| 280 | .MimgR128, | 280 | .Gfx7Gfx8Gfx9Insts, |
| 281 | .Fp64, | 281 | .Fp64, |
| 282 | .TrigReducedRange, | ||
| 282 | .CiInsts, | 283 | .CiInsts, |
| 283 | .FlatAddressSpace, | 284 | .FlatAddressSpace, |
| 284 | .TrigReducedRange, | ||
| 285 | .NoSramEccSupport, | ||
| 286 | .Movrel, | ||
| 287 | .Localmemorysize65536, | 285 | .Localmemorysize65536, |
| 288 | .Gfx7Gfx8Gfx9Insts, | 286 | .Wavefrontsize64, |
| 287 | .NoSramEccSupport, | ||
| 288 | .MimgR128, | ||
| 289 | }), | 289 | }), |
| 290 | FeatureInfo(@This()).createWithSubfeatures(.SouthernIslands, "southern-islands", "SOUTHERN_ISLANDS GPU generation", "southern-islands", &[_]@This() { | 290 | FeatureInfo(@This()).createWithSubfeatures(.SouthernIslands, "southern-islands", "SOUTHERN_ISLANDS GPU generation", "southern-islands", &[_]@This() { |
| 291 | .Wavefrontsize64, | 291 | .Movrel, |
| 292 | .MimgR128, | 292 | .MimgR128, |
| 293 | .Fp64, | 293 | .Fp64, |
| 294 | .NoXnackSupport, | ||
| 295 | .TrigReducedRange, | 294 | .TrigReducedRange, |
| 295 | .NoXnackSupport, | ||
| 296 | .Wavefrontsize64, | ||
| 296 | .NoSramEccSupport, | 297 | .NoSramEccSupport, |
| 297 | .Movrel, | ||
| 298 | .Ldsbankcount32, | 298 | .Ldsbankcount32, |
| 299 | .Localmemorysize32768, | 299 | .Localmemorysize32768, |
| 300 | }), | 300 | }), |
| ... | @@ -310,28 +310,28 @@ pub const AmdGpuFeature = enum { | ... | @@ -310,28 +310,28 @@ pub const AmdGpuFeature = enum { |
| 310 | FeatureInfo(@This()).create(.VcmpxExecWarHazard, "vcmpx-exec-war-hazard", "V_CMPX WAR hazard on EXEC (V_CMPX issue ONLY)", "vcmpx-exec-war-hazard"), | 310 | FeatureInfo(@This()).create(.VcmpxExecWarHazard, "vcmpx-exec-war-hazard", "V_CMPX WAR hazard on EXEC (V_CMPX issue ONLY)", "vcmpx-exec-war-hazard"), |
| 311 | FeatureInfo(@This()).create(.VcmpxPermlaneHazard, "vcmpx-permlane-hazard", "TODO: describe me", "vcmpx-permlane-hazard"), | 311 | FeatureInfo(@This()).create(.VcmpxPermlaneHazard, "vcmpx-permlane-hazard", "TODO: describe me", "vcmpx-permlane-hazard"), |
| 312 | FeatureInfo(@This()).createWithSubfeatures(.VolcanicIslands, "volcanic-islands", "VOLCANIC_ISLANDS GPU generation", "volcanic-islands", &[_]@This() { | 312 | FeatureInfo(@This()).createWithSubfeatures(.VolcanicIslands, "volcanic-islands", "VOLCANIC_ISLANDS GPU generation", "volcanic-islands", &[_]@This() { |
| 313 | .Wavefrontsize64, | 313 | .IntClampInsts, |
| 314 | .Fp64, | 314 | .SdwaMav, |
| 315 | .Movrel, | ||
| 316 | .SMemrealtime, | ||
| 315 | .Gcn3Encoding, | 317 | .Gcn3Encoding, |
| 316 | .TrigReducedRange, | 318 | .TrigReducedRange, |
| 317 | .Sdwa, | 319 | .CiInsts, |
| 318 | .VgprIndexMode, | ||
| 319 | .Dpp, | ||
| 320 | .FlatAddressSpace, | 320 | .FlatAddressSpace, |
| 321 | .Gfx8Insts, | 321 | .Sdwa, |
| 322 | .Gfx7Gfx8Gfx9Insts, | 322 | .Wavefrontsize64, |
| 323 | .MimgR128, | ||
| 324 | .NoSramEccSupport, | 323 | .NoSramEccSupport, |
| 325 | .IntClampInsts, | ||
| 326 | .ScalarStores, | 324 | .ScalarStores, |
| 327 | .Movrel, | 325 | .Gfx7Gfx8Gfx9Insts, |
| 328 | .SdwaMav, | 326 | .Dpp, |
| 329 | .CiInsts, | 327 | .Localmemorysize65536, |
| 330 | .BitInsts16, | 328 | .BitInsts16, |
| 331 | .SMemrealtime, | 329 | .VgprIndexMode, |
| 330 | .Gfx8Insts, | ||
| 332 | .Inv2piInlineImm, | 331 | .Inv2piInlineImm, |
| 333 | .Localmemorysize65536, | 332 | .MimgR128, |
| 334 | .SdwaOutModsVopc, | 333 | .SdwaOutModsVopc, |
| 334 | .Fp64, | ||
| 335 | }), | 335 | }), |
| 336 | FeatureInfo(@This()).create(.Vscnt, "vscnt", "Has separate store vscnt counter", "vscnt"), | 336 | FeatureInfo(@This()).create(.Vscnt, "vscnt", "Has separate store vscnt counter", "vscnt"), |
| 337 | FeatureInfo(@This()).create(.Wavefrontsize16, "wavefrontsize16", "The number of threads per wavefront", "wavefrontsize16"), | 337 | FeatureInfo(@This()).create(.Wavefrontsize16, "wavefrontsize16", "The number of threads per wavefront", "wavefrontsize16"), |
lib/std/target/feature/ArmFeature.zig+196-196| ... | @@ -177,7 +177,7 @@ pub const ArmFeature = enum { | ... | @@ -177,7 +177,7 @@ pub const ArmFeature = enum { |
| 177 | Swift, | 177 | Swift, |
| 178 | Xscale, | 178 | Xscale, |
| 179 | 179 | ||
| 180 | pub fn getInfo(self: @This()) FeatureInfo { | 180 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 181 | return feature_infos[@enumToInt(self)]; | 181 | return feature_infos[@enumToInt(self)]; |
| 182 | } | 182 | } |
| 183 | 183 | ||
| ... | @@ -215,283 +215,283 @@ pub const ArmFeature = enum { | ... | @@ -215,283 +215,283 @@ pub const ArmFeature = enum { |
| 215 | .Trustzone, | 215 | .Trustzone, |
| 216 | }), | 216 | }), |
| 217 | FeatureInfo(@This()).createWithSubfeatures(.Armv6M, "armv6-m", "ARMv6m architecture", "armv6-m", &[_]@This() { | 217 | FeatureInfo(@This()).createWithSubfeatures(.Armv6M, "armv6-m", "ARMv6m architecture", "armv6-m", &[_]@This() { |
| 218 | .Mclass, | 218 | .V4t, |
| 219 | .StrictAlign, | ||
| 220 | .ThumbMode, | 219 | .ThumbMode, |
| 221 | .Db, | 220 | .Db, |
| 222 | .V4t, | 221 | .StrictAlign, |
| 222 | .Mclass, | ||
| 223 | .Noarm, | 223 | .Noarm, |
| 224 | }), | 224 | }), |
| 225 | FeatureInfo(@This()).createWithSubfeatures(.Armv6sM, "armv6s-m", "ARMv6sm architecture", "armv6s-m", &[_]@This() { | 225 | FeatureInfo(@This()).createWithSubfeatures(.Armv6sM, "armv6s-m", "ARMv6sm architecture", "armv6s-m", &[_]@This() { |
| 226 | .Mclass, | 226 | .V4t, |
| 227 | .StrictAlign, | ||
| 228 | .ThumbMode, | 227 | .ThumbMode, |
| 229 | .Db, | 228 | .Db, |
| 230 | .V4t, | 229 | .StrictAlign, |
| 230 | .Mclass, | ||
| 231 | .Noarm, | 231 | .Noarm, |
| 232 | }), | 232 | }), |
| 233 | FeatureInfo(@This()).createWithSubfeatures(.Armv6t2, "armv6t2", "ARMv6t2 architecture", "armv6t2", &[_]@This() { | 233 | FeatureInfo(@This()).createWithSubfeatures(.Armv6t2, "armv6t2", "ARMv6t2 architecture", "armv6t2", &[_]@This() { |
| 234 | .Thumb2, | ||
| 235 | .V4t, | 234 | .V4t, |
| 235 | .Thumb2, | ||
| 236 | .Dsp, | 236 | .Dsp, |
| 237 | }), | 237 | }), |
| 238 | FeatureInfo(@This()).createWithSubfeatures(.Armv7A, "armv7-a", "ARMv7a architecture", "armv7-a", &[_]@This() { | 238 | FeatureInfo(@This()).createWithSubfeatures(.Armv7A, "armv7-a", "ARMv7a architecture", "armv7-a", &[_]@This() { |
| 239 | .Thumb2, | ||
| 240 | .Perfmon, | 239 | .Perfmon, |
| 241 | .Db, | ||
| 242 | .Dsp, | ||
| 243 | .V7clrex, | ||
| 244 | .V4t, | 240 | .V4t, |
| 245 | .Fpregs, | ||
| 246 | .D32, | 241 | .D32, |
| 242 | .Fpregs, | ||
| 243 | .V7clrex, | ||
| 244 | .Dsp, | ||
| 245 | .Thumb2, | ||
| 246 | .Db, | ||
| 247 | .Aclass, | 247 | .Aclass, |
| 248 | }), | 248 | }), |
| 249 | FeatureInfo(@This()).createWithSubfeatures(.Armv7eM, "armv7e-m", "ARMv7em architecture", "armv7e-m", &[_]@This() { | 249 | FeatureInfo(@This()).createWithSubfeatures(.Armv7eM, "armv7e-m", "ARMv7em architecture", "armv7e-m", &[_]@This() { |
| 250 | .Thumb2, | ||
| 251 | .Mclass, | ||
| 252 | .Perfmon, | 250 | .Perfmon, |
| 251 | .V4t, | ||
| 253 | .ThumbMode, | 252 | .ThumbMode, |
| 254 | .Db, | ||
| 255 | .Dsp, | ||
| 256 | .V7clrex, | 253 | .V7clrex, |
| 257 | .V4t, | 254 | .Dsp, |
| 258 | .Hwdiv, | 255 | .Thumb2, |
| 256 | .Db, | ||
| 257 | .Mclass, | ||
| 259 | .Noarm, | 258 | .Noarm, |
| 259 | .Hwdiv, | ||
| 260 | }), | 260 | }), |
| 261 | FeatureInfo(@This()).createWithSubfeatures(.Armv7k, "armv7k", "ARMv7a architecture", "armv7k", &[_]@This() { | 261 | FeatureInfo(@This()).createWithSubfeatures(.Armv7k, "armv7k", "ARMv7a architecture", "armv7k", &[_]@This() { |
| 262 | .Thumb2, | ||
| 263 | .Perfmon, | 262 | .Perfmon, |
| 264 | .Db, | ||
| 265 | .Dsp, | ||
| 266 | .V7clrex, | ||
| 267 | .V4t, | 263 | .V4t, |
| 268 | .Fpregs, | ||
| 269 | .D32, | 264 | .D32, |
| 265 | .Fpregs, | ||
| 266 | .V7clrex, | ||
| 267 | .Dsp, | ||
| 268 | .Thumb2, | ||
| 269 | .Db, | ||
| 270 | .Aclass, | 270 | .Aclass, |
| 271 | }), | 271 | }), |
| 272 | FeatureInfo(@This()).createWithSubfeatures(.Armv7M, "armv7-m", "ARMv7m architecture", "armv7-m", &[_]@This() { | 272 | FeatureInfo(@This()).createWithSubfeatures(.Armv7M, "armv7-m", "ARMv7m architecture", "armv7-m", &[_]@This() { |
| 273 | .Thumb2, | ||
| 274 | .Mclass, | ||
| 275 | .Perfmon, | 273 | .Perfmon, |
| 274 | .V4t, | ||
| 276 | .ThumbMode, | 275 | .ThumbMode, |
| 277 | .Db, | ||
| 278 | .V7clrex, | 276 | .V7clrex, |
| 279 | .V4t, | 277 | .Thumb2, |
| 280 | .Hwdiv, | 278 | .Db, |
| 279 | .Mclass, | ||
| 281 | .Noarm, | 280 | .Noarm, |
| 281 | .Hwdiv, | ||
| 282 | }), | 282 | }), |
| 283 | FeatureInfo(@This()).createWithSubfeatures(.Armv7R, "armv7-r", "ARMv7r architecture", "armv7-r", &[_]@This() { | 283 | FeatureInfo(@This()).createWithSubfeatures(.Armv7R, "armv7-r", "ARMv7r architecture", "armv7-r", &[_]@This() { |
| 284 | .Thumb2, | ||
| 285 | .Perfmon, | 284 | .Perfmon, |
| 286 | .Db, | ||
| 287 | .Dsp, | ||
| 288 | .Rclass, | ||
| 289 | .V7clrex, | ||
| 290 | .V4t, | 285 | .V4t, |
| 286 | .V7clrex, | ||
| 287 | .Dsp, | ||
| 288 | .Thumb2, | ||
| 289 | .Db, | ||
| 291 | .Hwdiv, | 290 | .Hwdiv, |
| 291 | .Rclass, | ||
| 292 | }), | 292 | }), |
| 293 | FeatureInfo(@This()).createWithSubfeatures(.Armv7s, "armv7s", "ARMv7a architecture", "armv7s", &[_]@This() { | 293 | FeatureInfo(@This()).createWithSubfeatures(.Armv7s, "armv7s", "ARMv7a architecture", "armv7s", &[_]@This() { |
| 294 | .Thumb2, | ||
| 295 | .Perfmon, | 294 | .Perfmon, |
| 296 | .Db, | ||
| 297 | .Dsp, | ||
| 298 | .V7clrex, | ||
| 299 | .V4t, | 295 | .V4t, |
| 300 | .Fpregs, | ||
| 301 | .D32, | 296 | .D32, |
| 297 | .Fpregs, | ||
| 298 | .V7clrex, | ||
| 299 | .Dsp, | ||
| 300 | .Thumb2, | ||
| 301 | .Db, | ||
| 302 | .Aclass, | 302 | .Aclass, |
| 303 | }), | 303 | }), |
| 304 | FeatureInfo(@This()).createWithSubfeatures(.Armv7ve, "armv7ve", "ARMv7ve architecture", "armv7ve", &[_]@This() { | 304 | FeatureInfo(@This()).createWithSubfeatures(.Armv7ve, "armv7ve", "ARMv7ve architecture", "armv7ve", &[_]@This() { |
| 305 | .Thumb2, | 305 | .HwdivArm, |
| 306 | .Mp, | ||
| 307 | .Perfmon, | 306 | .Perfmon, |
| 308 | .Db, | ||
| 309 | .Dsp, | ||
| 310 | .V7clrex, | ||
| 311 | .V4t, | ||
| 312 | .Fpregs, | ||
| 313 | .D32, | 307 | .D32, |
| 314 | .Hwdiv, | 308 | .Mp, |
| 315 | .HwdivArm, | 309 | .Fpregs, |
| 310 | .V4t, | ||
| 311 | .V7clrex, | ||
| 312 | .Dsp, | ||
| 313 | .Thumb2, | ||
| 314 | .Db, | ||
| 316 | .Aclass, | 315 | .Aclass, |
| 316 | .Hwdiv, | ||
| 317 | .Trustzone, | 317 | .Trustzone, |
| 318 | }), | 318 | }), |
| 319 | FeatureInfo(@This()).createWithSubfeatures(.Armv8A, "armv8-a", "ARMv8a architecture", "armv8-a", &[_]@This() { | 319 | FeatureInfo(@This()).createWithSubfeatures(.Armv8A, "armv8-a", "ARMv8a architecture", "armv8-a", &[_]@This() { |
| 320 | .Thumb2, | 320 | .HwdivArm, |
| 321 | .Mp, | ||
| 322 | .Perfmon, | 321 | .Perfmon, |
| 323 | .Db, | 322 | .D32, |
| 323 | .Fpregs, | ||
| 324 | .Crc, | 324 | .Crc, |
| 325 | .Mp, | ||
| 325 | .Fp16, | 326 | .Fp16, |
| 326 | .Dsp, | 327 | .Dsp, |
| 327 | .V7clrex, | ||
| 328 | .V4t, | 328 | .V4t, |
| 329 | .Fpregs, | 329 | .V7clrex, |
| 330 | .D32, | 330 | .Db, |
| 331 | .Hwdiv, | ||
| 332 | .HwdivArm, | ||
| 333 | .Aclass, | 331 | .Aclass, |
| 334 | .Trustzone, | 332 | .Thumb2, |
| 335 | .AcquireRelease, | 333 | .AcquireRelease, |
| 334 | .Hwdiv, | ||
| 335 | .Trustzone, | ||
| 336 | }), | 336 | }), |
| 337 | FeatureInfo(@This()).createWithSubfeatures(.Armv8Mbase, "armv8-m.base", "ARMv8mBaseline architecture", "armv8-m.base", &[_]@This() { | 337 | FeatureInfo(@This()).createWithSubfeatures(.Armv8Mbase, "armv8-m.base", "ARMv8mBaseline architecture", "armv8-m.base", &[_]@This() { |
| 338 | .Mclass, | 338 | .V4t, |
| 339 | .StrictAlign, | ||
| 340 | .ThumbMode, | 339 | .ThumbMode, |
| 341 | .Db, | ||
| 342 | .Msecext8, | 340 | .Msecext8, |
| 343 | .V7clrex, | 341 | .V7clrex, |
| 344 | .V4t, | 342 | .Db, |
| 345 | .Hwdiv, | 343 | .StrictAlign, |
| 344 | .Mclass, | ||
| 346 | .Noarm, | 345 | .Noarm, |
| 347 | .AcquireRelease, | 346 | .AcquireRelease, |
| 347 | .Hwdiv, | ||
| 348 | }), | 348 | }), |
| 349 | FeatureInfo(@This()).createWithSubfeatures(.Armv8Mmain, "armv8-m.main", "ARMv8mMainline architecture", "armv8-m.main", &[_]@This() { | 349 | FeatureInfo(@This()).createWithSubfeatures(.Armv8Mmain, "armv8-m.main", "ARMv8mMainline architecture", "armv8-m.main", &[_]@This() { |
| 350 | .Thumb2, | ||
| 351 | .Mclass, | ||
| 352 | .Perfmon, | 350 | .Perfmon, |
| 351 | .V4t, | ||
| 353 | .ThumbMode, | 352 | .ThumbMode, |
| 354 | .Db, | ||
| 355 | .Msecext8, | 353 | .Msecext8, |
| 356 | .V7clrex, | 354 | .V7clrex, |
| 357 | .V4t, | 355 | .Thumb2, |
| 358 | .Hwdiv, | 356 | .Db, |
| 357 | .Mclass, | ||
| 359 | .Noarm, | 358 | .Noarm, |
| 360 | .AcquireRelease, | 359 | .AcquireRelease, |
| 360 | .Hwdiv, | ||
| 361 | }), | 361 | }), |
| 362 | FeatureInfo(@This()).createWithSubfeatures(.Armv8R, "armv8-r", "ARMv8r architecture", "armv8-r", &[_]@This() { | 362 | FeatureInfo(@This()).createWithSubfeatures(.Armv8R, "armv8-r", "ARMv8r architecture", "armv8-r", &[_]@This() { |
| 363 | .Thumb2, | 363 | .HwdivArm, |
| 364 | .Mp, | ||
| 365 | .Perfmon, | 364 | .Perfmon, |
| 366 | .Db, | 365 | .D32, |
| 367 | .Crc, | 366 | .Crc, |
| 368 | .Fp16, | 367 | .Fpregs, |
| 368 | .Mp, | ||
| 369 | .Dfb, | 369 | .Dfb, |
| 370 | .Dsp, | 370 | .Dsp, |
| 371 | .Rclass, | 371 | .Fp16, |
| 372 | .V7clrex, | ||
| 373 | .V4t, | 372 | .V4t, |
| 374 | .Fpregs, | 373 | .Db, |
| 375 | .D32, | 374 | .V7clrex, |
| 376 | .Hwdiv, | 375 | .Thumb2, |
| 377 | .HwdivArm, | ||
| 378 | .AcquireRelease, | 376 | .AcquireRelease, |
| 377 | .Hwdiv, | ||
| 378 | .Rclass, | ||
| 379 | }), | 379 | }), |
| 380 | FeatureInfo(@This()).createWithSubfeatures(.Armv81A, "armv8.1-a", "ARMv81a architecture", "armv8.1-a", &[_]@This() { | 380 | FeatureInfo(@This()).createWithSubfeatures(.Armv81A, "armv8.1-a", "ARMv81a architecture", "armv8.1-a", &[_]@This() { |
| 381 | .Thumb2, | 381 | .HwdivArm, |
| 382 | .Mp, | ||
| 383 | .Perfmon, | 382 | .Perfmon, |
| 384 | .Db, | 383 | .D32, |
| 384 | .Fpregs, | ||
| 385 | .Crc, | 385 | .Crc, |
| 386 | .Mp, | ||
| 386 | .Fp16, | 387 | .Fp16, |
| 387 | .Dsp, | 388 | .Dsp, |
| 388 | .V7clrex, | ||
| 389 | .V4t, | 389 | .V4t, |
| 390 | .Fpregs, | 390 | .V7clrex, |
| 391 | .D32, | 391 | .Db, |
| 392 | .Hwdiv, | ||
| 393 | .HwdivArm, | ||
| 394 | .Aclass, | 392 | .Aclass, |
| 395 | .Trustzone, | 393 | .Thumb2, |
| 396 | .AcquireRelease, | 394 | .AcquireRelease, |
| 395 | .Hwdiv, | ||
| 396 | .Trustzone, | ||
| 397 | }), | 397 | }), |
| 398 | FeatureInfo(@This()).createWithSubfeatures(.Armv81Mmain, "armv8.1-m.main", "ARMv81mMainline architecture", "armv8.1-m.main", &[_]@This() { | 398 | FeatureInfo(@This()).createWithSubfeatures(.Armv81Mmain, "armv8.1-m.main", "ARMv81mMainline architecture", "armv8.1-m.main", &[_]@This() { |
| 399 | .Thumb2, | ||
| 400 | .Mclass, | ||
| 401 | .Perfmon, | 399 | .Perfmon, |
| 400 | .V4t, | ||
| 402 | .ThumbMode, | 401 | .ThumbMode, |
| 403 | .Db, | ||
| 404 | .Msecext8, | 402 | .Msecext8, |
| 405 | .Ras, | ||
| 406 | .V7clrex, | 403 | .V7clrex, |
| 407 | .V4t, | 404 | .Thumb2, |
| 408 | .Hwdiv, | 405 | .Db, |
| 406 | .Ras, | ||
| 407 | .Mclass, | ||
| 409 | .Noarm, | 408 | .Noarm, |
| 410 | .Lob, | ||
| 411 | .AcquireRelease, | 409 | .AcquireRelease, |
| 410 | .Hwdiv, | ||
| 411 | .Lob, | ||
| 412 | }), | 412 | }), |
| 413 | FeatureInfo(@This()).createWithSubfeatures(.Armv82A, "armv8.2-a", "ARMv82a architecture", "armv8.2-a", &[_]@This() { | 413 | FeatureInfo(@This()).createWithSubfeatures(.Armv82A, "armv8.2-a", "ARMv82a architecture", "armv8.2-a", &[_]@This() { |
| 414 | .Thumb2, | 414 | .HwdivArm, |
| 415 | .Mp, | ||
| 416 | .Perfmon, | 415 | .Perfmon, |
| 417 | .Db, | 416 | .D32, |
| 417 | .Fpregs, | ||
| 418 | .Crc, | 418 | .Crc, |
| 419 | .Mp, | ||
| 419 | .Fp16, | 420 | .Fp16, |
| 420 | .Ras, | ||
| 421 | .Dsp, | 421 | .Dsp, |
| 422 | .V7clrex, | ||
| 423 | .V4t, | 422 | .V4t, |
| 424 | .Fpregs, | 423 | .V7clrex, |
| 425 | .D32, | 424 | .Db, |
| 426 | .Hwdiv, | ||
| 427 | .HwdivArm, | ||
| 428 | .Aclass, | 425 | .Aclass, |
| 429 | .Trustzone, | 426 | .Thumb2, |
| 427 | .Ras, | ||
| 430 | .AcquireRelease, | 428 | .AcquireRelease, |
| 429 | .Hwdiv, | ||
| 430 | .Trustzone, | ||
| 431 | }), | 431 | }), |
| 432 | FeatureInfo(@This()).createWithSubfeatures(.Armv83A, "armv8.3-a", "ARMv83a architecture", "armv8.3-a", &[_]@This() { | 432 | FeatureInfo(@This()).createWithSubfeatures(.Armv83A, "armv8.3-a", "ARMv83a architecture", "armv8.3-a", &[_]@This() { |
| 433 | .Thumb2, | 433 | .HwdivArm, |
| 434 | .Mp, | ||
| 435 | .Perfmon, | 434 | .Perfmon, |
| 436 | .Db, | 435 | .D32, |
| 436 | .Fpregs, | ||
| 437 | .Crc, | 437 | .Crc, |
| 438 | .Mp, | ||
| 438 | .Fp16, | 439 | .Fp16, |
| 439 | .Ras, | ||
| 440 | .Dsp, | 440 | .Dsp, |
| 441 | .V7clrex, | ||
| 442 | .V4t, | 441 | .V4t, |
| 443 | .Fpregs, | 442 | .V7clrex, |
| 444 | .D32, | 443 | .Db, |
| 445 | .Hwdiv, | ||
| 446 | .HwdivArm, | ||
| 447 | .Aclass, | 444 | .Aclass, |
| 448 | .Trustzone, | 445 | .Thumb2, |
| 446 | .Ras, | ||
| 449 | .AcquireRelease, | 447 | .AcquireRelease, |
| 448 | .Hwdiv, | ||
| 449 | .Trustzone, | ||
| 450 | }), | 450 | }), |
| 451 | FeatureInfo(@This()).createWithSubfeatures(.Armv84A, "armv8.4-a", "ARMv84a architecture", "armv8.4-a", &[_]@This() { | 451 | FeatureInfo(@This()).createWithSubfeatures(.Armv84A, "armv8.4-a", "ARMv84a architecture", "armv8.4-a", &[_]@This() { |
| 452 | .Thumb2, | 452 | .HwdivArm, |
| 453 | .Mp, | ||
| 454 | .Perfmon, | 453 | .Perfmon, |
| 455 | .Db, | 454 | .D32, |
| 455 | .Fpregs, | ||
| 456 | .Crc, | 456 | .Crc, |
| 457 | .Mp, | ||
| 457 | .Fp16, | 458 | .Fp16, |
| 458 | .Ras, | ||
| 459 | .Dsp, | 459 | .Dsp, |
| 460 | .V7clrex, | ||
| 461 | .V4t, | 460 | .V4t, |
| 462 | .Fpregs, | 461 | .V7clrex, |
| 463 | .D32, | 462 | .Db, |
| 464 | .Hwdiv, | ||
| 465 | .HwdivArm, | ||
| 466 | .Aclass, | 463 | .Aclass, |
| 467 | .Trustzone, | 464 | .Thumb2, |
| 465 | .Ras, | ||
| 468 | .AcquireRelease, | 466 | .AcquireRelease, |
| 467 | .Hwdiv, | ||
| 468 | .Trustzone, | ||
| 469 | }), | 469 | }), |
| 470 | FeatureInfo(@This()).createWithSubfeatures(.Armv85A, "armv8.5-a", "ARMv85a architecture", "armv8.5-a", &[_]@This() { | 470 | FeatureInfo(@This()).createWithSubfeatures(.Armv85A, "armv8.5-a", "ARMv85a architecture", "armv8.5-a", &[_]@This() { |
| 471 | .Thumb2, | 471 | .HwdivArm, |
| 472 | .Mp, | ||
| 473 | .Perfmon, | 472 | .Perfmon, |
| 474 | .Sb, | 473 | .D32, |
| 475 | .Db, | 474 | .Fpregs, |
| 476 | .Crc, | 475 | .Crc, |
| 476 | .Mp, | ||
| 477 | .Fp16, | 477 | .Fp16, |
| 478 | .Ras, | ||
| 479 | .Dsp, | 478 | .Dsp, |
| 480 | .V7clrex, | ||
| 481 | .V4t, | 479 | .V4t, |
| 482 | .Fpregs, | 480 | .V7clrex, |
| 483 | .D32, | 481 | .Db, |
| 484 | .Hwdiv, | ||
| 485 | .HwdivArm, | ||
| 486 | .Aclass, | 482 | .Aclass, |
| 487 | .Trustzone, | 483 | .Thumb2, |
| 484 | .Ras, | ||
| 485 | .Sb, | ||
| 488 | .AcquireRelease, | 486 | .AcquireRelease, |
| 487 | .Hwdiv, | ||
| 488 | .Trustzone, | ||
| 489 | }), | 489 | }), |
| 490 | FeatureInfo(@This()).create(.Msecext8, "8msecext", "Enable support for ARMv8-M Security Extensions", "8msecext"), | 490 | FeatureInfo(@This()).create(.Msecext8, "8msecext", "Enable support for ARMv8-M Security Extensions", "8msecext"), |
| 491 | FeatureInfo(@This()).create(.Aclass, "aclass", "Is application profile ('A' series)", "aclass"), | 491 | FeatureInfo(@This()).create(.Aclass, "aclass", "Is application profile ('A' series)", "aclass"), |
| 492 | FeatureInfo(@This()).createWithSubfeatures(.Aes, "aes", "Enable AES support", "aes", &[_]@This() { | 492 | FeatureInfo(@This()).createWithSubfeatures(.Aes, "aes", "Enable AES support", "aes", &[_]@This() { |
| 493 | .Fpregs, | ||
| 494 | .D32, | 493 | .D32, |
| 494 | .Fpregs, | ||
| 495 | }), | 495 | }), |
| 496 | FeatureInfo(@This()).create(.AcquireRelease, "acquire-release", "Has v8 acquire/release (lda/ldaex etc) instructions", "acquire-release"), | 496 | FeatureInfo(@This()).create(.AcquireRelease, "acquire-release", "Has v8 acquire/release (lda/ldaex etc) instructions", "acquire-release"), |
| 497 | FeatureInfo(@This()).create(.AvoidMovsShop, "avoid-movs-shop", "Avoid movs instructions with shifter operand", "avoid-movs-shop"), | 497 | FeatureInfo(@This()).create(.AvoidMovsShop, "avoid-movs-shop", "Avoid movs instructions with shifter operand", "avoid-movs-shop"), |
| ... | @@ -500,8 +500,8 @@ pub const ArmFeature = enum { | ... | @@ -500,8 +500,8 @@ pub const ArmFeature = enum { |
| 500 | FeatureInfo(@This()).create(.CheapPredicableCpsr, "cheap-predicable-cpsr", "Disable +1 predication cost for instructions updating CPSR", "cheap-predicable-cpsr"), | 500 | FeatureInfo(@This()).create(.CheapPredicableCpsr, "cheap-predicable-cpsr", "Disable +1 predication cost for instructions updating CPSR", "cheap-predicable-cpsr"), |
| 501 | FeatureInfo(@This()).create(.VldnAlign, "vldn-align", "Check for VLDn unaligned access", "vldn-align"), | 501 | FeatureInfo(@This()).create(.VldnAlign, "vldn-align", "Check for VLDn unaligned access", "vldn-align"), |
| 502 | FeatureInfo(@This()).createWithSubfeatures(.Crypto, "crypto", "Enable support for Cryptography extensions", "crypto", &[_]@This() { | 502 | FeatureInfo(@This()).createWithSubfeatures(.Crypto, "crypto", "Enable support for Cryptography extensions", "crypto", &[_]@This() { |
| 503 | .Fpregs, | ||
| 504 | .D32, | 503 | .D32, |
| 504 | .Fpregs, | ||
| 505 | }), | 505 | }), |
| 506 | FeatureInfo(@This()).create(.D32, "d32", "Extend FP to 32 double registers", "d32"), | 506 | FeatureInfo(@This()).create(.D32, "d32", "Extend FP to 32 double registers", "d32"), |
| 507 | FeatureInfo(@This()).create(.Db, "db", "Has data barrier (dmb/dsb) instructions", "db"), | 507 | FeatureInfo(@This()).create(.Db, "db", "Has data barrier (dmb/dsb) instructions", "db"), |
| ... | @@ -509,37 +509,37 @@ pub const ArmFeature = enum { | ... | @@ -509,37 +509,37 @@ pub const ArmFeature = enum { |
| 509 | FeatureInfo(@This()).create(.Dsp, "dsp", "Supports DSP instructions in ARM and/or Thumb2", "dsp"), | 509 | FeatureInfo(@This()).create(.Dsp, "dsp", "Supports DSP instructions in ARM and/or Thumb2", "dsp"), |
| 510 | FeatureInfo(@This()).create(.DontWidenVmovs, "dont-widen-vmovs", "Don't widen VMOVS to VMOVD", "dont-widen-vmovs"), | 510 | FeatureInfo(@This()).create(.DontWidenVmovs, "dont-widen-vmovs", "Don't widen VMOVS to VMOVD", "dont-widen-vmovs"), |
| 511 | FeatureInfo(@This()).createWithSubfeatures(.Dotprod, "dotprod", "Enable support for dot product instructions", "dotprod", &[_]@This() { | 511 | FeatureInfo(@This()).createWithSubfeatures(.Dotprod, "dotprod", "Enable support for dot product instructions", "dotprod", &[_]@This() { |
| 512 | .Fpregs, | ||
| 513 | .D32, | 512 | .D32, |
| 513 | .Fpregs, | ||
| 514 | }), | 514 | }), |
| 515 | FeatureInfo(@This()).create(.ExecuteOnly, "execute-only", "Enable the generation of execute only code.", "execute-only"), | 515 | FeatureInfo(@This()).create(.ExecuteOnly, "execute-only", "Enable the generation of execute only code.", "execute-only"), |
| 516 | FeatureInfo(@This()).create(.ExpandFpMlx, "expand-fp-mlx", "Expand VFP/NEON MLA/MLS instructions", "expand-fp-mlx"), | 516 | FeatureInfo(@This()).create(.ExpandFpMlx, "expand-fp-mlx", "Expand VFP/NEON MLA/MLS instructions", "expand-fp-mlx"), |
| 517 | FeatureInfo(@This()).create(.Fp16, "fp16", "Enable half-precision floating point", "fp16"), | 517 | FeatureInfo(@This()).create(.Fp16, "fp16", "Enable half-precision floating point", "fp16"), |
| 518 | FeatureInfo(@This()).createWithSubfeatures(.Fp16fml, "fp16fml", "Enable full half-precision floating point fml instructions", "fp16fml", &[_]@This() { | 518 | FeatureInfo(@This()).createWithSubfeatures(.Fp16fml, "fp16fml", "Enable full half-precision floating point fml instructions", "fp16fml", &[_]@This() { |
| 519 | .Fp16, | ||
| 520 | .Fpregs, | 519 | .Fpregs, |
| 520 | .Fp16, | ||
| 521 | }), | 521 | }), |
| 522 | FeatureInfo(@This()).createWithSubfeatures(.Fp64, "fp64", "Floating point unit supports double precision", "fp64", &[_]@This() { | 522 | FeatureInfo(@This()).createWithSubfeatures(.Fp64, "fp64", "Floating point unit supports double precision", "fp64", &[_]@This() { |
| 523 | .Fpregs, | 523 | .Fpregs, |
| 524 | }), | 524 | }), |
| 525 | FeatureInfo(@This()).create(.Fpao, "fpao", "Enable fast computation of positive address offsets", "fpao"), | 525 | FeatureInfo(@This()).create(.Fpao, "fpao", "Enable fast computation of positive address offsets", "fpao"), |
| 526 | FeatureInfo(@This()).createWithSubfeatures(.FpArmv8, "fp-armv8", "Enable ARMv8 FP", "fp-armv8", &[_]@This() { | 526 | FeatureInfo(@This()).createWithSubfeatures(.FpArmv8, "fp-armv8", "Enable ARMv8 FP", "fp-armv8", &[_]@This() { |
| 527 | .Fp16, | ||
| 528 | .Fpregs, | ||
| 529 | .D32, | 527 | .D32, |
| 528 | .Fpregs, | ||
| 529 | .Fp16, | ||
| 530 | }), | 530 | }), |
| 531 | FeatureInfo(@This()).createWithSubfeatures(.FpArmv8d16, "fp-armv8d16", "Enable ARMv8 FP with only 16 d-registers", "fp-armv8d16", &[_]@This() { | 531 | FeatureInfo(@This()).createWithSubfeatures(.FpArmv8d16, "fp-armv8d16", "Enable ARMv8 FP with only 16 d-registers", "fp-armv8d16", &[_]@This() { |
| 532 | .Fp16, | ||
| 533 | .Fpregs, | 532 | .Fpregs, |
| 533 | .Fp16, | ||
| 534 | }), | 534 | }), |
| 535 | FeatureInfo(@This()).createWithSubfeatures(.FpArmv8d16sp, "fp-armv8d16sp", "Enable ARMv8 FP with only 16 d-registers and no double precision", "fp-armv8d16sp", &[_]@This() { | 535 | FeatureInfo(@This()).createWithSubfeatures(.FpArmv8d16sp, "fp-armv8d16sp", "Enable ARMv8 FP with only 16 d-registers and no double precision", "fp-armv8d16sp", &[_]@This() { |
| 536 | .Fp16, | ||
| 537 | .Fpregs, | 536 | .Fpregs, |
| 537 | .Fp16, | ||
| 538 | }), | 538 | }), |
| 539 | FeatureInfo(@This()).createWithSubfeatures(.FpArmv8sp, "fp-armv8sp", "Enable ARMv8 FP with no double precision", "fp-armv8sp", &[_]@This() { | 539 | FeatureInfo(@This()).createWithSubfeatures(.FpArmv8sp, "fp-armv8sp", "Enable ARMv8 FP with no double precision", "fp-armv8sp", &[_]@This() { |
| 540 | .Fp16, | ||
| 541 | .Fpregs, | ||
| 542 | .D32, | 540 | .D32, |
| 541 | .Fpregs, | ||
| 542 | .Fp16, | ||
| 543 | }), | 543 | }), |
| 544 | FeatureInfo(@This()).create(.Fpregs, "fpregs", "Enable FP registers", "fpregs"), | 544 | FeatureInfo(@This()).create(.Fpregs, "fpregs", "Enable FP registers", "fpregs"), |
| 545 | FeatureInfo(@This()).createWithSubfeatures(.Fpregs16, "fpregs16", "Enable 16-bit FP registers", "fpregs16", &[_]@This() { | 545 | FeatureInfo(@This()).createWithSubfeatures(.Fpregs16, "fpregs16", "Enable 16-bit FP registers", "fpregs16", &[_]@This() { |
| ... | @@ -549,8 +549,8 @@ pub const ArmFeature = enum { | ... | @@ -549,8 +549,8 @@ pub const ArmFeature = enum { |
| 549 | .Fpregs, | 549 | .Fpregs, |
| 550 | }), | 550 | }), |
| 551 | FeatureInfo(@This()).createWithSubfeatures(.Fullfp16, "fullfp16", "Enable full half-precision floating point", "fullfp16", &[_]@This() { | 551 | FeatureInfo(@This()).createWithSubfeatures(.Fullfp16, "fullfp16", "Enable full half-precision floating point", "fullfp16", &[_]@This() { |
| 552 | .Fp16, | ||
| 553 | .Fpregs, | 552 | .Fpregs, |
| 553 | .Fp16, | ||
| 554 | }), | 554 | }), |
| 555 | FeatureInfo(@This()).create(.FuseAes, "fuse-aes", "CPU fuses AES crypto operations", "fuse-aes"), | 555 | FeatureInfo(@This()).create(.FuseAes, "fuse-aes", "CPU fuses AES crypto operations", "fuse-aes"), |
| 556 | FeatureInfo(@This()).create(.FuseLiterals, "fuse-literals", "CPU fuses literal generation operations", "fuse-literals"), | 556 | FeatureInfo(@This()).create(.FuseLiterals, "fuse-literals", "CPU fuses literal generation operations", "fuse-literals"), |
| ... | @@ -569,8 +569,8 @@ pub const ArmFeature = enum { | ... | @@ -569,8 +569,8 @@ pub const ArmFeature = enum { |
| 569 | FeatureInfo(@This()).create(.Mve4beat, "mve4beat", "Model MVE instructions as a 4 beats per tick architecture", "mve4beat"), | 569 | FeatureInfo(@This()).create(.Mve4beat, "mve4beat", "Model MVE instructions as a 4 beats per tick architecture", "mve4beat"), |
| 570 | FeatureInfo(@This()).create(.MuxedUnits, "muxed-units", "Has muxed AGU and NEON/FPU", "muxed-units"), | 570 | FeatureInfo(@This()).create(.MuxedUnits, "muxed-units", "Has muxed AGU and NEON/FPU", "muxed-units"), |
| 571 | FeatureInfo(@This()).createWithSubfeatures(.Neon, "neon", "Enable NEON instructions", "neon", &[_]@This() { | 571 | FeatureInfo(@This()).createWithSubfeatures(.Neon, "neon", "Enable NEON instructions", "neon", &[_]@This() { |
| 572 | .Fpregs, | ||
| 573 | .D32, | 572 | .D32, |
| 573 | .Fpregs, | ||
| 574 | }), | 574 | }), |
| 575 | FeatureInfo(@This()).create(.Neonfp, "neonfp", "Use NEON for single precision FP", "neonfp"), | 575 | FeatureInfo(@This()).create(.Neonfp, "neonfp", "Use NEON for single precision FP", "neonfp"), |
| 576 | FeatureInfo(@This()).create(.NeonFpmovs, "neon-fpmovs", "Convert VMOVSR, VMOVRS, VMOVS to NEON", "neon-fpmovs"), | 576 | FeatureInfo(@This()).create(.NeonFpmovs, "neon-fpmovs", "Convert VMOVSR, VMOVRS, VMOVS to NEON", "neon-fpmovs"), |
| ... | @@ -592,8 +592,8 @@ pub const ArmFeature = enum { | ... | @@ -592,8 +592,8 @@ pub const ArmFeature = enum { |
| 592 | FeatureInfo(@This()).create(.ReserveR9, "reserve-r9", "Reserve R9, making it unavailable as GPR", "reserve-r9"), | 592 | FeatureInfo(@This()).create(.ReserveR9, "reserve-r9", "Reserve R9, making it unavailable as GPR", "reserve-r9"), |
| 593 | FeatureInfo(@This()).create(.Sb, "sb", "Enable v8.5a Speculation Barrier", "sb"), | 593 | FeatureInfo(@This()).create(.Sb, "sb", "Enable v8.5a Speculation Barrier", "sb"), |
| 594 | FeatureInfo(@This()).createWithSubfeatures(.Sha2, "sha2", "Enable SHA1 and SHA256 support", "sha2", &[_]@This() { | 594 | FeatureInfo(@This()).createWithSubfeatures(.Sha2, "sha2", "Enable SHA1 and SHA256 support", "sha2", &[_]@This() { |
| 595 | .Fpregs, | ||
| 596 | .D32, | 595 | .D32, |
| 596 | .Fpregs, | ||
| 597 | }), | 597 | }), |
| 598 | FeatureInfo(@This()).create(.SlowFpBrcc, "slow-fp-brcc", "FP compare + branch is slow", "slow-fp-brcc"), | 598 | FeatureInfo(@This()).create(.SlowFpBrcc, "slow-fp-brcc", "FP compare + branch is slow", "slow-fp-brcc"), |
| 599 | FeatureInfo(@This()).create(.SlowLoadDSubreg, "slow-load-D-subreg", "Loading into D subregs is slow", "slow-load-D-subreg"), | 599 | FeatureInfo(@This()).create(.SlowLoadDSubreg, "slow-load-D-subreg", "Loading into D subregs is slow", "slow-load-D-subreg"), |
| ... | @@ -617,8 +617,8 @@ pub const ArmFeature = enum { | ... | @@ -617,8 +617,8 @@ pub const ArmFeature = enum { |
| 617 | .Fpregs, | 617 | .Fpregs, |
| 618 | }), | 618 | }), |
| 619 | FeatureInfo(@This()).createWithSubfeatures(.Vfp3, "vfp3", "Enable VFP3 instructions", "vfp3", &[_]@This() { | 619 | FeatureInfo(@This()).createWithSubfeatures(.Vfp3, "vfp3", "Enable VFP3 instructions", "vfp3", &[_]@This() { |
| 620 | .Fpregs, | ||
| 621 | .D32, | 620 | .D32, |
| 621 | .Fpregs, | ||
| 622 | }), | 622 | }), |
| 623 | FeatureInfo(@This()).createWithSubfeatures(.Vfp3d16, "vfp3d16", "Enable VFP3 instructions with only 16 d-registers", "vfp3d16", &[_]@This() { | 623 | FeatureInfo(@This()).createWithSubfeatures(.Vfp3d16, "vfp3d16", "Enable VFP3 instructions with only 16 d-registers", "vfp3d16", &[_]@This() { |
| 624 | .Fpregs, | 624 | .Fpregs, |
| ... | @@ -627,26 +627,26 @@ pub const ArmFeature = enum { | ... | @@ -627,26 +627,26 @@ pub const ArmFeature = enum { |
| 627 | .Fpregs, | 627 | .Fpregs, |
| 628 | }), | 628 | }), |
| 629 | FeatureInfo(@This()).createWithSubfeatures(.Vfp3sp, "vfp3sp", "Enable VFP3 instructions with no double precision", "vfp3sp", &[_]@This() { | 629 | FeatureInfo(@This()).createWithSubfeatures(.Vfp3sp, "vfp3sp", "Enable VFP3 instructions with no double precision", "vfp3sp", &[_]@This() { |
| 630 | .Fpregs, | ||
| 631 | .D32, | 630 | .D32, |
| 631 | .Fpregs, | ||
| 632 | }), | 632 | }), |
| 633 | FeatureInfo(@This()).createWithSubfeatures(.Vfp4, "vfp4", "Enable VFP4 instructions", "vfp4", &[_]@This() { | 633 | FeatureInfo(@This()).createWithSubfeatures(.Vfp4, "vfp4", "Enable VFP4 instructions", "vfp4", &[_]@This() { |
| 634 | .Fp16, | ||
| 635 | .Fpregs, | ||
| 636 | .D32, | 634 | .D32, |
| 635 | .Fpregs, | ||
| 636 | .Fp16, | ||
| 637 | }), | 637 | }), |
| 638 | FeatureInfo(@This()).createWithSubfeatures(.Vfp4d16, "vfp4d16", "Enable VFP4 instructions with only 16 d-registers", "vfp4d16", &[_]@This() { | 638 | FeatureInfo(@This()).createWithSubfeatures(.Vfp4d16, "vfp4d16", "Enable VFP4 instructions with only 16 d-registers", "vfp4d16", &[_]@This() { |
| 639 | .Fp16, | ||
| 640 | .Fpregs, | 639 | .Fpregs, |
| 640 | .Fp16, | ||
| 641 | }), | 641 | }), |
| 642 | FeatureInfo(@This()).createWithSubfeatures(.Vfp4d16sp, "vfp4d16sp", "Enable VFP4 instructions with only 16 d-registers and no double precision", "vfp4d16sp", &[_]@This() { | 642 | FeatureInfo(@This()).createWithSubfeatures(.Vfp4d16sp, "vfp4d16sp", "Enable VFP4 instructions with only 16 d-registers and no double precision", "vfp4d16sp", &[_]@This() { |
| 643 | .Fp16, | ||
| 644 | .Fpregs, | 643 | .Fpregs, |
| 644 | .Fp16, | ||
| 645 | }), | 645 | }), |
| 646 | FeatureInfo(@This()).createWithSubfeatures(.Vfp4sp, "vfp4sp", "Enable VFP4 instructions with no double precision", "vfp4sp", &[_]@This() { | 646 | FeatureInfo(@This()).createWithSubfeatures(.Vfp4sp, "vfp4sp", "Enable VFP4 instructions with no double precision", "vfp4sp", &[_]@This() { |
| 647 | .Fp16, | ||
| 648 | .Fpregs, | ||
| 649 | .D32, | 647 | .D32, |
| 648 | .Fpregs, | ||
| 649 | .Fp16, | ||
| 650 | }), | 650 | }), |
| 651 | FeatureInfo(@This()).create(.VmlxForwarding, "vmlx-forwarding", "Has multiplier accumulator forwarding", "vmlx-forwarding"), | 651 | FeatureInfo(@This()).create(.VmlxForwarding, "vmlx-forwarding", "Has multiplier accumulator forwarding", "vmlx-forwarding"), |
| 652 | FeatureInfo(@This()).createWithSubfeatures(.Virtualization, "virtualization", "Supports Virtualization extension", "virtualization", &[_]@This() { | 652 | FeatureInfo(@This()).createWithSubfeatures(.Virtualization, "virtualization", "Supports Virtualization extension", "virtualization", &[_]@This() { |
| ... | @@ -655,21 +655,21 @@ pub const ArmFeature = enum { | ... | @@ -655,21 +655,21 @@ pub const ArmFeature = enum { |
| 655 | }), | 655 | }), |
| 656 | FeatureInfo(@This()).create(.Zcz, "zcz", "Has zero-cycle zeroing instructions", "zcz"), | 656 | FeatureInfo(@This()).create(.Zcz, "zcz", "Has zero-cycle zeroing instructions", "zcz"), |
| 657 | FeatureInfo(@This()).createWithSubfeatures(.Mvefp, "mve.fp", "Support M-Class Vector Extension with integer and floating ops", "mve.fp", &[_]@This() { | 657 | FeatureInfo(@This()).createWithSubfeatures(.Mvefp, "mve.fp", "Support M-Class Vector Extension with integer and floating ops", "mve.fp", &[_]@This() { |
| 658 | .Thumb2, | ||
| 659 | .Perfmon, | 658 | .Perfmon, |
| 660 | .Fp16, | ||
| 661 | .Dsp, | ||
| 662 | .V7clrex, | ||
| 663 | .V4t, | 659 | .V4t, |
| 664 | .Fpregs, | 660 | .Fpregs, |
| 661 | .V7clrex, | ||
| 662 | .Fp16, | ||
| 663 | .Dsp, | ||
| 664 | .Thumb2, | ||
| 665 | }), | 665 | }), |
| 666 | FeatureInfo(@This()).createWithSubfeatures(.Mve, "mve", "Support M-Class Vector Extension with integer ops", "mve", &[_]@This() { | 666 | FeatureInfo(@This()).createWithSubfeatures(.Mve, "mve", "Support M-Class Vector Extension with integer ops", "mve", &[_]@This() { |
| 667 | .Thumb2, | ||
| 668 | .Perfmon, | 667 | .Perfmon, |
| 669 | .Dsp, | ||
| 670 | .V7clrex, | ||
| 671 | .V4t, | 668 | .V4t, |
| 672 | .Fpregs, | 669 | .Fpregs, |
| 670 | .V7clrex, | ||
| 671 | .Dsp, | ||
| 672 | .Thumb2, | ||
| 673 | }), | 673 | }), |
| 674 | FeatureInfo(@This()).create(.V4t, "v4t", "Support ARM v4T instructions", "v4t"), | 674 | FeatureInfo(@This()).create(.V4t, "v4t", "Support ARM v4T instructions", "v4t"), |
| 675 | FeatureInfo(@This()).createWithSubfeatures(.V5te, "v5te", "Support ARM v5TE, v5TEj, and v5TExp instructions", "v5te", &[_]@This() { | 675 | FeatureInfo(@This()).createWithSubfeatures(.V5te, "v5te", "Support ARM v5TE, v5TEj, and v5TExp instructions", "v5te", &[_]@This() { |
| ... | @@ -688,76 +688,76 @@ pub const ArmFeature = enum { | ... | @@ -688,76 +688,76 @@ pub const ArmFeature = enum { |
| 688 | .V4t, | 688 | .V4t, |
| 689 | }), | 689 | }), |
| 690 | FeatureInfo(@This()).createWithSubfeatures(.V6t2, "v6t2", "Support ARM v6t2 instructions", "v6t2", &[_]@This() { | 690 | FeatureInfo(@This()).createWithSubfeatures(.V6t2, "v6t2", "Support ARM v6t2 instructions", "v6t2", &[_]@This() { |
| 691 | .Thumb2, | ||
| 692 | .V4t, | 691 | .V4t, |
| 692 | .Thumb2, | ||
| 693 | }), | 693 | }), |
| 694 | FeatureInfo(@This()).createWithSubfeatures(.V7, "v7", "Support ARM v7 instructions", "v7", &[_]@This() { | 694 | FeatureInfo(@This()).createWithSubfeatures(.V7, "v7", "Support ARM v7 instructions", "v7", &[_]@This() { |
| 695 | .V7clrex, | ||
| 696 | .V4t, | ||
| 697 | .Perfmon, | 695 | .Perfmon, |
| 698 | .Thumb2, | 696 | .Thumb2, |
| 697 | .V4t, | ||
| 698 | .V7clrex, | ||
| 699 | }), | 699 | }), |
| 700 | FeatureInfo(@This()).createWithSubfeatures(.V8m, "v8m", "Support ARM v8M Baseline instructions", "v8m", &[_]@This() { | 700 | FeatureInfo(@This()).createWithSubfeatures(.V8m, "v8m", "Support ARM v8M Baseline instructions", "v8m", &[_]@This() { |
| 701 | .V4t, | 701 | .V4t, |
| 702 | }), | 702 | }), |
| 703 | FeatureInfo(@This()).createWithSubfeatures(.V8mmain, "v8m.main", "Support ARM v8M Mainline instructions", "v8m.main", &[_]@This() { | 703 | FeatureInfo(@This()).createWithSubfeatures(.V8mmain, "v8m.main", "Support ARM v8M Mainline instructions", "v8m.main", &[_]@This() { |
| 704 | .V7clrex, | ||
| 705 | .V4t, | ||
| 706 | .Perfmon, | 704 | .Perfmon, |
| 707 | .Thumb2, | 705 | .Thumb2, |
| 706 | .V4t, | ||
| 707 | .V7clrex, | ||
| 708 | }), | 708 | }), |
| 709 | FeatureInfo(@This()).createWithSubfeatures(.V8, "v8", "Support ARM v8 instructions", "v8", &[_]@This() { | 709 | FeatureInfo(@This()).createWithSubfeatures(.V8, "v8", "Support ARM v8 instructions", "v8", &[_]@This() { |
| 710 | .Thumb2, | ||
| 711 | .Perfmon, | 710 | .Perfmon, |
| 712 | .V7clrex, | ||
| 713 | .V4t, | 711 | .V4t, |
| 712 | .V7clrex, | ||
| 713 | .Thumb2, | ||
| 714 | .AcquireRelease, | 714 | .AcquireRelease, |
| 715 | }), | 715 | }), |
| 716 | FeatureInfo(@This()).createWithSubfeatures(.V81mmain, "v8.1m.main", "Support ARM v8-1M Mainline instructions", "v8.1m.main", &[_]@This() { | 716 | FeatureInfo(@This()).createWithSubfeatures(.V81mmain, "v8.1m.main", "Support ARM v8-1M Mainline instructions", "v8.1m.main", &[_]@This() { |
| 717 | .V7clrex, | ||
| 718 | .V4t, | ||
| 719 | .Perfmon, | 717 | .Perfmon, |
| 720 | .Thumb2, | 718 | .Thumb2, |
| 719 | .V4t, | ||
| 720 | .V7clrex, | ||
| 721 | }), | 721 | }), |
| 722 | FeatureInfo(@This()).createWithSubfeatures(.V81a, "v8.1a", "Support ARM v8.1a instructions", "v8.1a", &[_]@This() { | 722 | FeatureInfo(@This()).createWithSubfeatures(.V81a, "v8.1a", "Support ARM v8.1a instructions", "v8.1a", &[_]@This() { |
| 723 | .Thumb2, | ||
| 724 | .Perfmon, | 723 | .Perfmon, |
| 725 | .V7clrex, | ||
| 726 | .V4t, | 724 | .V4t, |
| 725 | .V7clrex, | ||
| 726 | .Thumb2, | ||
| 727 | .AcquireRelease, | 727 | .AcquireRelease, |
| 728 | }), | 728 | }), |
| 729 | FeatureInfo(@This()).createWithSubfeatures(.V82a, "v8.2a", "Support ARM v8.2a instructions", "v8.2a", &[_]@This() { | 729 | FeatureInfo(@This()).createWithSubfeatures(.V82a, "v8.2a", "Support ARM v8.2a instructions", "v8.2a", &[_]@This() { |
| 730 | .Thumb2, | ||
| 731 | .Perfmon, | 730 | .Perfmon, |
| 732 | .V7clrex, | ||
| 733 | .V4t, | 731 | .V4t, |
| 732 | .V7clrex, | ||
| 733 | .Thumb2, | ||
| 734 | .AcquireRelease, | 734 | .AcquireRelease, |
| 735 | }), | 735 | }), |
| 736 | FeatureInfo(@This()).createWithSubfeatures(.V83a, "v8.3a", "Support ARM v8.3a instructions", "v8.3a", &[_]@This() { | 736 | FeatureInfo(@This()).createWithSubfeatures(.V83a, "v8.3a", "Support ARM v8.3a instructions", "v8.3a", &[_]@This() { |
| 737 | .Thumb2, | ||
| 738 | .Perfmon, | 737 | .Perfmon, |
| 739 | .V7clrex, | ||
| 740 | .V4t, | 738 | .V4t, |
| 739 | .V7clrex, | ||
| 740 | .Thumb2, | ||
| 741 | .AcquireRelease, | 741 | .AcquireRelease, |
| 742 | }), | 742 | }), |
| 743 | FeatureInfo(@This()).createWithSubfeatures(.V84a, "v8.4a", "Support ARM v8.4a instructions", "v8.4a", &[_]@This() { | 743 | FeatureInfo(@This()).createWithSubfeatures(.V84a, "v8.4a", "Support ARM v8.4a instructions", "v8.4a", &[_]@This() { |
| 744 | .Thumb2, | ||
| 745 | .Perfmon, | 744 | .Perfmon, |
| 746 | .V7clrex, | ||
| 747 | .V4t, | 745 | .V4t, |
| 748 | .Fpregs, | ||
| 749 | .D32, | 746 | .D32, |
| 747 | .Fpregs, | ||
| 748 | .V7clrex, | ||
| 749 | .Thumb2, | ||
| 750 | .AcquireRelease, | 750 | .AcquireRelease, |
| 751 | }), | 751 | }), |
| 752 | FeatureInfo(@This()).createWithSubfeatures(.V85a, "v8.5a", "Support ARM v8.5a instructions", "v8.5a", &[_]@This() { | 752 | FeatureInfo(@This()).createWithSubfeatures(.V85a, "v8.5a", "Support ARM v8.5a instructions", "v8.5a", &[_]@This() { |
| 753 | .Thumb2, | ||
| 754 | .Perfmon, | 753 | .Perfmon, |
| 755 | .Sb, | ||
| 756 | .V7clrex, | ||
| 757 | .V4t, | 754 | .V4t, |
| 758 | .Fpregs, | ||
| 759 | .D32, | 755 | .D32, |
| 756 | .Fpregs, | ||
| 757 | .V7clrex, | ||
| 758 | .Thumb2, | ||
| 760 | .AcquireRelease, | 759 | .AcquireRelease, |
| 760 | .Sb, | ||
| 761 | }), | 761 | }), |
| 762 | FeatureInfo(@This()).createWithSubfeatures(.Iwmmxt, "iwmmxt", "ARMv5te architecture", "iwmmxt", &[_]@This() { | 762 | FeatureInfo(@This()).createWithSubfeatures(.Iwmmxt, "iwmmxt", "ARMv5te architecture", "iwmmxt", &[_]@This() { |
| 763 | .V4t, | 763 | .V4t, |
| ... | @@ -784,24 +784,24 @@ pub const ArmFeature = enum { | ... | @@ -784,24 +784,24 @@ pub const ArmFeature = enum { |
| 784 | FeatureInfo(@This()).create(.A75, "a75", "Cortex-A75 ARM processors", "a75"), | 784 | FeatureInfo(@This()).create(.A75, "a75", "Cortex-A75 ARM processors", "a75"), |
| 785 | FeatureInfo(@This()).create(.A76, "a76", "Cortex-A76 ARM processors", "a76"), | 785 | FeatureInfo(@This()).create(.A76, "a76", "Cortex-A76 ARM processors", "a76"), |
| 786 | FeatureInfo(@This()).createWithSubfeatures(.Exynos, "exynos", "Samsung Exynos processors", "exynos", &[_]@This() { | 786 | FeatureInfo(@This()).createWithSubfeatures(.Exynos, "exynos", "Samsung Exynos processors", "exynos", &[_]@This() { |
| 787 | .Zcz, | 787 | .HwdivArm, |
| 788 | .SlowVdup32, | 788 | .D32, |
| 789 | .SlowVgetlni32, | ||
| 790 | .DontWidenVmovs, | ||
| 791 | .Crc, | 789 | .Crc, |
| 792 | .FuseAes, | 790 | .Fpregs, |
| 791 | .RetAddrStack, | ||
| 792 | .SlowVgetlni32, | ||
| 793 | .WideStrideVfp, | 793 | .WideStrideVfp, |
| 794 | .SlowVdup32, | ||
| 795 | .SlowFpBrcc, | ||
| 794 | .ProfUnpr, | 796 | .ProfUnpr, |
| 797 | .DontWidenVmovs, | ||
| 798 | .Zcz, | ||
| 799 | .Hwdiv, | ||
| 800 | .FuseAes, | ||
| 795 | .Slowfpvmlx, | 801 | .Slowfpvmlx, |
| 796 | .SlowFpBrcc, | 802 | .UseAa, |
| 797 | .FuseLiterals, | 803 | .FuseLiterals, |
| 798 | .Fpregs, | ||
| 799 | .D32, | ||
| 800 | .ExpandFpMlx, | 804 | .ExpandFpMlx, |
| 801 | .Hwdiv, | ||
| 802 | .HwdivArm, | ||
| 803 | .RetAddrStack, | ||
| 804 | .UseAa, | ||
| 805 | }), | 805 | }), |
| 806 | FeatureInfo(@This()).create(.Krait, "krait", "Qualcomm Krait processors", "krait"), | 806 | FeatureInfo(@This()).create(.Krait, "krait", "Qualcomm Krait processors", "krait"), |
| 807 | FeatureInfo(@This()).create(.Kryo, "kryo", "Qualcomm Kryo processors", "kryo"), | 807 | FeatureInfo(@This()).create(.Kryo, "kryo", "Qualcomm Kryo processors", "kryo"), |
lib/std/target/feature/AvrFeature.zig+81-81| ... | @@ -35,160 +35,160 @@ pub const AvrFeature = enum { | ... | @@ -35,160 +35,160 @@ pub const AvrFeature = enum { |
| 35 | Smallstack, | 35 | Smallstack, |
| 36 | Tinyencoding, | 36 | Tinyencoding, |
| 37 | 37 | ||
| 38 | pub fn getInfo(self: @This()) FeatureInfo { | 38 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 39 | return feature_infos[@enumToInt(self)]; | 39 | return feature_infos[@enumToInt(self)]; |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | pub const feature_infos = [@memberCount(@This())]FeatureInfo(@This()) { | 42 | pub const feature_infos = [@memberCount(@This())]FeatureInfo(@This()) { |
| 43 | FeatureInfo(@This()).create(.Avr0, "avr0", "The device is a part of the avr0 family", "avr0"), | 43 | FeatureInfo(@This()).create(.Avr0, "avr0", "The device is a part of the avr0 family", "avr0"), |
| 44 | FeatureInfo(@This()).createWithSubfeatures(.Avr1, "avr1", "The device is a part of the avr1 family", "avr1", &[_]@This() { | 44 | FeatureInfo(@This()).createWithSubfeatures(.Avr1, "avr1", "The device is a part of the avr1 family", "avr1", &[_]@This() { |
| 45 | .Lpm, | ||
| 46 | .Avr0, | 45 | .Avr0, |
| 46 | .Lpm, | ||
| 47 | }), | 47 | }), |
| 48 | FeatureInfo(@This()).createWithSubfeatures(.Avr2, "avr2", "The device is a part of the avr2 family", "avr2", &[_]@This() { | 48 | FeatureInfo(@This()).createWithSubfeatures(.Avr2, "avr2", "The device is a part of the avr2 family", "avr2", &[_]@This() { |
| 49 | .Ijmpcall, | 49 | .Lpm, |
| 50 | .Sram, | ||
| 51 | .Avr0, | 50 | .Avr0, |
| 51 | .Sram, | ||
| 52 | .Addsubiw, | 52 | .Addsubiw, |
| 53 | .Lpm, | 53 | .Ijmpcall, |
| 54 | }), | 54 | }), |
| 55 | FeatureInfo(@This()).createWithSubfeatures(.Avr3, "avr3", "The device is a part of the avr3 family", "avr3", &[_]@This() { | 55 | FeatureInfo(@This()).createWithSubfeatures(.Avr3, "avr3", "The device is a part of the avr3 family", "avr3", &[_]@This() { |
| 56 | .Ijmpcall, | 56 | .Lpm, |
| 57 | .Sram, | ||
| 58 | .Avr0, | 57 | .Avr0, |
| 58 | .Sram, | ||
| 59 | .Jmpcall, | 59 | .Jmpcall, |
| 60 | .Addsubiw, | 60 | .Addsubiw, |
| 61 | .Lpm, | 61 | .Ijmpcall, |
| 62 | }), | 62 | }), |
| 63 | FeatureInfo(@This()).createWithSubfeatures(.Avr4, "avr4", "The device is a part of the avr4 family", "avr4", &[_]@This() { | 63 | FeatureInfo(@This()).createWithSubfeatures(.Avr4, "avr4", "The device is a part of the avr4 family", "avr4", &[_]@This() { |
| 64 | .Ijmpcall, | 64 | .Lpm, |
| 65 | .Movw, | 65 | .Movw, |
| 66 | .Mul, | ||
| 67 | .Sram, | ||
| 68 | .Break, | ||
| 69 | .Spm, | 66 | .Spm, |
| 70 | .Lpmx, | ||
| 71 | .Avr0, | 67 | .Avr0, |
| 68 | .Sram, | ||
| 72 | .Addsubiw, | 69 | .Addsubiw, |
| 73 | .Lpm, | 70 | .Mul, |
| 71 | .Lpmx, | ||
| 72 | .Ijmpcall, | ||
| 73 | .Break, | ||
| 74 | }), | 74 | }), |
| 75 | FeatureInfo(@This()).createWithSubfeatures(.Avr5, "avr5", "The device is a part of the avr5 family", "avr5", &[_]@This() { | 75 | FeatureInfo(@This()).createWithSubfeatures(.Avr5, "avr5", "The device is a part of the avr5 family", "avr5", &[_]@This() { |
| 76 | .Ijmpcall, | 76 | .Lpm, |
| 77 | .Movw, | 77 | .Movw, |
| 78 | .Mul, | ||
| 79 | .Sram, | ||
| 80 | .Break, | ||
| 81 | .Spm, | 78 | .Spm, |
| 82 | .Lpmx, | ||
| 83 | .Avr0, | 79 | .Avr0, |
| 80 | .Sram, | ||
| 84 | .Jmpcall, | 81 | .Jmpcall, |
| 85 | .Addsubiw, | 82 | .Addsubiw, |
| 86 | .Lpm, | 83 | .Mul, |
| 84 | .Lpmx, | ||
| 85 | .Ijmpcall, | ||
| 86 | .Break, | ||
| 87 | }), | 87 | }), |
| 88 | FeatureInfo(@This()).createWithSubfeatures(.Avr6, "avr6", "The device is a part of the avr6 family", "avr6", &[_]@This() { | 88 | FeatureInfo(@This()).createWithSubfeatures(.Avr6, "avr6", "The device is a part of the avr6 family", "avr6", &[_]@This() { |
| 89 | .Ijmpcall, | 89 | .Lpm, |
| 90 | .Elpmx, | 90 | .Elpm, |
| 91 | .Movw, | 91 | .Movw, |
| 92 | .Mul, | 92 | .Elpmx, |
| 93 | .Sram, | ||
| 94 | .Break, | ||
| 95 | .Spm, | 93 | .Spm, |
| 96 | .Elpm, | ||
| 97 | .Lpmx, | ||
| 98 | .Avr0, | 94 | .Avr0, |
| 95 | .Sram, | ||
| 99 | .Jmpcall, | 96 | .Jmpcall, |
| 100 | .Addsubiw, | 97 | .Addsubiw, |
| 101 | .Lpm, | 98 | .Mul, |
| 99 | .Lpmx, | ||
| 100 | .Ijmpcall, | ||
| 101 | .Break, | ||
| 102 | }), | 102 | }), |
| 103 | FeatureInfo(@This()).createWithSubfeatures(.Avr25, "avr25", "The device is a part of the avr25 family", "avr25", &[_]@This() { | 103 | FeatureInfo(@This()).createWithSubfeatures(.Avr25, "avr25", "The device is a part of the avr25 family", "avr25", &[_]@This() { |
| 104 | .Ijmpcall, | 104 | .Lpm, |
| 105 | .Movw, | 105 | .Movw, |
| 106 | .Sram, | ||
| 107 | .Break, | ||
| 108 | .Spm, | 106 | .Spm, |
| 109 | .Lpmx, | ||
| 110 | .Avr0, | 107 | .Avr0, |
| 108 | .Sram, | ||
| 111 | .Addsubiw, | 109 | .Addsubiw, |
| 112 | .Lpm, | 110 | .Lpmx, |
| 111 | .Ijmpcall, | ||
| 112 | .Break, | ||
| 113 | }), | 113 | }), |
| 114 | FeatureInfo(@This()).createWithSubfeatures(.Avr31, "avr31", "The device is a part of the avr31 family", "avr31", &[_]@This() { | 114 | FeatureInfo(@This()).createWithSubfeatures(.Avr31, "avr31", "The device is a part of the avr31 family", "avr31", &[_]@This() { |
| 115 | .Ijmpcall, | 115 | .Lpm, |
| 116 | .Sram, | ||
| 117 | .Elpm, | 116 | .Elpm, |
| 118 | .Avr0, | 117 | .Avr0, |
| 118 | .Sram, | ||
| 119 | .Jmpcall, | 119 | .Jmpcall, |
| 120 | .Addsubiw, | 120 | .Addsubiw, |
| 121 | .Lpm, | 121 | .Ijmpcall, |
| 122 | }), | 122 | }), |
| 123 | FeatureInfo(@This()).createWithSubfeatures(.Avr35, "avr35", "The device is a part of the avr35 family", "avr35", &[_]@This() { | 123 | FeatureInfo(@This()).createWithSubfeatures(.Avr35, "avr35", "The device is a part of the avr35 family", "avr35", &[_]@This() { |
| 124 | .Ijmpcall, | 124 | .Lpm, |
| 125 | .Movw, | 125 | .Movw, |
| 126 | .Sram, | ||
| 127 | .Break, | ||
| 128 | .Spm, | 126 | .Spm, |
| 129 | .Lpmx, | ||
| 130 | .Avr0, | 127 | .Avr0, |
| 128 | .Sram, | ||
| 131 | .Jmpcall, | 129 | .Jmpcall, |
| 132 | .Addsubiw, | 130 | .Addsubiw, |
| 133 | .Lpm, | 131 | .Lpmx, |
| 132 | .Ijmpcall, | ||
| 133 | .Break, | ||
| 134 | }), | 134 | }), |
| 135 | FeatureInfo(@This()).createWithSubfeatures(.Avr51, "avr51", "The device is a part of the avr51 family", "avr51", &[_]@This() { | 135 | FeatureInfo(@This()).createWithSubfeatures(.Avr51, "avr51", "The device is a part of the avr51 family", "avr51", &[_]@This() { |
| 136 | .Ijmpcall, | 136 | .Lpm, |
| 137 | .Elpmx, | 137 | .Elpm, |
| 138 | .Movw, | 138 | .Movw, |
| 139 | .Mul, | 139 | .Elpmx, |
| 140 | .Sram, | ||
| 141 | .Break, | ||
| 142 | .Spm, | 140 | .Spm, |
| 143 | .Elpm, | ||
| 144 | .Lpmx, | ||
| 145 | .Avr0, | 141 | .Avr0, |
| 142 | .Sram, | ||
| 146 | .Jmpcall, | 143 | .Jmpcall, |
| 147 | .Addsubiw, | 144 | .Addsubiw, |
| 148 | .Lpm, | 145 | .Mul, |
| 146 | .Lpmx, | ||
| 147 | .Ijmpcall, | ||
| 148 | .Break, | ||
| 149 | }), | 149 | }), |
| 150 | FeatureInfo(@This()).createWithSubfeatures(.Avrtiny, "avrtiny", "The device is a part of the avrtiny family", "avrtiny", &[_]@This() { | 150 | FeatureInfo(@This()).createWithSubfeatures(.Avrtiny, "avrtiny", "The device is a part of the avrtiny family", "avrtiny", &[_]@This() { |
| 151 | .Break, | ||
| 152 | .Tinyencoding, | ||
| 153 | .Avr0, | 151 | .Avr0, |
| 154 | .Sram, | 152 | .Sram, |
| 153 | .Break, | ||
| 154 | .Tinyencoding, | ||
| 155 | }), | 155 | }), |
| 156 | FeatureInfo(@This()).createWithSubfeatures(.Xmega, "xmega", "The device is a part of the xmega family", "xmega", &[_]@This() { | 156 | FeatureInfo(@This()).createWithSubfeatures(.Xmega, "xmega", "The device is a part of the xmega family", "xmega", &[_]@This() { |
| 157 | .Ijmpcall, | 157 | .Lpm, |
| 158 | .Elpmx, | 158 | .Elpm, |
| 159 | .Movw, | 159 | .Movw, |
| 160 | .Eijmpcall, | 160 | .Elpmx, |
| 161 | .Mul, | ||
| 162 | .Sram, | ||
| 163 | .Break, | ||
| 164 | .Spm, | 161 | .Spm, |
| 165 | .Elpm, | ||
| 166 | .Lpmx, | ||
| 167 | .Spmx, | ||
| 168 | .Avr0, | 162 | .Avr0, |
| 163 | .Sram, | ||
| 169 | .Jmpcall, | 164 | .Jmpcall, |
| 165 | .Eijmpcall, | ||
| 166 | .Spmx, | ||
| 170 | .Addsubiw, | 167 | .Addsubiw, |
| 171 | .Lpm, | 168 | .Mul, |
| 169 | .Lpmx, | ||
| 172 | .Des, | 170 | .Des, |
| 171 | .Ijmpcall, | ||
| 172 | .Break, | ||
| 173 | }), | 173 | }), |
| 174 | FeatureInfo(@This()).createWithSubfeatures(.Xmegau, "xmegau", "The device is a part of the xmegau family", "xmegau", &[_]@This() { | 174 | FeatureInfo(@This()).createWithSubfeatures(.Xmegau, "xmegau", "The device is a part of the xmegau family", "xmegau", &[_]@This() { |
| 175 | .Ijmpcall, | 175 | .Lpm, |
| 176 | .Elpmx, | 176 | .Elpm, |
| 177 | .Movw, | 177 | .Movw, |
| 178 | .Eijmpcall, | 178 | .Elpmx, |
| 179 | .Mul, | ||
| 180 | .Rmw, | ||
| 181 | .Sram, | ||
| 182 | .Break, | ||
| 183 | .Spm, | 179 | .Spm, |
| 184 | .Elpm, | ||
| 185 | .Lpmx, | ||
| 186 | .Spmx, | ||
| 187 | .Avr0, | 180 | .Avr0, |
| 181 | .Sram, | ||
| 188 | .Jmpcall, | 182 | .Jmpcall, |
| 183 | .Eijmpcall, | ||
| 184 | .Spmx, | ||
| 189 | .Addsubiw, | 185 | .Addsubiw, |
| 190 | .Lpm, | 186 | .Mul, |
| 187 | .Lpmx, | ||
| 188 | .Rmw, | ||
| 191 | .Des, | 189 | .Des, |
| 190 | .Ijmpcall, | ||
| 191 | .Break, | ||
| 192 | }), | 192 | }), |
| 193 | FeatureInfo(@This()).create(.Addsubiw, "addsubiw", "Enable 16-bit register-immediate addition and subtraction instructions", "addsubiw"), | 193 | FeatureInfo(@This()).create(.Addsubiw, "addsubiw", "Enable 16-bit register-immediate addition and subtraction instructions", "addsubiw"), |
| 194 | FeatureInfo(@This()).create(.Break, "break", "The device supports the `BREAK` debugging instruction", "break"), | 194 | FeatureInfo(@This()).create(.Break, "break", "The device supports the `BREAK` debugging instruction", "break"), |
| ... | @@ -207,22 +207,22 @@ pub const AvrFeature = enum { | ... | @@ -207,22 +207,22 @@ pub const AvrFeature = enum { |
| 207 | FeatureInfo(@This()).create(.Spmx, "spmx", "The device supports the `SPM Z+` instruction", "spmx"), | 207 | FeatureInfo(@This()).create(.Spmx, "spmx", "The device supports the `SPM Z+` instruction", "spmx"), |
| 208 | FeatureInfo(@This()).create(.Sram, "sram", "The device has random access memory", "sram"), | 208 | FeatureInfo(@This()).create(.Sram, "sram", "The device has random access memory", "sram"), |
| 209 | FeatureInfo(@This()).createWithSubfeatures(.Special, "special", "Enable use of the entire instruction set - used for debugging", "special", &[_]@This() { | 209 | FeatureInfo(@This()).createWithSubfeatures(.Special, "special", "Enable use of the entire instruction set - used for debugging", "special", &[_]@This() { |
| 210 | .Ijmpcall, | 210 | .Lpm, |
| 211 | .Elpm, | ||
| 211 | .Elpmx, | 212 | .Elpmx, |
| 212 | .Movw, | 213 | .Movw, |
| 213 | .Eijmpcall, | ||
| 214 | .Mul, | ||
| 215 | .Rmw, | ||
| 216 | .Sram, | ||
| 217 | .Break, | ||
| 218 | .Elpm, | ||
| 219 | .Spm, | 214 | .Spm, |
| 220 | .Lpmx, | 215 | .Eijmpcall, |
| 221 | .Spmx, | 216 | .Spmx, |
| 222 | .Jmpcall, | 217 | .Jmpcall, |
| 218 | .Sram, | ||
| 223 | .Addsubiw, | 219 | .Addsubiw, |
| 224 | .Lpm, | 220 | .Mul, |
| 221 | .Lpmx, | ||
| 222 | .Rmw, | ||
| 225 | .Des, | 223 | .Des, |
| 224 | .Ijmpcall, | ||
| 225 | .Break, | ||
| 226 | }), | 226 | }), |
| 227 | FeatureInfo(@This()).create(.Smallstack, "smallstack", "The device has an 8-bit stack pointer", "smallstack"), | 227 | FeatureInfo(@This()).create(.Smallstack, "smallstack", "The device has an 8-bit stack pointer", "smallstack"), |
| 228 | FeatureInfo(@This()).create(.Tinyencoding, "tinyencoding", "The device has Tiny core specific instruction encodings", "tinyencoding"), | 228 | FeatureInfo(@This()).create(.Tinyencoding, "tinyencoding", "The device has Tiny core specific instruction encodings", "tinyencoding"), |
lib/std/target/feature/BpfFeature.zig+1-1| ... | @@ -5,7 +5,7 @@ pub const BpfFeature = enum { | ... | @@ -5,7 +5,7 @@ pub const BpfFeature = enum { |
| 5 | Dummy, | 5 | Dummy, |
| 6 | Dwarfris, | 6 | Dwarfris, |
| 7 | 7 | ||
| 8 | pub fn getInfo(self: @This()) FeatureInfo { | 8 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 9 | return feature_infos[@enumToInt(self)]; | 9 | return feature_infos[@enumToInt(self)]; |
| 10 | } | 10 | } |
| 11 | 11 |
lib/std/target/feature/HexagonFeature.zig+1-1| ... | @@ -26,7 +26,7 @@ pub const HexagonFeature = enum { | ... | @@ -26,7 +26,7 @@ pub const HexagonFeature = enum { |
| 26 | ReservedR19, | 26 | ReservedR19, |
| 27 | SmallData, | 27 | SmallData, |
| 28 | 28 | ||
| 29 | pub fn getInfo(self: @This()) FeatureInfo { | 29 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 30 | return feature_infos[@enumToInt(self)]; | 30 | return feature_infos[@enumToInt(self)]; |
| 31 | } | 31 | } |
| 32 | 32 |
lib/std/target/feature/MipsFeature.zig+73-73| ... | @@ -52,7 +52,7 @@ pub const MipsFeature = enum { | ... | @@ -52,7 +52,7 @@ pub const MipsFeature = enum { |
| 52 | Xgot, | 52 | Xgot, |
| 53 | P5600, | 53 | P5600, |
| 54 | 54 | ||
| 55 | pub fn getInfo(self: @This()) FeatureInfo { | 55 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 56 | return feature_infos[@enumToInt(self)]; | 56 | return feature_infos[@enumToInt(self)]; |
| 57 | } | 57 | } |
| 58 | 58 | ||
| ... | @@ -60,14 +60,14 @@ pub const MipsFeature = enum { | ... | @@ -60,14 +60,14 @@ pub const MipsFeature = enum { |
| 60 | FeatureInfo(@This()).create(.Abs2008, "abs2008", "Disable IEEE 754-2008 abs.fmt mode", "abs2008"), | 60 | FeatureInfo(@This()).create(.Abs2008, "abs2008", "Disable IEEE 754-2008 abs.fmt mode", "abs2008"), |
| 61 | FeatureInfo(@This()).create(.Crc, "crc", "Mips R6 CRC ASE", "crc"), | 61 | FeatureInfo(@This()).create(.Crc, "crc", "Mips R6 CRC ASE", "crc"), |
| 62 | FeatureInfo(@This()).createWithSubfeatures(.Cnmips, "cnmips", "Octeon cnMIPS Support", "cnmips", &[_]@This() { | 62 | FeatureInfo(@This()).createWithSubfeatures(.Cnmips, "cnmips", "Octeon cnMIPS Support", "cnmips", &[_]@This() { |
| 63 | .Mips3_32, | 63 | .Mips5_32r2, |
| 64 | .Fp64, | ||
| 65 | .Mips4_32r2, | ||
| 66 | .Mips3_32r2, | 64 | .Mips3_32r2, |
| 67 | .Mips1, | 65 | .Mips4_32r2, |
| 68 | .Mips4_32, | ||
| 69 | .Gp64, | 66 | .Gp64, |
| 70 | .Mips5_32r2, | 67 | .Fp64, |
| 68 | .Mips4_32, | ||
| 69 | .Mips1, | ||
| 70 | .Mips3_32, | ||
| 71 | }), | 71 | }), |
| 72 | FeatureInfo(@This()).create(.Dsp, "dsp", "Mips DSP ASE", "dsp"), | 72 | FeatureInfo(@This()).create(.Dsp, "dsp", "Mips DSP ASE", "dsp"), |
| 73 | FeatureInfo(@This()).createWithSubfeatures(.Dspr2, "dspr2", "Mips DSP-R2 ASE", "dspr2", &[_]@This() { | 73 | FeatureInfo(@This()).createWithSubfeatures(.Dspr2, "dspr2", "Mips DSP-R2 ASE", "dspr2", &[_]@This() { |
| ... | @@ -91,128 +91,128 @@ pub const MipsFeature = enum { | ... | @@ -91,128 +91,128 @@ pub const MipsFeature = enum { |
| 91 | .Mips1, | 91 | .Mips1, |
| 92 | }), | 92 | }), |
| 93 | FeatureInfo(@This()).createWithSubfeatures(.Mips3, "mips3", "MIPS III ISA Support [highly experimental]", "mips3", &[_]@This() { | 93 | FeatureInfo(@This()).createWithSubfeatures(.Mips3, "mips3", "MIPS III ISA Support [highly experimental]", "mips3", &[_]@This() { |
| 94 | .Mips3_32, | ||
| 95 | .Fp64, | ||
| 96 | .Mips3_32r2, | 94 | .Mips3_32r2, |
| 97 | .Mips1, | 95 | .Fp64, |
| 98 | .Gp64, | 96 | .Gp64, |
| 97 | .Mips1, | ||
| 98 | .Mips3_32, | ||
| 99 | }), | 99 | }), |
| 100 | FeatureInfo(@This()).create(.Mips3_32, "mips3_32", "Subset of MIPS-III that is also in MIPS32 [highly experimental]", "mips3_32"), | 100 | FeatureInfo(@This()).create(.Mips3_32, "mips3_32", "Subset of MIPS-III that is also in MIPS32 [highly experimental]", "mips3_32"), |
| 101 | FeatureInfo(@This()).create(.Mips3_32r2, "mips3_32r2", "Subset of MIPS-III that is also in MIPS32r2 [highly experimental]", "mips3_32r2"), | 101 | FeatureInfo(@This()).create(.Mips3_32r2, "mips3_32r2", "Subset of MIPS-III that is also in MIPS32r2 [highly experimental]", "mips3_32r2"), |
| 102 | FeatureInfo(@This()).createWithSubfeatures(.Mips4, "mips4", "MIPS IV ISA Support", "mips4", &[_]@This() { | 102 | FeatureInfo(@This()).createWithSubfeatures(.Mips4, "mips4", "MIPS IV ISA Support", "mips4", &[_]@This() { |
| 103 | .Mips3_32, | ||
| 104 | .Fp64, | ||
| 105 | .Mips4_32r2, | ||
| 106 | .Mips3_32r2, | 103 | .Mips3_32r2, |
| 107 | .Mips1, | 104 | .Mips4_32r2, |
| 108 | .Mips4_32, | 105 | .Fp64, |
| 109 | .Gp64, | 106 | .Gp64, |
| 107 | .Mips4_32, | ||
| 108 | .Mips1, | ||
| 109 | .Mips3_32, | ||
| 110 | }), | 110 | }), |
| 111 | FeatureInfo(@This()).create(.Mips4_32, "mips4_32", "Subset of MIPS-IV that is also in MIPS32 [highly experimental]", "mips4_32"), | 111 | FeatureInfo(@This()).create(.Mips4_32, "mips4_32", "Subset of MIPS-IV that is also in MIPS32 [highly experimental]", "mips4_32"), |
| 112 | FeatureInfo(@This()).create(.Mips4_32r2, "mips4_32r2", "Subset of MIPS-IV that is also in MIPS32r2 [highly experimental]", "mips4_32r2"), | 112 | FeatureInfo(@This()).create(.Mips4_32r2, "mips4_32r2", "Subset of MIPS-IV that is also in MIPS32r2 [highly experimental]", "mips4_32r2"), |
| 113 | FeatureInfo(@This()).createWithSubfeatures(.Mips5, "mips5", "MIPS V ISA Support [highly experimental]", "mips5", &[_]@This() { | 113 | FeatureInfo(@This()).createWithSubfeatures(.Mips5, "mips5", "MIPS V ISA Support [highly experimental]", "mips5", &[_]@This() { |
| 114 | .Mips3_32, | 114 | .Mips5_32r2, |
| 115 | .Fp64, | ||
| 116 | .Mips4_32r2, | 115 | .Mips4_32r2, |
| 117 | .Mips3_32r2, | 116 | .Mips3_32r2, |
| 118 | .Mips1, | ||
| 119 | .Mips4_32, | ||
| 120 | .Gp64, | 117 | .Gp64, |
| 121 | .Mips5_32r2, | 118 | .Fp64, |
| 119 | .Mips4_32, | ||
| 120 | .Mips1, | ||
| 121 | .Mips3_32, | ||
| 122 | }), | 122 | }), |
| 123 | FeatureInfo(@This()).create(.Mips5_32r2, "mips5_32r2", "Subset of MIPS-V that is also in MIPS32r2 [highly experimental]", "mips5_32r2"), | 123 | FeatureInfo(@This()).create(.Mips5_32r2, "mips5_32r2", "Subset of MIPS-V that is also in MIPS32r2 [highly experimental]", "mips5_32r2"), |
| 124 | FeatureInfo(@This()).create(.Mips16, "mips16", "Mips16 mode", "mips16"), | 124 | FeatureInfo(@This()).create(.Mips16, "mips16", "Mips16 mode", "mips16"), |
| 125 | FeatureInfo(@This()).createWithSubfeatures(.Mips32, "mips32", "Mips32 ISA Support", "mips32", &[_]@This() { | 125 | FeatureInfo(@This()).createWithSubfeatures(.Mips32, "mips32", "Mips32 ISA Support", "mips32", &[_]@This() { |
| 126 | .Mips3_32, | ||
| 127 | .Mips4_32, | 126 | .Mips4_32, |
| 128 | .Mips1, | 127 | .Mips1, |
| 128 | .Mips3_32, | ||
| 129 | }), | 129 | }), |
| 130 | FeatureInfo(@This()).createWithSubfeatures(.Mips32r2, "mips32r2", "Mips32r2 ISA Support", "mips32r2", &[_]@This() { | 130 | FeatureInfo(@This()).createWithSubfeatures(.Mips32r2, "mips32r2", "Mips32r2 ISA Support", "mips32r2", &[_]@This() { |
| 131 | .Mips3_32, | 131 | .Mips5_32r2, |
| 132 | .Mips4_32r2, | 132 | .Mips4_32r2, |
| 133 | .Mips3_32r2, | 133 | .Mips3_32r2, |
| 134 | .Mips1, | ||
| 135 | .Mips4_32, | 134 | .Mips4_32, |
| 136 | .Mips5_32r2, | 135 | .Mips1, |
| 136 | .Mips3_32, | ||
| 137 | }), | 137 | }), |
| 138 | FeatureInfo(@This()).createWithSubfeatures(.Mips32r3, "mips32r3", "Mips32r3 ISA Support", "mips32r3", &[_]@This() { | 138 | FeatureInfo(@This()).createWithSubfeatures(.Mips32r3, "mips32r3", "Mips32r3 ISA Support", "mips32r3", &[_]@This() { |
| 139 | .Mips3_32, | 139 | .Mips5_32r2, |
| 140 | .Mips4_32r2, | ||
| 141 | .Mips3_32r2, | 140 | .Mips3_32r2, |
| 142 | .Mips1, | 141 | .Mips4_32r2, |
| 143 | .Mips4_32, | 142 | .Mips4_32, |
| 144 | .Mips5_32r2, | 143 | .Mips1, |
| 144 | .Mips3_32, | ||
| 145 | }), | 145 | }), |
| 146 | FeatureInfo(@This()).createWithSubfeatures(.Mips32r5, "mips32r5", "Mips32r5 ISA Support", "mips32r5", &[_]@This() { | 146 | FeatureInfo(@This()).createWithSubfeatures(.Mips32r5, "mips32r5", "Mips32r5 ISA Support", "mips32r5", &[_]@This() { |
| 147 | .Mips3_32, | 147 | .Mips5_32r2, |
| 148 | .Mips4_32r2, | ||
| 149 | .Mips3_32r2, | 148 | .Mips3_32r2, |
| 150 | .Mips1, | 149 | .Mips4_32r2, |
| 151 | .Mips4_32, | 150 | .Mips4_32, |
| 152 | .Mips5_32r2, | 151 | .Mips1, |
| 152 | .Mips3_32, | ||
| 153 | }), | 153 | }), |
| 154 | FeatureInfo(@This()).createWithSubfeatures(.Mips32r6, "mips32r6", "Mips32r6 ISA Support [experimental]", "mips32r6", &[_]@This() { | 154 | FeatureInfo(@This()).createWithSubfeatures(.Mips32r6, "mips32r6", "Mips32r6 ISA Support [experimental]", "mips32r6", &[_]@This() { |
| 155 | .Mips3_32, | 155 | .Mips5_32r2, |
| 156 | .Fp64, | 156 | .Mips3_32r2, |
| 157 | .Mips4_32r2, | 157 | .Mips4_32r2, |
| 158 | .Abs2008, | 158 | .Abs2008, |
| 159 | .Mips3_32r2, | ||
| 160 | .Mips1, | ||
| 161 | .Mips4_32, | ||
| 162 | .Nan2008, | 159 | .Nan2008, |
| 163 | .Mips5_32r2, | 160 | .Fp64, |
| 161 | .Mips4_32, | ||
| 162 | .Mips1, | ||
| 163 | .Mips3_32, | ||
| 164 | }), | 164 | }), |
| 165 | FeatureInfo(@This()).createWithSubfeatures(.Mips64, "mips64", "Mips64 ISA Support", "mips64", &[_]@This() { | 165 | FeatureInfo(@This()).createWithSubfeatures(.Mips64, "mips64", "Mips64 ISA Support", "mips64", &[_]@This() { |
| 166 | .Mips3_32, | 166 | .Mips5_32r2, |
| 167 | .Fp64, | ||
| 168 | .Mips4_32r2, | ||
| 169 | .Mips3_32r2, | 167 | .Mips3_32r2, |
| 170 | .Mips1, | 168 | .Mips4_32r2, |
| 171 | .Mips4_32, | ||
| 172 | .Gp64, | 169 | .Gp64, |
| 173 | .Mips5_32r2, | 170 | .Fp64, |
| 171 | .Mips4_32, | ||
| 172 | .Mips1, | ||
| 173 | .Mips3_32, | ||
| 174 | }), | 174 | }), |
| 175 | FeatureInfo(@This()).createWithSubfeatures(.Mips64r2, "mips64r2", "Mips64r2 ISA Support", "mips64r2", &[_]@This() { | 175 | FeatureInfo(@This()).createWithSubfeatures(.Mips64r2, "mips64r2", "Mips64r2 ISA Support", "mips64r2", &[_]@This() { |
| 176 | .Mips3_32, | 176 | .Mips5_32r2, |
| 177 | .Fp64, | ||
| 178 | .Mips4_32r2, | ||
| 179 | .Mips3_32r2, | 177 | .Mips3_32r2, |
| 180 | .Mips1, | 178 | .Mips4_32r2, |
| 181 | .Mips4_32, | ||
| 182 | .Gp64, | 179 | .Gp64, |
| 183 | .Mips5_32r2, | 180 | .Fp64, |
| 181 | .Mips4_32, | ||
| 182 | .Mips1, | ||
| 183 | .Mips3_32, | ||
| 184 | }), | 184 | }), |
| 185 | FeatureInfo(@This()).createWithSubfeatures(.Mips64r3, "mips64r3", "Mips64r3 ISA Support", "mips64r3", &[_]@This() { | 185 | FeatureInfo(@This()).createWithSubfeatures(.Mips64r3, "mips64r3", "Mips64r3 ISA Support", "mips64r3", &[_]@This() { |
| 186 | .Mips3_32, | 186 | .Mips5_32r2, |
| 187 | .Fp64, | ||
| 188 | .Mips4_32r2, | ||
| 189 | .Mips3_32r2, | 187 | .Mips3_32r2, |
| 190 | .Mips1, | 188 | .Mips4_32r2, |
| 191 | .Mips4_32, | ||
| 192 | .Gp64, | 189 | .Gp64, |
| 193 | .Mips5_32r2, | 190 | .Fp64, |
| 191 | .Mips4_32, | ||
| 192 | .Mips1, | ||
| 193 | .Mips3_32, | ||
| 194 | }), | 194 | }), |
| 195 | FeatureInfo(@This()).createWithSubfeatures(.Mips64r5, "mips64r5", "Mips64r5 ISA Support", "mips64r5", &[_]@This() { | 195 | FeatureInfo(@This()).createWithSubfeatures(.Mips64r5, "mips64r5", "Mips64r5 ISA Support", "mips64r5", &[_]@This() { |
| 196 | .Mips3_32, | 196 | .Mips5_32r2, |
| 197 | .Fp64, | ||
| 198 | .Mips4_32r2, | ||
| 199 | .Mips3_32r2, | 197 | .Mips3_32r2, |
| 200 | .Mips1, | 198 | .Mips4_32r2, |
| 201 | .Mips4_32, | ||
| 202 | .Gp64, | 199 | .Gp64, |
| 203 | .Mips5_32r2, | 200 | .Fp64, |
| 201 | .Mips4_32, | ||
| 202 | .Mips1, | ||
| 203 | .Mips3_32, | ||
| 204 | }), | 204 | }), |
| 205 | FeatureInfo(@This()).createWithSubfeatures(.Mips64r6, "mips64r6", "Mips64r6 ISA Support [experimental]", "mips64r6", &[_]@This() { | 205 | FeatureInfo(@This()).createWithSubfeatures(.Mips64r6, "mips64r6", "Mips64r6 ISA Support [experimental]", "mips64r6", &[_]@This() { |
| 206 | .Mips3_32, | 206 | .Mips5_32r2, |
| 207 | .Fp64, | ||
| 208 | .Mips4_32r2, | ||
| 209 | .Abs2008, | ||
| 210 | .Mips3_32r2, | 207 | .Mips3_32r2, |
| 211 | .Mips1, | ||
| 212 | .Mips4_32, | ||
| 213 | .Nan2008, | 208 | .Nan2008, |
| 209 | .Abs2008, | ||
| 210 | .Mips4_32r2, | ||
| 211 | .Fp64, | ||
| 214 | .Gp64, | 212 | .Gp64, |
| 215 | .Mips5_32r2, | 213 | .Mips4_32, |
| 214 | .Mips1, | ||
| 215 | .Mips3_32, | ||
| 216 | }), | 216 | }), |
| 217 | FeatureInfo(@This()).create(.Nan2008, "nan2008", "IEEE 754-2008 NaN encoding", "nan2008"), | 217 | FeatureInfo(@This()).create(.Nan2008, "nan2008", "IEEE 754-2008 NaN encoding", "nan2008"), |
| 218 | FeatureInfo(@This()).create(.Noabicalls, "noabicalls", "Disable SVR4-style position-independent code", "noabicalls"), | 218 | FeatureInfo(@This()).create(.Noabicalls, "noabicalls", "Disable SVR4-style position-independent code", "noabicalls"), |
| ... | @@ -227,12 +227,12 @@ pub const MipsFeature = enum { | ... | @@ -227,12 +227,12 @@ pub const MipsFeature = enum { |
| 227 | FeatureInfo(@This()).create(.Virt, "virt", "Mips Virtualization ASE", "virt"), | 227 | FeatureInfo(@This()).create(.Virt, "virt", "Mips Virtualization ASE", "virt"), |
| 228 | FeatureInfo(@This()).create(.Xgot, "xgot", "Assume 32-bit GOT", "xgot"), | 228 | FeatureInfo(@This()).create(.Xgot, "xgot", "Assume 32-bit GOT", "xgot"), |
| 229 | FeatureInfo(@This()).createWithSubfeatures(.P5600, "p5600", "The P5600 Processor", "p5600", &[_]@This() { | 229 | FeatureInfo(@This()).createWithSubfeatures(.P5600, "p5600", "The P5600 Processor", "p5600", &[_]@This() { |
| 230 | .Mips3_32, | 230 | .Mips5_32r2, |
| 231 | .Mips4_32r2, | ||
| 232 | .Mips3_32r2, | 231 | .Mips3_32r2, |
| 233 | .Mips1, | 232 | .Mips4_32r2, |
| 234 | .Mips4_32, | 233 | .Mips4_32, |
| 235 | .Mips5_32r2, | 234 | .Mips1, |
| 235 | .Mips3_32, | ||
| 236 | }), | 236 | }), |
| 237 | }; | 237 | }; |
| 238 | }; | 238 | }; |
lib/std/target/feature/Msp430Feature.zig+1-1| ... | @@ -6,7 +6,7 @@ pub const Msp430Feature = enum { | ... | @@ -6,7 +6,7 @@ pub const Msp430Feature = enum { |
| 6 | Hwmultf5, | 6 | Hwmultf5, |
| 7 | Ext, | 7 | Ext, |
| 8 | 8 | ||
| 9 | pub fn getInfo(self: @This()) FeatureInfo { | 9 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 10 | return feature_infos[@enumToInt(self)]; | 10 | return feature_infos[@enumToInt(self)]; |
| 11 | } | 11 | } |
| 12 | 12 |
lib/std/target/feature/NvptxFeature.zig+1-1| ... | @@ -27,7 +27,7 @@ pub const NvptxFeature = enum { | ... | @@ -27,7 +27,7 @@ pub const NvptxFeature = enum { |
| 27 | Sm_72, | 27 | Sm_72, |
| 28 | Sm_75, | 28 | Sm_75, |
| 29 | 29 | ||
| 30 | pub fn getInfo(self: @This()) FeatureInfo { | 30 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 31 | return feature_infos[@enumToInt(self)]; | 31 | return feature_infos[@enumToInt(self)]; |
| 32 | } | 32 | } |
| 33 | 33 |
lib/std/target/feature/PowerPcFeature.zig+1-1| ... | @@ -53,7 +53,7 @@ pub const PowerPcFeature = enum { | ... | @@ -53,7 +53,7 @@ pub const PowerPcFeature = enum { |
| 53 | Vsx, | 53 | Vsx, |
| 54 | VectorsUseTwoUnits, | 54 | VectorsUseTwoUnits, |
| 55 | 55 | ||
| 56 | pub fn getInfo(self: @This()) FeatureInfo { | 56 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 57 | return feature_infos[@enumToInt(self)]; | 57 | return feature_infos[@enumToInt(self)]; |
| 58 | } | 58 | } |
| 59 | 59 |
lib/std/target/feature/RiscVFeature.zig+1-1| ... | @@ -11,7 +11,7 @@ pub const RiscVFeature = enum { | ... | @@ -11,7 +11,7 @@ pub const RiscVFeature = enum { |
| 11 | F, | 11 | F, |
| 12 | M, | 12 | M, |
| 13 | 13 | ||
| 14 | pub fn getInfo(self: @This()) FeatureInfo { | 14 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 15 | return feature_infos[@enumToInt(self)]; | 15 | return feature_infos[@enumToInt(self)]; |
| 16 | } | 16 | } |
| 17 | 17 |
lib/std/target/feature/SparcFeature.zig+1-1| ... | @@ -21,7 +21,7 @@ pub const SparcFeature = enum { | ... | @@ -21,7 +21,7 @@ pub const SparcFeature = enum { |
| 21 | Hasumacsmac, | 21 | Hasumacsmac, |
| 22 | Popc, | 22 | Popc, |
| 23 | 23 | ||
| 24 | pub fn getInfo(self: @This()) FeatureInfo { | 24 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 25 | return feature_infos[@enumToInt(self)]; | 25 | return feature_infos[@enumToInt(self)]; |
| 26 | } | 26 | } |
| 27 | 27 |
lib/std/target/feature/SystemZFeature.zig+1-1| ... | @@ -37,7 +37,7 @@ pub const SystemZFeature = enum { | ... | @@ -37,7 +37,7 @@ pub const SystemZFeature = enum { |
| 37 | VectorPackedDecimal, | 37 | VectorPackedDecimal, |
| 38 | VectorPackedDecimalEnhancement, | 38 | VectorPackedDecimalEnhancement, |
| 39 | 39 | ||
| 40 | pub fn getInfo(self: @This()) FeatureInfo { | 40 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 41 | return feature_infos[@enumToInt(self)]; | 41 | return feature_infos[@enumToInt(self)]; |
| 42 | } | 42 | } |
| 43 | 43 |
lib/std/target/feature/WebAssemblyFeature.zig+1-1| ... | @@ -12,7 +12,7 @@ pub const WebAssemblyFeature = enum { | ... | @@ -12,7 +12,7 @@ pub const WebAssemblyFeature = enum { |
| 12 | TailCall, | 12 | TailCall, |
| 13 | UnimplementedSimd128, | 13 | UnimplementedSimd128, |
| 14 | 14 | ||
| 15 | pub fn getInfo(self: @This()) FeatureInfo { | 15 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 16 | return feature_infos[@enumToInt(self)]; | 16 | return feature_infos[@enumToInt(self)]; |
| 17 | } | 17 | } |
| 18 | 18 |
lib/std/target/feature/X86Feature.zig+2-2| ... | @@ -128,7 +128,7 @@ pub const X86Feature = enum { | ... | @@ -128,7 +128,7 @@ pub const X86Feature = enum { |
| 128 | BitMode32, | 128 | BitMode32, |
| 129 | BitMode64, | 129 | BitMode64, |
| 130 | 130 | ||
| 131 | pub fn getInfo(self: @This()) FeatureInfo { | 131 | pub fn getInfo(self: @This()) FeatureInfo(@This()) { |
| 132 | return feature_infos[@enumToInt(self)]; | 132 | return feature_infos[@enumToInt(self)]; |
| 133 | } | 133 | } |
| 134 | 134 | ||
| ... | @@ -254,8 +254,8 @@ pub const X86Feature = enum { | ... | @@ -254,8 +254,8 @@ pub const X86Feature = enum { |
| 254 | FeatureInfo(@This()).create(.Rdseed, "rdseed", "Support RDSEED instruction", "rdseed"), | 254 | FeatureInfo(@This()).create(.Rdseed, "rdseed", "Support RDSEED instruction", "rdseed"), |
| 255 | FeatureInfo(@This()).create(.Rtm, "rtm", "Support RTM instructions", "rtm"), | 255 | FeatureInfo(@This()).create(.Rtm, "rtm", "Support RTM instructions", "rtm"), |
| 256 | FeatureInfo(@This()).createWithSubfeatures(.Retpoline, "retpoline", "Remove speculation of indirect branches from the generated code, either by avoiding them entirely or lowering them with a speculation blocking construct", "retpoline", &[_]@This() { | 256 | FeatureInfo(@This()).createWithSubfeatures(.Retpoline, "retpoline", "Remove speculation of indirect branches from the generated code, either by avoiding them entirely or lowering them with a speculation blocking construct", "retpoline", &[_]@This() { |
| 257 | .RetpolineIndirectBranches, | ||
| 258 | .RetpolineIndirectCalls, | 257 | .RetpolineIndirectCalls, |
| 258 | .RetpolineIndirectBranches, | ||
| 259 | }), | 259 | }), |
| 260 | FeatureInfo(@This()).createWithSubfeatures(.RetpolineExternalThunk, "retpoline-external-thunk", "When lowering an indirect call or branch using a `retpoline`, rely on the specified user provided thunk rather than emitting one ourselves. Only has effect when combined with some other retpoline feature", "retpoline-external-thunk", &[_]@This() { | 260 | FeatureInfo(@This()).createWithSubfeatures(.RetpolineExternalThunk, "retpoline-external-thunk", "When lowering an indirect call or branch using a `retpoline`, rely on the specified user provided thunk rather than emitting one ourselves. Only has effect when combined with some other retpoline feature", "retpoline-external-thunk", &[_]@This() { |
| 261 | .RetpolineIndirectCalls, | 261 | .RetpolineIndirectCalls, |
lib/std/target/feature/empty.zig+2-2| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | const FeatureInfo = @import("std").target.feature.FeatureInfo; | 1 | const FeatureInfo = @import("std").target.feature.FeatureInfo; |
| 2 | 2 | ||
| 3 | pub const EmptyFeature = enum { | 3 | pub const EmptyFeature = struct { |
| 4 | pub const feature_infos = [0]FeatureInfo(@This()) {}; | 4 | pub const feature_infos = [0]FeatureInfo(@This()) {}; |
| 5 | } | 5 | }; |