aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-09-19 12:09:48 +0200
committerGitHub <noreply@github.com>2025-09-19 12:09:48 +0200
commit97df4ae3ce34ae2f1ac8298a99faaf990e22ca75 (patch)
treebc87b057fadd0056e22bb930cd214318ddc77112 /test/behavior/math.zig
parentde489031d873193ca94de1292828c00a02e3b3ea (diff)
parentc26c5a3c1b9dc55e157374cc5fab11fe28d53ecf (diff)
downloadzig-97df4ae3ce34ae2f1ac8298a99faaf990e22ca75.tar.gz
zig-97df4ae3ce34ae2f1ac8298a99faaf990e22ca75.zip
Merge pull request #25268 from alexrp/loongarch
Miscellaneous LoongArch work to prepare for CI
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 679c94a78e..914c47ba69 100644
--- 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);