Skip to content

x86: Increase inline arraycopy threshold - #7534

Merged
0xdaryl merged 1 commit into
eclipse-omr:masterfrom
a7ehuo:system-arraycopy-perf-27-threshold-64-128
Nov 13, 2024
Merged

x86: Increase inline arraycopy threshold#7534
0xdaryl merged 1 commit into
eclipse-omr:masterfrom
a7ehuo:system-arraycopy-perf-27-threshold-64-128

Conversation

@a7ehuo

@a7ehuo a7ehuo commented Nov 7, 2024

Copy link
Copy Markdown
Contributor

This commit increases arraycopyRepMovs*ArrayThreshold:

  • Byte and char arraycopy: from 32 bytes to 64 bytes
  • Int and long arraycopy: from 32 bytes to 64 bytes or 128 bytes if AVX-512 is supported

@a7ehuo

a7ehuo commented Nov 7, 2024

Copy link
Copy Markdown
Contributor Author

@0xdaryl May I ask you to review this change? Thank you!

@vijaysun-omr fyi

This commit increases arraycopyRepMovs*ArrayThreshold:
- Byte and char arraycopy: from 32 bytes to 64 bytes
- Int and long arraycopy: from 32 bytes to 64 bytes or
  128 bytes if AVX-512 is supported

Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
@a7ehuo
a7ehuo force-pushed the system-arraycopy-perf-27-threshold-64-128 branch from 917e57c to b56ee6a Compare November 7, 2024 13:23
@a7ehuo a7ehuo changed the title Increase inline arraycopy threshold x86: Increase inline arraycopy threshold Nov 7, 2024
@0xdaryl 0xdaryl self-assigned this Nov 13, 2024
@0xdaryl

0xdaryl commented Nov 13, 2024

Copy link
Copy Markdown
Contributor

Jenkins build all

@0xdaryl
0xdaryl merged commit e934391 into eclipse-omr:master Nov 13, 2024
a7ehuo pushed a commit to a7ehuo/omr that referenced this pull request Nov 28, 2024
…opy-perf-27-threshold-64-128"

This reverts commit e934391, reversing
changes made to 5ff6dd7.
a7ehuo pushed a commit to a7ehuo/omr that referenced this pull request Nov 28, 2024
…opy-perf-27-threshold-64-128"

This reverts commit e934391, reversing
changes made to 5ff6dd7.

This reduces the thresholds for arraycopy REP MOVS instructions
back to 32 bytes.
0xdaryl added a commit that referenced this pull request Dec 3, 2024
0xdaryl pushed a commit to 0xdaryl/omr that referenced this pull request Dec 19, 2024
…opy-perf-27-threshold-64-128"

This reverts commit e934391, reversing
changes made to 5ff6dd7.

This reduces the thresholds for arraycopy REP MOVS instructions
back to 32 bytes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants