authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-20 00:01:56+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-04-25 21:54:48+02:00
loga0ad35d0ba72d966061da4f8e4d9030115173bbf
treeb64470b0713b52bb380c5ade118962a5437bc362
parent8eb8034af998379a3f6e5400b6108045e76f5906
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Revert "test: disable some vector ctz/clz behavior tests on LoongArch with LSX"

This reverts commit beb25b0430d96e2e87f6af189062bdd3a02b6e45. The bug was fixed in LLVM 22.

1 files changed, 0 insertions(+), 4 deletions(-)

test/behavior/math.zig-4
......@@ -110,8 +110,6 @@ test "@clz vectors" {
110110}
111111
112112fn testClzVectors() !void {
113 if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529
114
115113 const Vu4 = @Vector(64, u4);
116114 const Vu8 = @Vector(64, u8);
117115 const Vu128 = @Vector(64, u128);
......@@ -193,8 +191,6 @@ test "@ctz vectors" {
193191}
194192
195193fn testCtzVectors() !void {
196 if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529
197
198194 const Vu4 = @Vector(64, u4);
199195 const Vu8 = @Vector(64, u8);
200196 @setEvalBranchQuota(10_000);