zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit beb25b0430d96e2e87f6af189062bdd3a02b6e45 (tree)
parent 35d2b1e99a2bf57f76d3317061a1b74d145f3c59
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Thu, 18 Sep 2025 00:39:15 +0200

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

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

Diffstat:
Mtest/behavior/math.zig | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/test/behavior/math.zig b/test/behavior/math.zig @@ -111,6 +111,8 @@ test "@clz vectors" { } fn testClzVectors() !void { + if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529 + const Vu4 = @Vector(64, u4); const Vu8 = @Vector(64, u8); const Vu128 = @Vector(64, u128); @@ -197,6 +199,8 @@ test "@ctz vectors" { } fn testCtzVectors() !void { + if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529 + const Vu4 = @Vector(64, u4); const Vu8 = @Vector(64, u8); @setEvalBranchQuota(10_000);