[libc-commits] [libc] [libc] Extend fputil::sqrt to use floating point instructions for arm32. (PR #134499)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Apr 5 11:40:44 PDT 2025


jhuber6 wrote:

> Does it have to be element wise? Isn't this only required if the argument is a vector?

Yes, `__builtin_sqrt` is whatever GNU decided it to do, which implies some standard handling. `__builtin_elementwise_sqrt` is more straightforward and type generic.

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


More information about the libc-commits mailing list