Skip to content

Commit 49249ea

Browse files
authored
Rollup merge of #137311 - martn3:enable-f16-mips, r=tgross35
Enable `f16` for MIPS Blocked on rust-lang/compiler-builtins#762 It seems as if `f16` works on MIPS now according to my testing on Rust master with LLVM 20, and I was asked [here](#137167 (comment)) to create PRs with my changes. I only tested on the flavour of `mipsel-unknown-linux-gnu` hardware that happens to be available to me, so I can't say anything about other MIPS hardware, but from a casual skimming of the LLVM code ([1], [2]) it seems like `f16` should work on all MIPS hardware. So enable it for all MIPS hardware. [1]: https://github.com/rust-lang/llvm-project/blob/rustc/20.1-2025-02-13/llvm/lib/Target/Mips/MipsISelLowering.h#L370 [2]: https://github.com/rust-lang/llvm-project/blob/rustc/20.1-2025-02-13/llvm/lib/CodeGen/TargetLoweringBase.cpp#L1367-L1388 `@rustbot` label +O-MIPS +F-f16_and_f128 +S-blocked Tracking issue for f16: #116909 r? `@tgross35`
2 parents e121dcf + cf1242c commit 49249ea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/std/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ fn main() {
107107
("csky", _) => false,
108108
("hexagon", _) => false,
109109
("loongarch64", _) => false,
110-
("mips" | "mips64" | "mips32r6" | "mips64r6", _) => false,
111110
("powerpc" | "powerpc64", _) => false,
112111
("sparc" | "sparc64", _) => false,
113112
("wasm32" | "wasm64", _) => false,

0 commit comments

Comments
 (0)