[libc-commits] [libc] [libc][SVE] add sve handling for memcpy with count less than 32b (PR #167446)

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Tue Dec 9 13:52:33 PST 2025


gchatelet wrote:

> I wonder if there is any update on this?

Yes, the patch seems promising but we need to run more experiments internally.
Several things I noticed:

- It is beneficial to have an early exit for `size == 0`, this prevents running through the two predicated loads/stores,
- It is also beneficial to have a path for `size <= 16` that uses a single predicated load / store.

I'll report back ASAP.

https://github.com/llvm/llvm-project/pull/167446


More information about the libc-commits mailing list