| author | |
| committer | |
| log | a382b7bfc52c213df1eecf979da719b4872f5394 |
| tree | e14e17ddbdc1cf4de668dc4adb4fc00d768c00aa |
| parent | 39b5c8ee8a261c6ee6ecbc99fd3a628fef315885 |
| signature |
1 files changed, 2 insertions(+), 0 deletions(-)
lib/std/simd.zig+2| ... | ... | @@ -68,6 +68,8 @@ pub fn suggestVectorLengthForCpu(comptime T: type, comptime cpu: std.Target.Cpu) |
| 68 | 68 | if (cpu.has(.s390x, .vector)) break :blk 128; |
| 69 | 69 | } else if (cpu.arch.isSPARC()) { |
| 70 | 70 | if (cpu.hasAny(.sparc, &.{ .vis, .vis2, .vis3 })) break :blk 64; |
| 71 | } else if (cpu.arch == .kvx) { | |
| 72 | break :blk 1024; | |
| 71 | 73 | } else if (cpu.arch == .ve) { |
| 72 | 74 | if (cpu.has(.ve, .vpu)) break :blk 2048; |
| 73 | 75 | } else if (cpu.arch.isWasm()) { |