Skip to content
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

riscv: Add the modesw.{cap,int} instructions #265

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

arichardson
Copy link
Member

This is needed in order to support a RISC-V standards-compatible subset of ISAv9. Code was taken from the CHERI-Alliance repository and adapted for the current dev branch (without support for the older 0.90 version of the standard).

It should be possible to optimize this instruction more without dropping out of the current TCG translation block, but that would require updating PCC's capmode flag lazily.

Co-authored-by: Paul Buxton [email protected]
Co-authored-by: Martin Kaiser [email protected]

@github-actions github-actions bot closed this Feb 5, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2025
@arichardson arichardson reopened this Feb 6, 2025
@arichardson
Copy link
Member Author

hmm looks like we need to delete https://github.com/CTSRD-CHERI/qemu/blob/qemu-cheri/.github/lockdown.yml

This is needed in order to support a RISC-V standards-compatible subset
of ISAv9. Code was taken from the CHERI-Alliance repository and adapted
for the current dev branch (without support for the older 0.90 version of
the standard

It should be possible to optimize this instruction more without dropping
out of the current TCG translation block, but that would require
updating PCC's capmode flag lazily.

Co-authored-by: Paul Buxton <[email protected]>
Co-authored-by: Martin Kaiser <[email protected]>
@arichardson
Copy link
Member Author

Not sure what is wrong with FreeBSD CI, but hopefully this is simple enough to merge?

Needed for CTSRD-CHERI/llvm-project#756 and CTSRD-CHERI/cheribsd#2317

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant