-
Notifications
You must be signed in to change notification settings - Fork 207
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: Sync from aztec-packages #4811
Commits on Apr 16, 2024
-
feat(acir)!: BrilligCall opcode (AztecProtocol/aztec-packages#5709)
This starts work towards #3907 but is only the breaking serialization change. Codegen and evaluation will come in a follow-up. This PR is purely additive and does not remove the current way we do Brillig gen during ACIR gen. Codegen for normal Brillig functions is working in my follow-up, however, removing the existing Brillig opcode will most likely have to come once we settle on how to [handle the brillig std lib](noir-lang/acvm#471) as we are currently generating code such as calculating a quotient during ACIR gen. --------- Co-authored-by: Tom French <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8222fc8 - Browse repository at this point
Copy the full SHA 8222fc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b3b450 - Browse repository at this point
Copy the full SHA 9b3b450View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffdc1b4 - Browse repository at this point
Copy the full SHA ffdc1b4View commit details -
feat!: trap with revert data (AztecProtocol/aztec-packages#5732)
This PR adds revert data for user-defined messages in the TRAP opcode. Not all messages are returned as revert data, since compiler intrinsic messages are spammed all over SSA and codegening revert data for all those makes brillig function size blow up and impacts performance in a hard way due to deserializing load. This is currently only for static assert messages, since dynamic ones are implemented as an oracle and probably need a rework to be able to return them as revert data. --------- Co-authored-by: Maxim Vezenov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4553d76 - Browse repository at this point
Copy the full SHA 4553d76View commit details -
feat!: trap with revert data (AztecProtocol/aztec-packages#5732)
This PR adds revert data for user-defined messages in the TRAP opcode. Not all messages are returned as revert data, since compiler intrinsic messages are spammed all over SSA and codegening revert data for all those makes brillig function size blow up and impacts performance in a hard way due to deserializing load. This is currently only for static assert messages, since dynamic ones are implemented as an oracle and probably need a rework to be able to return them as revert data. --------- Co-authored-by: Maxim Vezenov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2994743 - Browse repository at this point
Copy the full SHA 2994743View commit details -
feat!: Use fixed size arrays in black box functions where sizes are k…
…nown (AztecProtocol/aztec-packages#5620) This PR enforces the sizes of inputs/outputs of blackbox functions to remove some runtime checks and allocations. --------- Co-authored-by: guipublic <[email protected]> Co-authored-by: vezenovm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c8d1bf - Browse repository at this point
Copy the full SHA 1c8d1bfView commit details -
feat!: Use fixed size arrays in black box functions where sizes are k…
…nown (AztecProtocol/aztec-packages#5620) This PR enforces the sizes of inputs/outputs of blackbox functions to remove some runtime checks and allocations. --------- Co-authored-by: guipublic <[email protected]> Co-authored-by: vezenovm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b34821 - Browse repository at this point
Copy the full SHA 0b34821View commit details -
feat!: change backend width to 4 (AztecProtocol/aztec-packages#5374)
This is a breaking change because it will change the acir opcode compiled by Noir. If they are not updated, proving and verification will fail. --------- Co-authored-by: Tom French <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8165f0a - Browse repository at this point
Copy the full SHA 8165f0aView commit details -
feat!: change backend width to 4 (AztecProtocol/aztec-packages#5374)
This is a breaking change because it will change the acir opcode compiled by Noir. If they are not updated, proving and verification will fail. --------- Co-authored-by: Tom French <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2dda011 - Browse repository at this point
Copy the full SHA 2dda011View commit details