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

Cortex-M7 Dilithium Part 1: Non-NTT functions #130

Merged
merged 8 commits into from
Dec 18, 2024
Merged

Conversation

mkannwischer
Copy link
Collaborator

Depends on #128 and #129

Hoists out the first set of Cortex-M7 optimizations from the armv7m branch. This PR only adds new examples - no changes to SLOTHY are made. I re-optimized all examples and made sure the performance matches those in the armv7m branch.

This PR adds:

  • pointwise_montgomery_dilithium
  • pointwise_acc_montgomery_dilithium
  • basemul_257_dilithium
  • basemul_257_asymmetric_dilithium
  • pointwise_769_dilithium
  • pointwise_769_asymmetric_dilithium
  • reduce32_dilithium
  • caddq_dilithium

@mkannwischer mkannwischer force-pushed the dilithium-m7 branch 3 times, most recently from 880d2a8 to 661470a Compare December 18, 2024 10:55
Copy link
Collaborator

@dop-amin dop-amin left a comment

Choose a reason for hiding this comment

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

Tested all optimized code, everything works fine.
Also re-optimizing succeeded with no errors.

@mkannwischer mkannwischer merged commit 601e6a9 into main Dec 18, 2024
13 checks passed
@mkannwischer mkannwischer deleted the dilithium-m7 branch December 18, 2024 13:25
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