| author | |
| committer | |
| log | cefbe4e7bec28d9a048581d15431b20c9619bfc6 |
| tree | 047f3a05a29d56dabe4d204a616ad89d49118470 |
| parent | 341eec71fd430def554cb48fd7b8db4f081cd946 |
LLVM calls generic sparc32 CPUs "v8" and generic sparc64 CPUs "v9".2 files changed, 2 insertions(+), 6 deletions(-)
lib/std/target.zig+2-1| ... | @@ -1127,7 +1127,8 @@ pub const Target = struct { | ... | @@ -1127,7 +1127,8 @@ pub const Target = struct { |
| 1127 | .amdgcn => &amdgpu.cpu.generic, | 1127 | .amdgcn => &amdgpu.cpu.generic, |
| 1128 | .riscv32 => &riscv.cpu.generic_rv32, | 1128 | .riscv32 => &riscv.cpu.generic_rv32, |
| 1129 | .riscv64 => &riscv.cpu.generic_rv64, | 1129 | .riscv64 => &riscv.cpu.generic_rv64, |
| 1130 | .sparc, .sparcv9, .sparcel => &sparc.cpu.generic, | 1130 | .sparc, .sparcel => &sparc.cpu.v8, |
| 1131 | .sparcv9 => &sparc.cpu.v9, | ||
| 1131 | .s390x => &systemz.cpu.generic, | 1132 | .s390x => &systemz.cpu.generic, |
| 1132 | .i386 => &x86.cpu._i386, | 1133 | .i386 => &x86.cpu._i386, |
| 1133 | .x86_64 => &x86.cpu.x86_64, | 1134 | .x86_64 => &x86.cpu.x86_64, |
lib/std/target/sparc.zig-5| ... | @@ -160,11 +160,6 @@ pub const cpu = struct { | ... | @@ -160,11 +160,6 @@ pub const cpu = struct { |
| 160 | .llvm_name = "f934", | 160 | .llvm_name = "f934", |
| 161 | .features = featureSet(&[_]Feature{}), | 161 | .features = featureSet(&[_]Feature{}), |
| 162 | }; | 162 | }; |
| 163 | pub const generic = CpuModel{ | ||
| 164 | .name = "generic", | ||
| 165 | .llvm_name = "generic", | ||
| 166 | .features = featureSet(&[_]Feature{}), | ||
| 167 | }; | ||
| 168 | pub const gr712rc = CpuModel{ | 163 | pub const gr712rc = CpuModel{ |
| 169 | .name = "gr712rc", | 164 | .name = "gr712rc", |
| 170 | .llvm_name = "gr712rc", | 165 | .llvm_name = "gr712rc", |