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

Simplify Naive Examples #156

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

dop-amin
Copy link
Collaborator

The aim of this PR is to provide simplifications to a number of naive examples, which we modified in the past compared to the original code from pqm4.
The reason for these modifications were mostly shortcomings of slothy that are removed by now.

* This commit simplifies the kyber basemul naive implementations to revert modifications to the code originally taken from pqm4 that were only introduced to accomodate for shortcomings of slothy's abilities.
* This commit simplifies the Dilithium iNTT naive implementations to revert modifications to the code originally taken from pqm4 that were only introduced to accomodate for shortcomings of slothy's abilities.
* We can also enable the fixup in more cases due to switching of the loop-type + using `before` tag which is done here, too. This aids with performance.
@dop-amin dop-amin marked this pull request as ready for review January 13, 2025 09:15
@mkannwischer mkannwischer merged commit 9ff2713 into slothy-optimizer:main Jan 13, 2025
13 checks passed
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