Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AArch64: Accelerate CRC-32 calculation #16583

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

Akira1Saitoh
Copy link
Contributor

@Akira1Saitoh Akira1Saitoh commented Jan 20, 2023

Accelerate CRC32.update, CRC32.updateBytes and CRC32.updateByteBuffers recognized methods in addition to CRC32C methods.
This acceleration shows ~6.5x speedup compared to the existing implementation using zlib on Linux. However, the zlib implementation is faster on Apple Silicon Mac as described in #16584. Thus, this acceleration is disabled on Mac.

Signed-off-by: Akira Saitoh saiaki@jp.ibm.com

Accelerate CRC32.update,  CRC32.updateBytes and CRC32.updateByteBuffers
recognized methods in addition to CRC32C methods.

Signed-off-by: Akira Saitoh <saiaki@jp.ibm.com>
@knn-k
Copy link
Contributor

knn-k commented Jan 25, 2023

Jenkins test sanity alinux64,amac jdk17

@knn-k knn-k self-assigned this Jan 25, 2023
@knn-k
Copy link
Contributor

knn-k commented Jan 25, 2023

Openjdk tests with this PR on Linux and macOS were successful. Merging.

@knn-k knn-k merged commit bc1ad3c into eclipse-openj9:master Jan 25, 2023
@Akira1Saitoh Akira1Saitoh deleted the aarch64CRC2 branch January 25, 2023 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants