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-22 15:31:57+02:00
log96bbe31cda46f63e3d562bec66bdbb2b03113d8d
treecd7b018700c95d20aed88991767cf6dbcf2efd30
parent7d3aee4bae5da83fb54ce984727a102196f370a0
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
...@@ -111,8 +111,6 @@ test "@clz vectors" {...@@ -111,8 +111,6 @@ test "@clz vectors" {
111}111}
112112
113fn testClzVectors() !void {113fn testClzVectors() !void {
114 if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529
115
116 const Vu4 = @Vector(64, u4);114 const Vu4 = @Vector(64, u4);
117 const Vu8 = @Vector(64, u8);115 const Vu8 = @Vector(64, u8);
118 const Vu128 = @Vector(64, u128);116 const Vu128 = @Vector(64, u128);
...@@ -195,8 +193,6 @@ test "@ctz vectors" {...@@ -195,8 +193,6 @@ test "@ctz vectors" {
195}193}
196194
197fn testCtzVectors() !void {195fn testCtzVectors() !void {
198 if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529
199
200 const Vu4 = @Vector(64, u4);196 const Vu4 = @Vector(64, u4);
201 const Vu8 = @Vector(64, u8);197 const Vu8 = @Vector(64, u8);
202 @setEvalBranchQuota(10_000);198 @setEvalBranchQuota(10_000);