Re:Optimising Memset and Memcpy
by jeffbee on Sunday November 28, 2021 @12:59PM
(#29371128)
People will tend to focus on the micro-structure of the assembly programs but the takeaway I get from this and recent related work in LLVM is avoiding the PLT is good for an easy 20% win for small sizes, which tend to be the common case. I like the new LLVM memcpy that is just plain C++, and easy to read and understand.
https://github.com/llvm/llvm-project/blob/main/libc/src/stri...