-
Notifications
You must be signed in to change notification settings - Fork 39
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
[SOL] Change encoding of callx
instruction
#78
[SOL] Change encoding of callx
instruction
#78
Conversation
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, but it's still a Draft. Are planning more changes in this PR?
I tested this change against the programs in I'm waiting to merge #77 so that I can rebase this PR and fix the conflicts before the review. |
I converted to a draft because I wanted to test it with real programs first. I also noticed I got the encoding wrong 😅 |
LGTM, please feel free to merge when the CI is done. |
Merging is blocked without an approval. |
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.
Sorry, forget to approve.
5502543
into
anza-xyz:solana-rustc/16.0-2023-06-05
* Change encoding of callx instruction
* Change encoding of callx instruction
* Change encoding of callx instruction
* Change encoding of callx instruction
This PR is one of the tasks in solana-labs/solana#34250 to update the SBF target with the new instructions. Especially, this modification is the equivalent of solana-labs/rbpf#491 in LLVM, changing the encoding of the
callx
instruction.There was a small refactoring in the table gen files to encompass a new
SubtargetFeature
. AsFeatureCallxRegSrc
was required both inSBF.td
and inSBFInstrInfo.td
, I put all the feature in a new file to avoid a circular dependency.