| author | |
| committer | |
| log | 623335263f677b31ab6c5ac7bcbe9065fe196b3f |
| tree | c94e59d4ae6450373084288d905cff3fe6e98c9c |
| parent | ccbd6a3c197d7593fc8aaaf0108630c3526dc00d |
| signature |
1 files changed, 4 insertions(+), 1 deletions(-)
lib/std/zig/system/x86.zig+4-1| ... | ... | @@ -210,7 +210,10 @@ fn detectAmdProcessor(cpu: *const Target.Cpu, family: u32, model: u32) ?*const T |
| 210 | 210 | 0x10...0x1f, 0x60...0x6f, 0x70...0x7f, 0xa0...0xaf => &Target.x86.cpu.znver4, |
| 211 | 211 | else => &Target.x86.cpu.znver3, |
| 212 | 212 | }, |
| 213 | 26 => &Target.x86.cpu.znver5, | |
| 213 | 26 => switch (model) { | |
| 214 | 0x50...0x5f, 0x80...0xcf, 0xd8...0xe7 => &Target.x86.cpu.znver6, | |
| 215 | else => &Target.x86.cpu.znver5, | |
| 216 | }, | |
| 214 | 217 | else => null, |
| 215 | 218 | }; |
| 216 | 219 | } |