Skip to content

Tentative: Fp2 and towering optimizations#462

Draft
mratsim wants to merge 2 commits intomasterfrom
try-fp2-asm
Draft

Tentative: Fp2 and towering optimizations#462
mratsim wants to merge 2 commits intomasterfrom
try-fp2-asm

Conversation

@mratsim
Copy link
Owner

@mratsim mratsim commented Aug 22, 2024

Similar to elliptic curve in #446, towering has a perf discrepancy. Performance degrades compared to ideal given base field performance.

This is a (failed) tentative to address that. Unfortunately this simple approach doesn't change perf so a more radical approach might be needed (having full fixed assembly).

Still keeping the branch around as it has useful handlers for Nim vs C arrays differences that need to be accomodated in inline assembly.

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.

1 participant