-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
b256 using wide ops #5102
b256 using wide ops #5102
Conversation
2464990
to
8a991ca
Compare
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.
LGTM! Just a minor thing: let's add some const-eval tests for the b256
intrinsics to test/src/e2e_vm_tests/test_programs/should_pass/language/const_inits/src/main.sw
bb722ec
8c967dc
to
492e5d2
Compare
1db777f
to
78ed9f0
Compare
e2a6773
to
248b369
Compare
Following the explanation at #5121. My suggestion is to merge this PR with the register allocation changes. It solves the non-determinism and performance is on par with what we have previously. |
Description
This PR change
b256
bitwise operations implementation to use wide operators.It does not add any new functionality to
b256
.Other changes are related to
clippy
complaining about some clones.Checklist
Breaking*
orNew Feature
labels where relevant.