[libc-commits] [PATCH] D114637: [libc] Optimized version of memmove
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Feb 7 04:46:08 PST 2022
gchatelet added a comment.
@avieira Shall I transform
static void move(char *dst, const char *src) {
const auto value = Element::load(src);
Repeated<Element, ElementCount - 1>::move(dst + Element::SIZE, src + Element::SIZE);
Element::store(dst, value);
}
into
static void move(char *dst, const char *src) {
const auto value = load(src);
store(dst, value);
}
before submitting?
As discussed offline, this seems to help on aarch64 but doesn't seem to affect x86.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114637/new/
https://reviews.llvm.org/D114637
More information about the libc-commits
mailing list