From 35d2b1e99a2bf57f76d3317061a1b74d145f3c59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 18 Sep 2025 12:41:03 +0200 Subject: [PATCH] std.math.modf: disable vector test on LoongArch with LSX https://github.com/llvm/llvm-project/issues/159529 --- lib/std/math/modf.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/math/modf.zig b/lib/std/math/modf.zig index 870b4e6f6b..60680cf831 100644 --- a/lib/std/math/modf.zig +++ b/lib/std/math/modf.zig @@ -87,6 +87,7 @@ fn ModfTests(comptime T: type) type { test "vector" { if (builtin.os.tag == .macos and builtin.cpu.arch == .aarch64) return error.SkipZigTest; if (builtin.cpu.arch == .s390x) return error.SkipZigTest; + if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529 const widths = [_]comptime_int{ 1, 2, 3, 4, 8, 16 };