| ... | @@ -68,6 +68,8 @@ pub fn suggestVectorLengthForCpu(comptime T: type, comptime cpu: std.Target.Cpu) | ... | @@ -68,6 +68,8 @@ pub fn suggestVectorLengthForCpu(comptime T: type, comptime cpu: std.Target.Cpu) |
| 68 | if (cpu.has(.s390x, .vector)) break :blk 128; | 68 | if (cpu.has(.s390x, .vector)) break :blk 128; |
| 69 | } else if (cpu.arch.isSPARC()) { | 69 | } else if (cpu.arch.isSPARC()) { |
| 70 | if (cpu.hasAny(.sparc, &.{ .vis, .vis2, .vis3 })) break :blk 64; | 70 | if (cpu.hasAny(.sparc, &.{ .vis, .vis2, .vis3 })) break :blk 64; |
| | 71 | } else if (cpu.arch == .kvx) { |
| | 72 | break :blk 1024; |
| 71 | } else if (cpu.arch == .ve) { | 73 | } else if (cpu.arch == .ve) { |
| 72 | if (cpu.has(.ve, .vpu)) break :blk 2048; | 74 | if (cpu.has(.ve, .vpu)) break :blk 2048; |
| 73 | } else if (cpu.arch.isWasm()) { | 75 | } else if (cpu.arch.isWasm()) { |