[libc-commits] [PATCH] D94692: [libc] Allow customization of memcpy via flags.
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Jan 14 07:53:38 PST 2021
gchatelet created this revision.
gchatelet added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett, pengfei.
Herald added a project: libc-project.
gchatelet requested review of this revision.
- Adds LLVM_LIBC_IS_DEFINED macro to libc/src/__support/common.h
- Adds a few knobs to memcpy to help with experimentations:
- LLVM_LIBC_MEMCPY_X86_USE_ONLY_REPMOVSB replaces the implementation with a single call to rep;movsb
- LLVM_LIBC_MEMCPY_X86_USE_REPMOVSB_FROM_SIZE customizes where the usage of rep;movsb
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94692
Files:
libc/src/__support/common.h
libc/src/string/x86/memcpy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94692.316663.patch
Type: text/x-patch
Size: 4863 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210114/1357dbd0/attachment.bin>
More information about the libc-commits
mailing list