Skip to content

Commit

Permalink
Enable f16 for LoongArch
Browse files Browse the repository at this point in the history
  • Loading branch information
heiher committed Mar 5, 2025
1 parent b7b9310 commit 6da1daf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions configure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,8 @@ pub fn configure_f16_f128(target: &Target) {
// Selection failure <https://github.com/llvm/llvm-project/issues/50374>
"s390x" => false,
// Infinite recursion <https://github.com/llvm/llvm-project/issues/97981>
// FIXME(llvm20): loongarch fixed by <https://github.com/llvm/llvm-project/pull/107791>
"csky" => false,
"hexagon" => false,
"loongarch64" => false,
"powerpc" | "powerpc64" => false,
"sparc" | "sparc64" => false,
"wasm32" | "wasm64" => false,
Expand Down
2 changes: 1 addition & 1 deletion testcrate/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fn main() {
}

// These platforms do not have `__gnu_f2h_ieee` or `__gnu_h2f_ieee`.
if false {
if target.arch == "loongarch64" {
features.insert(Feature::NoSysF16GnuConvert);
}

Expand Down

0 comments on commit 6da1daf

Please sign in to comment.