[PATCH] D151313: [RISCV][BF16] Make backend type bf16 to follow the psABI
Jun Sha via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 24 07:20:45 PDT 2023
joshua-arch1 added a comment.
In D151313#4367945 <https://reviews.llvm.org/D151313#4367945>, @asb wrote:
> Sorry to not have specifics on this - I'm working on a patch in this same area and as you've found as well, it's quite fiddly. Using the `__truncsfhf2` and `__extendhfsf2` libcalls isn't correct - they expect 16-bit floats in a different format to bfloat16.
I have checked compiler-rt/lib/builtins. There is truncsfbf2 for single-bfloat conversion, but I cannot find any library for bfloat extend.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151313/new/
https://reviews.llvm.org/D151313
More information about the llvm-commits
mailing list