authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-20 00:02:06+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-04-25 21:54:48+02:00
log51a6a5a2a6ccae2848a8ea1de3650c19aecf5d37
tree692e4e9820e9fb9b57ee11ebd112aae0d632e608
parenta0ad35d0ba72d966061da4f8e4d9030115173bbf
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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

This reverts commit 35d2b1e99a2bf57f76d3317061a1b74d145f3c59. The bug was fixed in LLVM 22.

1 files changed, 0 insertions(+), 1 deletions(-)

lib/std/math/modf.zig-1
......@@ -87,7 +87,6 @@ fn ModfTests(comptime T: type) type {
8787 test "vector" {
8888 if (builtin.os.tag.isDarwin() and builtin.cpu.arch == .aarch64) return error.SkipZigTest;
8989 if (builtin.cpu.arch == .s390x) return error.SkipZigTest;
90 if (comptime builtin.cpu.has(.loongarch, .lsx)) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/159529
9190
9291 const widths = [_]comptime_int{ 1, 2, 3, 4, 8, 16 };
9392