| ... | @@ -473,6 +473,11 @@ pub fn resolveTargetQuery(io: Io, query: Target.Query) DetectError!Target { | ... | @@ -473,6 +473,11 @@ pub fn resolveTargetQuery(io: Io, query: Target.Query) DetectError!Target { |
| 473 | if (result.cpu.arch.isMIPS() and result.abi.float() == .soft) { | 473 | if (result.cpu.arch.isMIPS() and result.abi.float() == .soft) { |
| 474 | result.cpu.features.addFeature(@intFromEnum(Target.mips.Feature.soft_float)); | 474 | result.cpu.features.addFeature(@intFromEnum(Target.mips.Feature.soft_float)); |
| 475 | } | 475 | } |
| | 476 | |
| | 477 | // https://github.com/llvm/llvm-project/issues/168992 |
| | 478 | if (result.cpu.arch == .s390x) { |
| | 479 | result.cpu.features.removeFeature(@intFromEnum(Target.s390x.Feature.vector)); |
| | 480 | } |
| 476 | } | 481 | } |
| 477 | | 482 | |
| 478 | // It's possible that we detect the native ABI, but fail to detect the OS version or were told | 483 | // It's possible that we detect the native ABI, but fail to detect the OS version or were told |