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

feat: exit code #750

Merged
merged 35 commits into from
May 20, 2024
Merged

feat: exit code #750

merged 35 commits into from
May 20, 2024

Conversation

kevjue
Copy link
Contributor

@kevjue kevjue commented May 16, 2024

No description provided.

@kevjue kevjue changed the base branch from main to dev May 16, 2024 23:00
@kevjue kevjue force-pushed the kevjue/exit_code branch from 900236a to 825c48f Compare May 16, 2024 23:27
@kevjue kevjue changed the base branch from dev to kevjue/recursion_public_values May 17, 2024 00:49
@kevjue kevjue marked this pull request as ready for review May 17, 2024 01:06
@@ -181,6 +182,11 @@ impl CpuChip {
.assert_zero(next.is_real);

builder.when(is_halt.clone()).assert_zero(local.next_pc);

builder.when(is_halt.clone()).assert_eq(
local.op_a_access.prev_value().reduce::<AB>(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this prev_value?

{
let is_system_instruction = self.is_system_instruction::<AB>(local);

// Verify that the last real row is either TRAP or HALT.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follow comment standard

Base automatically changed from kevjue/recursion_public_values to dev May 18, 2024 01:30
@kevjue kevjue added this pull request to the merge queue May 20, 2024
Merged via the queue into dev with commit 58ab969 May 20, 2024
5 checks passed
@kevjue kevjue deleted the kevjue/exit_code branch May 20, 2024 00:06
@kevjue kevjue restored the kevjue/exit_code branch May 20, 2024 01:24
erabinov added a commit that referenced this pull request May 24, 2024
Co-authored-by: John Guibas <[email protected]>
Co-authored-by: Tamir Hemo <[email protected]>
Co-authored-by: Ubuntu <[email protected]>
Co-authored-by: Tarik Moon <[email protected]>
Co-authored-by: Matthias Görgens <[email protected]>
Co-authored-by: Eugene Rabinovich <[email protected]>
Co-authored-by: Chris Tian <[email protected]>
@jtguibas jtguibas deleted the kevjue/exit_code branch August 20, 2024 01:44
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.

3 participants