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

gen-matrix: clearer loop condition #19

Merged
merged 1 commit into from
Feb 8, 2024
Merged

Conversation

vbgl
Copy link
Contributor

@vbgl vbgl commented Feb 8, 2024

Clearer code, simpler proof, and better performances.

@vbgl vbgl requested review from tfaoliveira and bgregoir February 8, 2024 10:02
@vbgl
Copy link
Contributor Author

vbgl commented Feb 8, 2024

tfaoliveira added a commit to formosa-crypto/libjade that referenced this pull request Feb 8, 2024
Copy link
Member

@tfaoliveira tfaoliveira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before (replace lea by add) formosa-crypto/libjade@318662c

                ref/    avx2/
keypair       , 304170, 87756
enc           , 355714, 85380
dec           , 427134, 86070

after (gen matrix) formosa-crypto/libjade@a5aeef9

                ref/    avx2/
keypair       , 302388, 85370
enc           , 353214, 82948
dec           , 425202, 84056

code looks good, performance is improved in i7 11700K.

@vbgl vbgl merged commit adc7bf1 into formosa-crypto:master Feb 8, 2024
2 checks passed
@vbgl vbgl deleted the splitwhile branch February 8, 2024 13:33
@vbgl
Copy link
Contributor Author

vbgl commented Feb 8, 2024

Thanks for confirming the performance improvement.

Rixxc pushed a commit to formosa-crypto/libjade that referenced this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants