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

sha/asm/keccak1600-ppc64.pl: Load data in 8 byte chunks on little endian #8455

Closed
wants to merge 1 commit into from

Conversation

antonblanchard
Copy link
Contributor

We currently load data byte by byte in order to byteswap it on big
endian. On little endian we can just do 8 byte loads.

A SHAKE128 benchmark runs 10% faster on POWER9 with this patch applied.

@openssl-machine openssl-machine added the hold: cla required The contributor needs to submit a license agreement label Mar 12, 2019
We currently load data byte by byte in order to byteswap it on big
endian. On little endian we can just do 8 byte loads.

A SHAKE128 benchmark runs 10% faster on POWER9 with this patch applied.
@openssl-machine openssl-machine removed the hold: cla required The contributor needs to submit a license agreement label Apr 2, 2019
@t8m t8m added branch: master Merge to master branch triaged: feature The issue/pr requests/adds a feature labels Jul 23, 2021
@t8m t8m added this to the Post 3.0.0 milestone Jul 23, 2021
@t8m t8m closed this Jul 23, 2021
@t8m t8m reopened this Jul 23, 2021
@t8m t8m added the approval: review pending This pull request needs review by a committer label Jul 23, 2021
@github-actions github-actions bot added the severity: fips change The pull request changes FIPS provider sources label Jul 23, 2021
@paulidale paulidale added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Jul 24, 2021
@openssl-machine openssl-machine removed the approval: done This pull request has the required number of approvals label Jul 25, 2021
@openssl-machine
Copy link
Collaborator

This pull request is ready to merge

@openssl-machine openssl-machine added the approval: ready to merge The 24 hour grace period has passed, ready to merge label Jul 25, 2021
@t8m t8m added the hold: merge after release This pull request must not be merged until after the release from the merge branch is done label Aug 2, 2021
@t8m t8m removed the hold: merge after release This pull request must not be merged until after the release from the merge branch is done label Nov 11, 2021
openssl-machine pushed a commit that referenced this pull request Nov 11, 2021
We currently load data byte by byte in order to byteswap it on big
endian. On little endian we can just do 8 byte loads.

A SHAKE128 benchmark runs 10% faster on POWER9 with this patch applied.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #8455)
@t8m
Copy link
Member

t8m commented Nov 11, 2021

Merged to master branch, finally. Thank you for the contribution!

@t8m t8m closed this Nov 11, 2021
t8m pushed a commit to t8m/openssl that referenced this pull request Nov 2, 2022
We currently load data byte by byte in order to byteswap it on big
endian. On little endian we can just do 8 byte loads.

A SHAKE128 benchmark runs 10% faster on POWER9 with this patch applied.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from openssl#8455)

(cherry picked from commit 8f9842f)
openssl-machine pushed a commit that referenced this pull request Nov 9, 2022
We currently load data byte by byte in order to byteswap it on big
endian. On little endian we can just do 8 byte loads.

A SHAKE128 benchmark runs 10% faster on POWER9 with this patch applied.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #8455)

(cherry picked from commit 8f9842f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Merge to master branch severity: fips change The pull request changes FIPS provider sources triaged: feature The issue/pr requests/adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants