[all-commits] [llvm/llvm-project] 51e943: [libc][math] Improve performance of double precisi...

lntue via All-commits all-commits at lists.llvm.org
Thu Oct 10 20:33:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51e9430a0c767243411d4b81c284700f89719277
      https://github.com/llvm/llvm-project/commit/51e9430a0c767243411d4b81c284700f89719277
  Author: lntue <lntue at google.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M libc/src/__support/FPUtil/double_double.h
    M libc/src/__support/macros/optimization.h
    M libc/src/math/generic/cos.cpp
    M libc/src/math/generic/pow.cpp
    M libc/src/math/generic/range_reduction_double_common.h
    M libc/src/math/generic/range_reduction_double_fma.h
    M libc/src/math/generic/range_reduction_double_nofma.h
    M libc/src/math/generic/sin.cpp
    M libc/src/math/generic/sincos.cpp
    M libc/src/math/generic/sincos_eval.h
    M libc/src/math/generic/tan.cpp
    M libc/test/src/math/cos_test.cpp
    M libc/test/src/math/sin_test.cpp
    M libc/test/src/math/tan_test.cpp

  Log Message:
  -----------
  [libc][math] Improve performance of double precision trig functions. (#111793)

- Improve the accuracy of fast pass' range reduction.
- Provide tighter error estimations.
- Reduce the table size when `LIBC_MATH_SMALL_TABLES` flag is set.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list