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

llvm: more tentatives at optimal field addition with pure LLVM IR #457

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mratsim
Copy link
Owner

@mratsim mratsim commented Aug 14, 2024

This PR has changes behind the code generator from #456 that triggered issues:

for Bigints of size 254/255 the LLVM IR has better worst case codegen than builtin llvm.usub.with.overflow (1~2 extra instructions instead of 33% extra instructions #357 (comment)) but for size 256 it degrades to 66% extra instructions.

@mratsim mratsim changed the title llvm: more tentative at optimal field addition with pure LLVM IR llvm: more tentatives at optimal field addition with pure LLVM IR Aug 14, 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.

1 participant