[all-commits] [llvm/llvm-project] ad4ee2: [libc] Refactor sqrt implementations and add tests...

lntue via All-commits all-commits at lists.llvm.org
Fri Jan 28 10:39:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad4ee2d778a8956e578632aeba4e85bc4c8da508
      https://github.com/llvm/llvm-project/commit/ad4ee2d778a8956e578632aeba4e85bc4c8da508
  Author: Tue Ly <lntue at google.com>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M libc/src/__support/FPUtil/CMakeLists.txt
    R libc/src/__support/FPUtil/Sqrt.h
    A libc/src/__support/FPUtil/aarch64/sqrt.h
    A libc/src/__support/FPUtil/generic/CMakeLists.txt
    A libc/src/__support/FPUtil/generic/sqrt.h
    A libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
    A libc/src/__support/FPUtil/sqrt.h
    R libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h
    A libc/src/__support/FPUtil/x86_64/sqrt.h
    M libc/src/math/aarch64/CMakeLists.txt
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/sqrt.cpp
    M libc/src/math/generic/sqrtf.cpp
    M libc/src/math/generic/sqrtl.cpp
    M libc/src/math/x86_64/CMakeLists.txt
    R libc/src/math/x86_64/sqrt.cpp
    R libc/src/math/x86_64/sqrtf.cpp
    R libc/src/math/x86_64/sqrtl.cpp
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/generic_sqrt_test.cpp
    A libc/test/src/math/generic_sqrtf_test.cpp
    A libc/test/src/math/generic_sqrtl_test.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] Refactor sqrt implementations and add tests for generic sqrt implementations.

Re-apply https://reviews.llvm.org/D118173 with fix for aarch64.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D118433




More information about the All-commits mailing list