| ... | @@ -2087,7 +2087,10 @@ pub const Cpu = struct { | ... | @@ -2087,7 +2087,10 @@ pub const Cpu = struct { |
| 2087 | .riscv32, .riscv32be => &riscv.cpu.baseline_rv32, | 2087 | .riscv32, .riscv32be => &riscv.cpu.baseline_rv32, |
| 2088 | .riscv64, .riscv64be => &riscv.cpu.baseline_rv64, | 2088 | .riscv64, .riscv64be => &riscv.cpu.baseline_rv64, |
| 2089 | .s390x => &s390x.cpu.arch11, | 2089 | .s390x => &s390x.cpu.arch11, |
| 2090 | .sparc => &sparc.cpu.v9, // glibc does not work with 'plain' v8. | 2090 | .sparc => switch (os.tag) { |
| | 2091 | .linux => &sparc.cpu.v9, // glibc does not work with 'plain' v8. |
| | 2092 | else => generic(arch), |
| | 2093 | }, |
| 2091 | .sparc64 => &sparc.cpu.ultrasparc, | 2094 | .sparc64 => &sparc.cpu.ultrasparc, |
| 2092 | .x86 => &x86.cpu.pentium4, | 2095 | .x86 => &x86.cpu.pentium4, |
| 2093 | .x86_64 => switch (os.tag) { | 2096 | .x86_64 => switch (os.tag) { |