[libc-commits] [libc] [libc] Improve nearest_integer for non-AVX x86 targets. (PR #230529)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Mon Oct 12 02:43:06 PDT 2026


https://github.com/labath approved this pull request.

I'm going to use this opportunity to complain about the definition of LIBC_INLINE_ASM, which uses `asm volatile`. The `volatile` part is only needed when the asm has side-effects that cannot be modeled through asm constraints, which is often not the case (and this function is a great example of that). `</rant>`

https://github.com/llvm/llvm-project/pull/230529


More information about the libc-commits mailing list