[libc-commits] [libc] [libc] Disable fenv tests that don't work in Arm/AArch64 softfp (PR #217334)
via libc-commits
libc-commits at lists.llvm.org
Tue Aug 25 07:38:09 PDT 2026
lntue wrote:
> Out of interest can you explain why fenv isn't supported? Is it just not implemented yet, or is there some fundamental reason why it can't be done. I know not all software floating point emulation emulates the environment.
I think it is because all three libc (fenv.h), libm, and compiler-rt / libgcc_s need to communicate and agree upon the same emulated floating point environment, and I could see that compiler-rt try not to do anything with the fenv.
After this year GSoC LLVM libc/compiler-rt project finishes, I plan to add a build option to make libc, libm, and compiler-rt coordinate and emulate floating point environments.
https://github.com/llvm/llvm-project/pull/217334
More information about the libc-commits
mailing list