Uh oh!
There was an error while loading. Please reload this page.
[Arm64/Unix] Use native memcpy/memmove for ARM64 as glibc 2.36 added optimizations - #93579
[Arm64/Unix] Use native memcpy/memmove for ARM64 as glibc 2.36 added optimizations#93579Spacefish wants to merge 1 commit into
Conversation
512 bytes threshold looks pretty low, does SVE give any advantage over the current implementation? Currently, we align data to 16 bytes boundary and then do copy using 64 bytes blocks (using two Pros:
Cons:
Related: #93214 |
MichalPetryka
commented
Oct 17, 2023
Is relying on something present only on such new distros a good idea? |
Oh i didn´t know that. Then my MR probably doesn´t make much sense, as it would lead to performance regressions on most distros out there currently. |
ghost
commented
Oct 17, 2023
Tagging subscribers to this area: @dotnet/area-system-buffers Issue DetailsThis commit: bminor/glibc@9f298bf added an optimized memcpy implementation for ARM64 which uses the SVE extensions to glibc 2.36 and newer. It is now used in some Linux Distributions like Debian 12 (bookworm), Ubuntu 23.04 or the upcoming Ubuntu 24.04 LTS in April 2024. see #8897
|
This commit: bminor/glibc@9f298bf added an optimized memcpy implementation for ARM64 which uses the SVE extensions to glibc 2.36 and newer.
It is now used in some Linux Distributions like Debian 12 (bookworm), Ubuntu 23.04 or the upcoming Ubuntu 24.04 LTS in April 2024.
see #8897