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" {...@@ -110,8 +110,6 @@ test "@clz vectors" {
110}110}
111111
112fn testClzVectors() !void {112fn testClzVectors() !void {
113 if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529
114
115 const Vu4 = @Vector(64, u4);113 const Vu4 = @Vector(64, u4);
116 const Vu8 = @Vector(64, u8);114 const Vu8 = @Vector(64, u8);
117 const Vu128 = @Vector(64, u128);115 const Vu128 = @Vector(64, u128);
...@@ -193,8 +191,6 @@ test "@ctz vectors" {...@@ -193,8 +191,6 @@ test "@ctz vectors" {
193}191}
194192
195fn testCtzVectors() !void {193fn testCtzVectors() !void {
196 if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529
197
198 const Vu4 = @Vector(64, u4);194 const Vu4 = @Vector(64, u4);
199 const Vu8 = @Vector(64, u8);195 const Vu8 = @Vector(64, u8);
200 @setEvalBranchQuota(10_000);196 @setEvalBranchQuota(10_000);