-
Notifications
You must be signed in to change notification settings - Fork 78
feat: add Zicfiss (shadow stack) CSR support #944
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
base: main
Are you sure you want to change the base?
feat: add Zicfiss (shadow stack) CSR support #944
Conversation
ThinkOpenly
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.
just nits. Thanks for your efforts!
ThinkOpenly
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.
I'm glad you like feedback, because I have a couple more nitpicks. :-)
|
The validation code seems to not like this combo: ...but I'm not smart enough to know how to resolve that. @dhower-qc ? |
This is just an unhandled case by the pretty printer; it doesn't know how to say that the location of Currently, it assumes that if the location changes, it's based on a particular mode (e.g., the CSR width is MXLEN or SXLEN). It needs to be extended to handle when length is XLEN. Fixed in commit aacade9 |
|
oops, pressed the wrong button |
|
Added the SSE field to the xenvcfg CSRs to fix CI failures caused by its absence. |
|
Do you also want to try to implement the shadow stack instructions (by filling out the You don't have to, but it might make sense since you already in here. |
I'll be happy doing this and open a separate PR for that if it's okay. |
Feel free to open a sub-issue for #560 (there's a "create sub-issue") button in the original text there, so we don't lose track. |
|
I think this PR is waiting on #891, right? Just adding this comment for context. |
Closes #560