aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2021-11-26 14:00:17 +0000
committerGuillaume Chatelet <gchatelet@google.com>2022-02-08 11:55:09 +0000
commit83f9b13d8cc2dd148c8ff7c1c71584e1eb634b75 (patch)
tree38aae58ffc1806385196db12289357ee8e46a1d8 /llvm/unittests/Support/MathExtrasTest.cpp
parent508b3f437dae99518d8e325a7a32d3d80613462b (diff)
downloadllvm-83f9b13d8cc2dd148c8ff7c1c71584e1eb634b75.zip
llvm-83f9b13d8cc2dd148c8ff7c1c71584e1eb634b75.tar.gz
llvm-83f9b13d8cc2dd148c8ff7c1c71584e1eb634b75.tar.bz2
[libc] Optimized version of memmove
This implementation relies on storing data in registers for sizes up to 128B. Then depending on whether `dst` is less (resp. greater) than `src` we move data forward (resp. backward) by chunks of 32B. We first make sure one of the pointers is aligned to increase performance on large move sizes. Differential Revision: https://reviews.llvm.org/D114637
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions