Skip to content

FP is part of the execution state, alongside PC.#3776

Draft
lvella wants to merge 4 commits into
mainfrom
first-class-fp
Draft

FP is part of the execution state, alongside PC.#3776
lvella wants to merge 4 commits into
mainfrom
first-class-fp

Conversation

@lvella

@lvella lvella commented Jun 29, 2026

Copy link
Copy Markdown
Member

No description provided.

lvella and others added 2 commits June 29, 2026 19:31
powdr-openvm relies on the forked openvm where `fp` is a first-class
ExecutionState field (VmStateMut/PhantomSubExecutor carry `fp`). Move the
openvm git dependencies from tag v2.0.0-beta.2-powdr.1 to branch
first-class-fp so the patched powdr sources compile against the fork and
consumers don't pull two conflicting copies of openvm-circuit-primitives.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
lvella and others added 2 commits July 2, 2026 13:22
OpenVM's execution state no longer has a dedicated `fp` field; the frame
pointer is carried in `extra_regs[0]` (see openvm `EXTRA_EXEC_REGS`).

- powdr_extension executor: destructure/reconstruct `VmStateMut` with
  `extra_regs` instead of `fp`.
- hints-circuit phantom sub-executors: `phantom_execute` takes
  `extra_regs: [u32; EXTRA_EXEC_REGS]` instead of `fp: u32`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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