-
Notifications
You must be signed in to change notification settings - Fork 43
refactor signed imm to support limb based constraints BabyBear #1008
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
Merged
Merged
Changes from 42 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
e5389e7
fix mockprover error
hero78119 1359174
ci mock proving to debug build
hero78119 7e7ee26
better coding style
hero78119 d2d8031
wip
hero78119 cae1b09
complete v2 circuit
hero78119 6dea5b7
branch v2 witness assignment
hero78119 85699f3
all test pass
hero78119 9f5408c
slt/sltu with limb style circuit
hero78119 6a44ba3
add ci steps
hero78119 f72ffb6
update comments
hero78119 6ba167b
wip
hero78119 14c5c39
finish slti/sltiu logic
3140652
finish addi logic
01d31d6
skip imm_sign range check
79a8379
branch imm could be 1 limb
64c291a
addi test pass
hero78119 a35031b
slti(u) test pass
hero78119 9754a6a
refactor slti(u) properly
hero78119 e708e6e
fix clippy
hero78119 eb4b9a7
combine imm_internal + i64_base into one
hero78119 8cb9a85
reformat code
hero78119 caf4e27
fix clippy
hero78119 f947856
bge/blt test pass
hero78119 ea6a827
logic imm test pass
hero78119 926da60
Merge branch 'master' of github.com:scroll-tech/ceno into feat/imm
hero78119 58a44df
code cosmetics
hero78119 00affa7
refactor memory opcode for migration
hero78119 b1b1cdd
all load/store test pass
hero78119 19be4cf
make JALR as TODO
hero78119 f03c6f1
fix clippy
hero78119 a84dc91
clean up jalr code
hero78119 7727945
Merge branch 'feat/fix_mock_prover_error' into feat/imm
hero78119 46c32cb
refactor arith_imm
hero78119 c5aa5d1
merge with master
hero78119 c39e3ae
wip
3853078
migrated lui and test pass
hero78119 4c38c38
add auipc
hero78119 635c424
auipc test pass
hero78119 b3876d2
all test pass
hero78119 0c24370
merge with master
hero78119 6ef6c78
format fix
hero78119 155987f
format fix
hero78119 d1a6040
babybear test for addi/logici
hero78119 d03866b
merge with master
hero78119 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,3 +30,4 @@ tracing.workspace = true | |
| [features] | ||
| default = ["forbid_overflow"] | ||
| forbid_overflow = [] | ||
| u16limb_circuit = [] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
emulator also need this feature to interpret auipc/lui as new chip or with addi