| ... | @@ -18,9 +18,19 @@ cpu_arch: ?Target.Cpu.Arch = null, | ... | @@ -18,9 +18,19 @@ cpu_arch: ?Target.Cpu.Arch = null, |
| 18 | cpu_model: CpuModel = .determined_by_arch_os, | 18 | cpu_model: CpuModel = .determined_by_arch_os, |
| 19 | | 19 | |
| 20 | /// Sparse set of CPU features to add to the set from `cpu_model`. | 20 | /// Sparse set of CPU features to add to the set from `cpu_model`. |
| | 21 | /// |
| | 22 | /// The typed features for a given `Target.Cpu.Arch` can be found in |
| | 23 | /// `@field(Target, @tagName(arch.family()))`. |
| | 24 | /// |
| | 25 | /// For example, `std.Target.x86.cpu.x86_64_v3.features` or `std.Target.s390x.cpu.z13.features`. |
| 21 | cpu_features_add: Target.Cpu.Feature.Set = .empty, | 26 | cpu_features_add: Target.Cpu.Feature.Set = .empty, |
| 22 | | 27 | |
| 23 | /// Sparse set of CPU features to remove from the set from `cpu_model`. | 28 | /// Sparse set of CPU features to remove from the set from `cpu_model`. |
| | 29 | /// |
| | 30 | /// The typed features for a given `Target.Cpu.Arch` can be found in |
| | 31 | /// `@field(Target, @tagName(arch.family()))`. |
| | 32 | /// |
| | 33 | /// For example, `std.Target.x86.cpu.x86_64_v3.features` or `std.Target.s390x.cpu.z13.features`. |
| 24 | cpu_features_sub: Target.Cpu.Feature.Set = .empty, | 34 | cpu_features_sub: Target.Cpu.Feature.Set = .empty, |
| 25 | | 35 | |
| 26 | /// `null` means native. | 36 | /// `null` means native. |