authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-18 00:39:15+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-18 12:42:24+02:00
logbeb25b0430d96e2e87f6af189062bdd3a02b6e45
tree9e8e067a380dcc9852360a2ab885b522852c4285
parent35d2b1e99a2bf57f76d3317061a1b74d145f3c59
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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

https://github.com/llvm/llvm-project/issues/159529

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

test/behavior/math.zig+4
...@@ -111,6 +111,8 @@ test "@clz vectors" {...@@ -111,6 +111,8 @@ 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
114 const Vu4 = @Vector(64, u4);116 const Vu4 = @Vector(64, u4);
115 const Vu8 = @Vector(64, u8);117 const Vu8 = @Vector(64, u8);
116 const Vu128 = @Vector(64, u128);118 const Vu128 = @Vector(64, u128);
...@@ -197,6 +199,8 @@ test "@ctz vectors" {...@@ -197,6 +199,8 @@ test "@ctz vectors" {
197}199}
198200
199fn testCtzVectors() !void {201fn testCtzVectors() !void {
202 if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529
203
200 const Vu4 = @Vector(64, u4);204 const Vu4 = @Vector(64, u4);
201 const Vu8 = @Vector(64, u8);205 const Vu8 = @Vector(64, u8);
202 @setEvalBranchQuota(10_000);206 @setEvalBranchQuota(10_000);