Skip to content

Conversation

@OlivierBBB
Copy link
Collaborator

@OlivierBBB OlivierBBB commented Oct 23, 2025

Note

Adds EIP-7823 MODEXP upper-byte-size bound and updates MODEXP MMU preprocessing to use it, increasing MODEXP micro row totals to 64.

  • Constants:
    • Add EIP_7823_MODEXP_UPPER_BYTE_SIZE_BOUND = 1024 in constants/constants.lisp.
    • Increase NB_MICRO_ROWS_TOT_MODEXP_ZERO and NB_MICRO_ROWS_TOT_MODEXP_DATA to 64 in mmu/osaka/constants.lisp.
  • MMU MODEXP_DATA (mmu/osaka/instructions/modexp_data.lisp):
    • Use EIP_7823_MODEXP_UPPER_BYTE_SIZE_BOUND for left-padding instead of hardcoded 512.
    • Set TOT to NB_MICRO_ROWS_TOT_MODEXP_DATA; compute TOTNT as NB_MICRO_ROWS_TOT_MODEXP_DATA - (TOTLZ + TOTRZ).
    • Minor renaming/clarification of preprocessing constraint headings.

Written by Cursor Bugbot for commit 1482142. This will update automatically on new commits. Configure here.

@OlivierBBB OlivierBBB self-assigned this Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant