Skip to content

Conversation

@OlivierBBB
Copy link
Collaborator

@OlivierBBB OlivierBBB commented Oct 23, 2025

Note

Increase MODEXP micro-row totals to 64 and use the EIP-7823 upper byte-size bound in MODEXP_DATA preprocessing, updating TOT/TOTNT handling.

  • MMU Constants:
    • Increase NB_MICRO_ROWS_TOT_MODEXP_ZERO and NB_MICRO_ROWS_TOT_MODEXP_DATA from 32 to 64 in mmu/osaka/constants.lisp.
  • MODEXP_DATA preprocessing (mmu/osaka/instructions/modexp_data.lisp):
    • Compute left padding with EIP_7823_MODEXP_UPPER_BYTE_SIZE_BOUND instead of hardcoded 512.
    • Use NB_MICRO_ROWS_TOT_MODEXP_DATA when computing TOTNT (replaces hardcoded value) and rename the TOT-setting constraint for clarity.
  • MODEXP_ZERO (mmu/osaka/instructions/modexp_zero.lisp):
    • Keep TOTNT tied to NB_MICRO_ROWS_TOT_MODEXP_ZERO (no logic change).

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

@OlivierBBB OlivierBBB self-assigned this Oct 23, 2025
@OlivierBBB OlivierBBB merged commit c483d9e into master Nov 7, 2025
8 checks passed
@OlivierBBB OlivierBBB deleted the EIP-7823-set-upper-bounds-for-MODEXP---MMU-side branch November 7, 2025 13:30
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.

2 participants