commit 51a6a5a2a6ccae2848a8ea1de3650c19aecf5d37 (tree)
parent a0ad35d0ba72d966061da4f8e4d9030115173bbf
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Tue, 20 Jan 2026 00:02:06 +0100
Revert "std.math.modf: disable vector test on LoongArch with LSX"
This reverts commit 35d2b1e99a2bf57f76d3317061a1b74d145f3c59.
The bug was fixed in LLVM 22.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/lib/std/math/modf.zig b/lib/std/math/modf.zig
@@ -87,7 +87,6 @@ fn ModfTests(comptime T: type) type {
test "vector" {
if (builtin.os.tag.isDarwin() 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 };