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-22 15:31:57+02:00
logb01cc264e14cabebf7260232edd311469df334c0
tree82e383eadc111c63ab40ac71c383a11bff288f5e
parent96bbe31cda46f63e3d562bec66bdbb2b03113d8d
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 {...@@ -87,7 +87,6 @@ fn ModfTests(comptime T: type) type {
87 test "vector" {87 test "vector" {
88 if (builtin.os.tag.isDarwin() and builtin.cpu.arch == .aarch64) return error.SkipZigTest;88 if (builtin.os.tag.isDarwin() and builtin.cpu.arch == .aarch64) return error.SkipZigTest;
89 if (builtin.cpu.arch == .s390x) return error.SkipZigTest;89 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
92 const widths = [_]comptime_int{ 1, 2, 3, 4, 8, 16 };91 const widths = [_]comptime_int{ 1, 2, 3, 4, 8, 16 };
9392