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" {
12101210}
12111211
12121212test "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
12191213 const vbool: @Vector(4, bool) = [_]bool{ true, false, true, false };
12201214 const vi64: @Vector(4, i64) = [_]i64{ -2, -1, 0, 1 };
12211215 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
448448}
449449
450450test "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
452451 if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21893
453452 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" {
638638 };
639639
640640 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
642641 if (builtin.cpu.arch == .hexagon and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest;
643642 try S.doTheTest();
644643}
......@@ -1119,7 +1118,6 @@ test "@addWithOverflow" {
11191118 }
11201119 };
11211120 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
11231121 try S.doTheTest();
11241122}
11251123
......@@ -1153,7 +1151,6 @@ test "@subWithOverflow" {
11531151 }
11541152 };
11551153 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
11571154 try S.doTheTest();
11581155}
11591156
......@@ -1176,7 +1173,6 @@ test "@mulWithOverflow" {
11761173 }
11771174 };
11781175 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
11801176 try S.doTheTest();
11811177}
11821178