-
Notifications
You must be signed in to change notification settings - Fork 188
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
When dynamic linking, R15 may be clobbered by a global variable access #113
Labels
bug
Something isn't working
Comments
gbotrel
added a commit
that referenced
this issue
Dec 14, 2021
gbotrel
added a commit
that referenced
this issue
Dec 14, 2021
fix: remove use of R15 for small moduli mul #113
The issue seems to be back
|
@gbotrel ^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also #112 .
Can reproduce on x86 machine with
For small moduli (<= 5 words) we can avoid the use of R15 register, a fix will be pushed in the code generator.
For larger moduli:
however, for large moduli, this impact performance. Tracking the issue here, one option would be to use build tags for dynamic linking and a slower path.
The text was updated successfully, but these errors were encountered: