-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Enhancement] Improve performance of
strings::memcpy_inlined
(#13330)
This PR is to improve memcpy to accelerate block cache: - use overlapped move to optimize the case when size <= 16 - use avx(256bit reg) move to optimize the case when size <= 256 - use erms(enhanced repeat movsb/stosb) to optimize the case when size in [512KB,2MB] - use unrolled avx(256bit reg) move to optimze the rest cases.
- Loading branch information
Showing
3 changed files
with
98 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters