-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86-64: Select REP MOVS instruction based on CPU for char arraycopy
Use `rep movsw` to copy multiple of 2 bytes for copy size greater than the threshold (32 bytes), which performs better than `rep movsd` for CascadeLake and later CPUs. Setting env variable `TR_UseREPMOVSWFor16BitPrimitiveArrayCopy` forces to use `rep movsw`. Setting env variable `TR_UseREPMOVSDFor16BitPrimitiveArrayCopy` forces to use `rep movsd`. Signed-off-by: Annabelle Huo <[email protected]>
- Loading branch information
Showing
1 changed file
with
178 additions
and
129 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