[all-commits] [llvm/llvm-project] 541f10: [libc] Simplifies multi implementations and benchm...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Mon May 10 01:23:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 541f107871bc9c020925a6e5342542a47c902d12
      https://github.com/llvm/llvm-project/commit/541f107871bc9c020925a6e5342542a47c902d12
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
    M libc/src/string/CMakeLists.txt
    R libc/src/string/aarch64/CMakeLists.txt
    R libc/src/string/x86_64/CMakeLists.txt
    M libc/test/src/string/CMakeLists.txt

  Log Message:
  -----------
  [libc] Simplifies multi implementations and benchmarks

This is a follow up on D101524 which:
 - simplifies cpu features detection and usage,
 - flattens target dependent optimizations so it's obvious which implementations are generated,
 - provides an implementation targeting the host (march/mtune=native) for the mem* functions,
 - makes sure all implementations are unittested (provided the host can run them),
 - makes sure all implementations are benchmarkable (provided the host can run them).

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




More information about the All-commits mailing list