[libc-commits] [libc] [libc] Disable fenv tests that don't work in Arm/AArch64 softfp (PR #217334)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Tue Aug 25 02:06:40 PDT 2026
vhscampos wrote:
> Is this specific to software-floating point on Arm/AArch64? Are there other software-floating point targets that are affected? If so then may be worth making the conditions less target specific, or at least easier to extend.
It seems to affect more targets than just Arm and AArch64 soft nofp. For the time being I'd rather just have this localised fix. In the future I believe we should detect FP capabilities of the target in CMake and toggle implementation and tests according to that feature check.
> 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 don't have experience with FP environments implemented in software, but to the best of my knowledge, it is just not implemented yet.
https://github.com/llvm/llvm-project/pull/217334
More information about the libc-commits
mailing list