-
Notifications
You must be signed in to change notification settings - Fork 79
feat(data): Add a few missing pseudoinstructions #717
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
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.
I don't think the pseudoinstructions to should be the assembly representation. Likely, the pseudoinstructions need a re-structure that allows that represenation, but for now I don't think we should place that information in a field that is not meant to accomodate it
AFOliveira
left a comment
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.
Other than the two whitespaces, I think all looks good!
Also fix a few places where integer registers were still being referred to as `r` instead of `x`. Also, fix a few operand specifications `csrrci` and `csrrsi` take "xd, csr, imm" not "rd, imm, rs1").
"zero" is not a constant in IDL. Also, add a comment to "fence" pseudoinstruction, since it maps to "fence" instruction with "iorw,iorw" operands.
AFOliveira
left a comment
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!
No description provided.