[all-commits] [llvm/llvm-project] 67437d: [reland][libc] Switch to new implementation of mem...
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Wed Nov 2 02:10:31 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 67437dd0147e92fe601ef76d17dbbf171f638580
https://github.com/llvm/llvm-project/commit/67437dd0147e92fe601ef76d17dbbf171f638580
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2022-11-02 (Wed, 02 Nov 2022)
Changed paths:
M libc/src/stdio/printf_core/string_writer.cpp
M libc/src/string/bcmp.cpp
M libc/src/string/memcmp.cpp
M libc/src/string/memcpy.cpp
M libc/src/string/memmove.cpp
M libc/src/string/memory_utils/bcmp_implementations.h
M libc/src/string/memory_utils/bzero_implementations.h
M libc/src/string/memory_utils/memcmp_implementations.h
M libc/src/string/memory_utils/memcpy_implementations.h
M libc/src/string/memory_utils/memset_implementations.h
M libc/src/string/memory_utils/op_x86.h
M libc/src/string/mempcpy.cpp
M libc/src/string/memset.cpp
Log Message:
-----------
[reland][libc] Switch to new implementation of mem* functions
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, 028414881381)
Reviewed By: courbet
Differential Revision: https://reviews.llvm.org/D136595
More information about the All-commits
mailing list