authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-30 01:08:25+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-04-25 21:54:48+02:00
log7829397f89dfe7966e3bb4032c4a3651f5e3e322
tree1d9641f4dd14617163c978542deffcdbd480158b
parent061c13f13b052bf40d30baae375a1abceeff63fa
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Revert "std.zig.system: disable vector support on s390x for now"

This reverts commit 1cd913a0ec816f44d157980ade00a6560832a348. The bug was fixed in LLVM 22.

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

lib/std/zig/system.zig-5
......@@ -460,11 +460,6 @@ pub fn resolveTargetQuery(io: Io, query: Target.Query) DetectError!Target {
460460 if (result.cpu.arch.isArm() and result.abi.float() == .soft) {
461461 result.cpu.features.removeFeature(@intFromEnum(Target.arm.Feature.vfp2));
462462 }
463
464 // https://github.com/llvm/llvm-project/issues/168992
465 if (result.cpu.arch == .s390x) {
466 result.cpu.features.removeFeature(@intFromEnum(Target.s390x.Feature.vector));
467 }
468463 }
469464
470465 // It's possible that we detect the native ABI, but fail to detect the OS version or were told