Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Brillig to be memory-only (no registers) #4158

Closed
Tracked by #4033
sirasistant opened this issue Jan 25, 2024 · 1 comment · Fixed by #4216
Closed
Tracked by #4033

Change Brillig to be memory-only (no registers) #4158

sirasistant opened this issue Jan 25, 2024 · 1 comment · Fixed by #4216
Assignees
Labels
brillig Unconstrained functions / brillig IR enhancement New feature or request

Comments

@sirasistant
Copy link
Contributor

sirasistant commented Jan 25, 2024

Brillig should only use memory. We can reserve a portion of memory for static addressing.

@sirasistant sirasistant mentioned this issue Jan 25, 2024
12 tasks
@sirasistant sirasistant added the enhancement New feature or request label Jan 25, 2024
@sirasistant sirasistant self-assigned this Jan 25, 2024
@sirasistant sirasistant added the brillig Unconstrained functions / brillig IR label Jan 25, 2024
sirasistant added a commit to AztecProtocol/aztec-packages that referenced this issue Jan 30, 2024
This PR adds:
 - Memory only brillig noir-lang/noir#4158
 - Calldata and returndata noir-lang/noir#4159

We reserve some memory slots at the start of the memory space. We
reserve 1024 items for the stack frame, the calldata size and the
returndata size.
AztecBot pushed a commit to AztecProtocol/barretenberg that referenced this issue Jan 31, 2024
This PR adds:
 - Memory only brillig noir-lang/noir#4158
 - Calldata and returndata noir-lang/noir#4159

We reserve some memory slots at the start of the memory space. We
reserve 1024 items for the stack frame, the calldata size and the
returndata size.
@sirasistant
Copy link
Contributor Author

Merged on aztec-packages, will come to the noir repo in #4216

@TomAFrench TomAFrench linked a pull request Feb 5, 2024 that will close this issue
michaelelliot pushed a commit to Swoir/noir_rs that referenced this issue Feb 28, 2024
This PR adds:
 - Memory only brillig noir-lang/noir#4158
 - Calldata and returndata noir-lang/noir#4159

We reserve some memory slots at the start of the memory space. We
reserve 1024 items for the stack frame, the calldata size and the
returndata size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brillig Unconstrained functions / brillig IR enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant