[libc-commits] [PATCH] D101895: [libc] Simplifies multi implementations and benchmarks

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed May 5 04:40:31 PDT 2021


gchatelet created this revision.
gchatelet added reviewers: sivachandra, avieira.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
gchatelet requested review of this revision.

This is a follow up on D101524 <https://reviews.llvm.org/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).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101895

Files:
  libc/CMakeLists.txt
  libc/benchmarks/CMakeLists.txt
  libc/benchmarks/LibcMemoryBenchmarkMain.cpp
  libc/cmake/modules/LLVMLibCArchitectures.cmake
  libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
  libc/config/linux/CMakeLists.txt
  libc/fuzzing/CMakeLists.txt
  libc/loader/linux/CMakeLists.txt
  libc/src/math/CMakeLists.txt
  libc/src/string/CMakeLists.txt
  libc/src/string/aarch64/CMakeLists.txt
  libc/src/string/x86/CMakeLists.txt
  libc/src/string/x86/memcpy.cpp
  libc/src/string/x86_64/memcpy.cpp
  libc/src/threads/linux/CMakeLists.txt
  libc/test/config/linux/CMakeLists.txt
  libc/test/loader/linux/CMakeLists.txt
  libc/test/src/math/CMakeLists.txt
  libc/test/src/string/CMakeLists.txt
  libc/test/utils/FPUtil/CMakeLists.txt
  libc/utils/FPUtil/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101895.342998.patch
Type: text/x-patch
Size: 30613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210505/74a561fb/attachment-0001.bin>


More information about the libc-commits mailing list