Replies: 1 comment
-
|
Stale issue message |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the flag representation in the cairo gate family uses one witness value per flag. Due to the low degrees of the constraint polynomials, it should be possible to reduce the number of witness values used by grouping the flags together.
For example,
Handily, it appears that this allows us to fit all of the values needed for 1 Cairo gate into a single double-width Kimchi gate witness. For example,
pcapfpoff_dstoff_op0off_op1flag_dst_op0flag_op1_srcflag_res_logicflag_pc_updateflag_ap_updateflag_opcodeimmediate = lookup_{pc+1}pc_nextap_nextfp_nextresop0_addrlookup_{op0_addr}op1_addrlookup_{op1_addr}dst_addrlookup_{dst_addr}op1_addr_auxlookup_{op1_addr_aux}Beta Was this translation helpful? Give feedback.
All reactions