[libc] Refactor sqrt implementations and add tests for generic sqrt implementations.Re-apply https://reviews.llvm.org/D118173 with fix for aarch64.Reviewed By: michaelrjDifferential Revision: h
[libc] Refactor sqrt implementations and add tests for generic sqrt implementations.Re-apply https://reviews.llvm.org/D118173 with fix for aarch64.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D118433
show more ...
[libc] Revert "Refactor sqrt implementations and add tests for generic sqrt implementations."This reverts commit 21c4c82c2026bac1f53be54923c0663d41d0a0aa.
[libc] Refactor sqrt implementations and add tests for generic sqrt implementations.Refactor sqrt implementations:- Move architecture specific instructions from `src/math/<arch>` to `src/__support
[libc] Refactor sqrt implementations and add tests for generic sqrt implementations.Refactor sqrt implementations:- Move architecture specific instructions from `src/math/<arch>` to `src/__support/FPUtil/<arch>` folder.- Move generic implementation of `sqrt` to `src/__support/FPUtil/generic` folder and add it as a header library.- Use `src/__support/FPUtil/sqrt.h` for architecture/generic selections.- Add unit tests for generic implementation of `sqrt`.Reviewed By: sivachandraDifferential Revision: https://reviews.llvm.org/D118173
[libc] Add aarch64 flavors of floor, round, sqrt and trunc.Only single and double precision flavors have been added.Reviewed By: lntue, sdesmalenDifferential Revision: https://reviews.llvm.org/
[libc] Add aarch64 flavors of floor, round, sqrt and trunc.Only single and double precision flavors have been added.Reviewed By: lntue, sdesmalenDifferential Revision: https://reviews.llvm.org/D95999
[libc] Add hardware implementations of ceil and ceilf for aarch64.This change also introduces a new source layout for adding machinespecific and generic implementations. To keep the scope of this
[libc] Add hardware implementations of ceil and ceilf for aarch64.This change also introduces a new source layout for adding machinespecific and generic implementations. To keep the scope of this changesmall, this new pattern is only applied for ceil, ceilf and ceill.Follow up changes will switch all math functions in to the new pattern.Reviewed By: lntueDifferential Revision: https://reviews.llvm.org/D95850