| author | |
| committer | |
| log | 0c6dfa6f0c057a7517f889e360a985cb62a2d91f |
| tree | e6b8a2c4537a1e5e8b9ac9169022e8e2f4e2326f |
| parent | 10f2d6278946485f057f65bbb3c094a6fcde1adf |
- original PR #7949 (incorrectly) patched a generated-file and changes
have subsequently been lost/overwritten
- fix #7947 in a different way: drop `ppc32` because `ppc` already exists3 files changed, 8 insertions(+), 9 deletions(-)
lib/std/target.zig+2-2| ... | ... | @@ -1184,8 +1184,8 @@ pub const Target = struct { |
| 1184 | 1184 | .mips, .mipsel => &mips.cpu.mips32, |
| 1185 | 1185 | .mips64, .mips64el => &mips.cpu.mips64, |
| 1186 | 1186 | .msp430 => &msp430.cpu.generic, |
| 1187 | .powerpc => &powerpc.cpu.ppc32, | |
| 1188 | .powerpcle => &powerpc.cpu.ppc32, | |
| 1187 | .powerpc => &powerpc.cpu.ppc, | |
| 1188 | .powerpcle => &powerpc.cpu.ppc, | |
| 1189 | 1189 | .powerpc64 => &powerpc.cpu.ppc64, |
| 1190 | 1190 | .powerpc64le => &powerpc.cpu.ppc64le, |
| 1191 | 1191 | .amdgcn => &amdgpu.cpu.generic, |
lib/std/target/powerpc.zig-7| ... | ... | @@ -751,13 +751,6 @@ pub const cpu = struct { |
| 751 | 751 | .hard_float, |
| 752 | 752 | }), |
| 753 | 753 | }; |
| 754 | pub const ppc32 = CpuModel{ | |
| 755 | .name = "ppc32", | |
| 756 | .llvm_name = "ppc32", | |
| 757 | .features = featureSet(&[_]Feature{ | |
| 758 | .hard_float, | |
| 759 | }), | |
| 760 | }; | |
| 761 | 754 | pub const ppc64 = CpuModel{ |
| 762 | 755 | .name = "ppc64", |
| 763 | 756 | .llvm_name = "ppc64", |
tools/update_cpu_features.zig+6| ... | ... | @@ -663,6 +663,12 @@ const llvm_targets = [_]LlvmTarget{ |
| 663 | 663 | .zig_name = "powerpc", |
| 664 | 664 | .llvm_name = "PowerPC", |
| 665 | 665 | .td_name = "PPC.td", |
| 666 | .feature_overrides = &.{ | |
| 667 | .{ | |
| 668 | .llvm_name = "ppc32", | |
| 669 | .omit = true, | |
| 670 | }, | |
| 671 | }, | |
| 666 | 672 | }, |
| 667 | 673 | .{ |
| 668 | 674 | .zig_name = "riscv", |