[libc-commits] [PATCH] D136595: [libc] Switch to new implementation of mem* functions
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Oct 24 06:41:50 PDT 2022
gchatelet created this revision.
gchatelet added a reviewer: courbet.
Herald added subscribers: libc-commits, ecnelises, tschuett, pengfei, kristof.beyls.
Herald added projects: libc-project, All.
gchatelet requested review of this revision.
The new framework makes it explicit which processor feature is being
used and allows for easier per platform customization:
- ARM cpu now uses trivial implementations to reduce code size.
- Memcmp, Bcmp and Memmove have been optimized for x86
- Bcmp has been optimized for aarch64.
This is a reland of https://reviews.llvm.org/D135134 (b3f1d58 <https://reviews.llvm.org/rGb3f1d58a131eb546aaf1ac165c77ccb89c40d758>)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D136595
Files:
libc/src/stdio/printf_core/string_writer.cpp
libc/src/string/bcmp.cpp
libc/src/string/memcmp.cpp
libc/src/string/memcpy.cpp
libc/src/string/memmove.cpp
libc/src/string/memory_utils/bcmp_implementations.h
libc/src/string/memory_utils/bzero_implementations.h
libc/src/string/memory_utils/memcmp_implementations.h
libc/src/string/memory_utils/memcpy_implementations.h
libc/src/string/memory_utils/memset_implementations.h
libc/src/string/memory_utils/op_x86.h
libc/src/string/mempcpy.cpp
libc/src/string/memset.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136595.470131.patch
Type: text/x-patch
Size: 43793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221024/5dd2087b/attachment-0001.bin>
More information about the libc-commits
mailing list