[PATCH] D107082: [X86][RFC] Enable `_Float16` type support on X86 following the psABI

Pengfei Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 29 08:38:08 PDT 2021


pengfei added inline comments.


================
Comment at: llvm/include/llvm/IR/RuntimeLibcalls.def:293-294
 HANDLE_LIBCALL(FPEXT_F16_F64, "__extendhfdf2")
 HANDLE_LIBCALL(FPEXT_F16_F32, "__gnu_h2f_ieee")
 HANDLE_LIBCALL(FPROUND_F32_F16, "__gnu_f2h_ieee")
 HANDLE_LIBCALL(FPROUND_F64_F16, "__truncdfhf2")
----------------
GCC12 will provide functions `__extendhfsf2` and `__truncsfhf2`. I wonder if I can change it directly here or do extra customization for ARM/AArch64? Other targets?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107082/new/

https://reviews.llvm.org/D107082



More information about the cfe-commits mailing list