-
Notifications
You must be signed in to change notification settings - Fork 8
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
remove -lea #16
remove -lea #16
Conversation
Is the safety checker known to support loops whose induction variables go through |
I experimented with the safety checker with a small example that captures the loop pattern of the example, and it goes on forever (and with the addition, it is pretty fast). I will push a fix to that and benchmarking soon. Thanks for taking a look. |
it's OK on libjade: formosa-crypto/libjade@318662c
|
The way you show numbers is misleading. Previously you had:
Is it the same experiment as that?
|
I forgot to paste here the commit where those base numbers for the comparision come from: formosa-crypto/libjade@1b2fadc So, it's formosa-crypto/libjade@1b2fadc vs formosa-crypto/libjade@318662c To answer the question, no: cycles are lower (306666 vs 303882) because of #15 |
It might be the case that proofs go through without a change. Would you please rebase on latest master, commit the changes to the extracted code and launch a CI job? Thanks. |
thanks! |
The proposed changes improve performance and ensure compatibility with valgrind (by avoiding lea 16 bits).
i7 11700k, cpu cycles, reported: median of 3 x 10000 exec, tested in the context of libjade, commits where the benchmarks were performed:
For instance, keypair cycles go from ~356370 to ~306666
TODO I'm will be unable to fix the proofs. @vbgl ? @bacelar ? thanks!