Re-apply https://reviews.llvm.org/D118173 with fix for aarch64.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D118433  
[libc] Refactor sqrt implementations and add tests for generic sqrt implementations. ClosedPublic Authored by lntue on Jan 27 2022, 10:25 PM. 
Details 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jan 28 2022, 10:23 AM This revision was landed with ongoing or failed builds.Jan 28 2022, 10:39 AM Closed by commit rGad4ee2d778a8: [libc] Refactor sqrt implementations and add tests for generic sqrt… (authored by lntue).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 403889 libc/src/__support/FPUtil/CMakeLists.txt
 libc/src/__support/FPUtil/Sqrt.h
 
 libc/src/__support/FPUtil/aarch64/sqrt.h
 
 libc/src/__support/FPUtil/generic/CMakeLists.txt
 
 libc/src/__support/FPUtil/generic/sqrt.h
 
 libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
 
 libc/src/__support/FPUtil/sqrt.h
 
 libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h
 libc/src/__support/FPUtil/x86_64/sqrt.h
 
 libc/src/math/aarch64/CMakeLists.txt
 libc/src/math/generic/CMakeLists.txt
 libc/src/math/generic/sqrt.cpp
 
 libc/src/math/generic/sqrtf.cpp
 libc/src/math/generic/sqrtl.cpp
 libc/src/math/x86_64/CMakeLists.txt
 libc/src/math/x86_64/sqrt.cpp
 
 libc/src/math/x86_64/sqrtf.cpp
 
 libc/src/math/x86_64/sqrtl.cpp
 
 libc/test/src/math/CMakeLists.txt
 libc/test/src/math/generic_sqrt_test.cpp
 
 libc/test/src/math/generic_sqrtf_test.cpp
 
 libc/test/src/math/generic_sqrtl_test.cpp
 
 utils/bazel/llvm-project-overlay/libc/BUILD.bazel
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||