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

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue May 11 05:22:26 PDT 2021


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

This is a roll forward of D101895 <https://reviews.llvm.org/D101895> with two additional fixes:

Original Patch description:

> 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).

Additional fixes:

- Fix uninitialized ALL_CPU_FEATURES
- Use non pseudo microarch as it is only supported from Clang 12 on


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102233

Files:
  libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
  libc/src/string/CMakeLists.txt
  libc/src/string/aarch64/CMakeLists.txt
  libc/src/string/x86_64/CMakeLists.txt
  libc/test/src/string/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102233.344369.patch
Type: text/x-patch
Size: 12073 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210511/80f7d195/attachment.bin>


More information about the libc-commits mailing list