-
Notifications
You must be signed in to change notification settings - Fork 21
feat: use assembly implementation of add module #720
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
feat: use assembly implementation of add module #720
Conversation
This plugs in an assembly version of the add module into the shanghai and cancun forks. However, london and paris remain untouched since we must retain backwards compatibility with older versions of go-corset for the london fork in particular.
6ab1be2 to
db719d4
Compare
db719d4 to
5f4986d
Compare
|
Could you explain the output ? I'm confused about two things
|
|
@OlivierBBB No problem. The output is presented slightly differently from Corset lisp as it is the internal MIR representation. The Anyway, the above is equivalent to this Corset lisp: If you run this file through the following command then you should get what we had originally: If you want to see the raw constraints passed to the prover then use |
|
How is handled the padding ? I guess that now only conditional lookups will target ADD, so we don't need a row filled with 0's, that's why you can fill with any valid operation ? (I guess you fill with 0 + 0 = https://en.wikipedia.org/wiki/T%C3%AAte_%C3%A0_Toto ? ) |
|
Easy for now: |
Command to generate constraints (with nice formatting):
Generated constraints: