| ... | @@ -411,6 +411,11 @@ pub fn resolveTargetQuery(query: Target.Query) DetectError!Target { | ... | @@ -411,6 +411,11 @@ pub fn resolveTargetQuery(query: Target.Query) DetectError!Target { |
| 411 | if (result.cpu.arch.isArm() and result.abi.float() == .soft) { | 411 | if (result.cpu.arch.isArm() and result.abi.float() == .soft) { |
| 412 | result.cpu.features.removeFeature(@intFromEnum(Target.arm.Feature.vfp2)); | 412 | result.cpu.features.removeFeature(@intFromEnum(Target.arm.Feature.vfp2)); |
| 413 | } | 413 | } |
| | 414 | |
| | 415 | // https://github.com/llvm/llvm-project/issues/135283 |
| | 416 | if (result.cpu.arch.isMIPS() and result.abi.float() == .soft) { |
| | 417 | result.cpu.features.addFeature(@intFromEnum(Target.mips.Feature.soft_float)); |
| | 418 | } |
| 414 | } | 419 | } |
| 415 | | 420 | |
| 416 | // It's possible that we detect the native ABI, but fail to detect the OS version or were told | 421 | // It's possible that we detect the native ABI, but fail to detect the OS version or were told |