Skip to content

Commit

Permalink
feat(avm): brillig CONST of size > u128 (AztecProtocol/aztec-packages…
Browse files Browse the repository at this point in the history
…#5217)

The AVM cannot support setting constants of field size (because the whole instruction has to fit in a field). To align Brillig with AVM bytecode, I'm changing bytecode emission for the case where the constant is > 128 bits.

The current change splits the field into two 128bit limbs, and then multiplies and adds.
  • Loading branch information
AztecBot committed Mar 15, 2024
1 parent d4213a0 commit 2a7ea58
Show file tree
Hide file tree
Showing 39 changed files with 565 additions and 801 deletions.
2 changes: 1 addition & 1 deletion .aztec-sync-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aa90f6ed7bfae06bdf6990816d154bbd24993689
2e634796d5d0f77242c6196cab05e9d386d03705
Loading

0 comments on commit 2a7ea58

Please sign in to comment.