mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
Revert "std.zig.system: Force soft_float feature on for MIPS soft float targets."
This reverts commit 71a237e764.
The bug was fixed in LLVM 22.
This commit is contained in:
@@ -461,11 +461,6 @@ pub fn resolveTargetQuery(io: Io, query: Target.Query) DetectError!Target {
|
|||||||
result.cpu.features.removeFeature(@intFromEnum(Target.arm.Feature.vfp2));
|
result.cpu.features.removeFeature(@intFromEnum(Target.arm.Feature.vfp2));
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/llvm/llvm-project/issues/135283
|
|
||||||
if (result.cpu.arch.isMIPS() and result.abi.float() == .soft) {
|
|
||||||
result.cpu.features.addFeature(@intFromEnum(Target.mips.Feature.soft_float));
|
|
||||||
}
|
|
||||||
|
|
||||||
// https://github.com/llvm/llvm-project/issues/168992
|
// https://github.com/llvm/llvm-project/issues/168992
|
||||||
if (result.cpu.arch == .s390x) {
|
if (result.cpu.arch == .s390x) {
|
||||||
result.cpu.features.removeFeature(@intFromEnum(Target.s390x.Feature.vector));
|
result.cpu.features.removeFeature(@intFromEnum(Target.s390x.Feature.vector));
|
||||||
|
|||||||
Reference in New Issue
Block a user