authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-05 04:35:11+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2025-09-05 04:35:11+02:00
log9fa2394f8c00d060931d69fb6f342f7f2e3d826e
treebe7ef463f79228b9396b5a7c32ccac85e067536e
parentf78f70dbd858536fd1a1ce0a1706ac259bcdf538
parent63ab0c0302b476c4ec59663ae666d6124947dfb8
signaturebadge-check Signed by PGP key B5690EEEBB952194

Merge pull request #25147 from lunagl/reenable-tests

Reenable failing vector tests

3 files changed, 0 insertions(+), 11 deletions(-)

lib/std/fmt.zig-6
...@@ -1210,12 +1210,6 @@ test "positional/alignment/width/precision" {...@@ -1210,12 +1210,6 @@ test "positional/alignment/width/precision" {
1210}1210}
12111211
1212test "vector" {1212test "vector" {
1213 if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
1214 if (builtin.target.cpu.arch == .riscv64) {
1215 // https://github.com/ziglang/zig/issues/4486
1216 return error.SkipZigTest;
1217 }
1218
1219 const vbool: @Vector(4, bool) = [_]bool{ true, false, true, false };1213 const vbool: @Vector(4, bool) = [_]bool{ true, false, true, false };
1220 const vi64: @Vector(4, i64) = [_]i64{ -2, -1, 0, 1 };1214 const vi64: @Vector(4, i64) = [_]i64{ -2, -1, 0, 1 };
1221 const vu64: @Vector(4, u64) = [_]u64{ 1000, 2000, 3000, 4000 };1215 const vu64: @Vector(4, u64) = [_]u64{ 1000, 2000, 3000, 4000 };
lib/std/simd.zig-1
...@@ -448,7 +448,6 @@ pub fn prefixScan(comptime op: std.builtin.ReduceOp, comptime hop: isize, vec: a...@@ -448,7 +448,6 @@ pub fn prefixScan(comptime op: std.builtin.ReduceOp, comptime hop: isize, vec: a
448}448}
449449
450test "vector prefix scan" {450test "vector prefix scan" {
451 if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
452 if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21893451 if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21893
453 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .hexagon) return error.SkipZigTest;452 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .hexagon) return error.SkipZigTest;
454453
test/behavior/vector.zig-4
...@@ -638,7 +638,6 @@ test "vector division operators" {...@@ -638,7 +638,6 @@ test "vector division operators" {
638 };638 };
639639
640 try comptime S.doTheTest();640 try comptime S.doTheTest();
641 if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
642 if (builtin.cpu.arch == .hexagon and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest;641 if (builtin.cpu.arch == .hexagon and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest;
643 try S.doTheTest();642 try S.doTheTest();
644}643}
...@@ -1119,7 +1118,6 @@ test "@addWithOverflow" {...@@ -1119,7 +1118,6 @@ test "@addWithOverflow" {
1119 }1118 }
1120 };1119 };
1121 try comptime S.doTheTest();1120 try comptime S.doTheTest();
1122 if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
1123 try S.doTheTest();1121 try S.doTheTest();
1124}1122}
11251123
...@@ -1153,7 +1151,6 @@ test "@subWithOverflow" {...@@ -1153,7 +1151,6 @@ test "@subWithOverflow" {
1153 }1151 }
1154 };1152 };
1155 try comptime S.doTheTest();1153 try comptime S.doTheTest();
1156 if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
1157 try S.doTheTest();1154 try S.doTheTest();
1158}1155}
11591156
...@@ -1176,7 +1173,6 @@ test "@mulWithOverflow" {...@@ -1176,7 +1173,6 @@ test "@mulWithOverflow" {
1176 }1173 }
1177 };1174 };
1178 try comptime S.doTheTest();1175 try comptime S.doTheTest();
1179 if ((builtin.cpu.arch == .armeb or builtin.cpu.arch == .thumbeb) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
1180 try S.doTheTest();1176 try S.doTheTest();
1181}1177}
11821178