[all-commits] [llvm/llvm-project] c5f8a0: [libc] Add support for x86-64 targets that do not ...

lntue via All-commits all-commits at lists.llvm.org
Fri Apr 8 11:12:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5f8a0a1e929ea41bd3e0d781c6b394a3f619427
      https://github.com/llvm/llvm-project/commit/c5f8a0a1e929ea41bd3e0d781c6b394a3f619427
  Author: Tue Ly <lntue at google.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/FMA.h
    M libc/src/__support/FPUtil/PolyEval.h
    M libc/src/__support/FPUtil/aarch64/FMA.h
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/FMA.h
    A libc/src/__support/FPUtil/multiply_add.h
    M libc/src/__support/FPUtil/x86_64/FMA.h
    M libc/src/__support/architectures.h
    M libc/src/math/CMakeLists.txt
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/expm1f.cpp
    M libc/src/math/generic/log10f.cpp
    M libc/src/math/generic/log1pf.cpp
    M libc/src/math/generic/logf.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] Add support for x86-64 targets that do not have FMA instructions.

Make FMA flag checks more accurate for x86-64 targets, and refactor
polyeval to use multiply and add instead when FMA instructions are not
available.

Reviewed By: michaelrj, sivachandra

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




More information about the All-commits mailing list