std.math.modf: disable vector test on LoongArch with LSX

https://github.com/llvm/llvm-project/issues/159529
This commit is contained in:
Alex Rønne Petersen 2025-09-18 12:41:03 +02:00
parent c8c3882380
commit 35d2b1e99a
No known key found for this signature in database

View File

@ -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 };