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

cheriot_instr_auipcc_cross impossibilities #66

Open
nwf opened this issue Jan 17, 2025 · 1 comment
Open

cheriot_instr_auipcc_cross impossibilities #66

nwf opened this issue Jan 17, 2025 · 1 comment

Comments

@nwf
Copy link
Contributor

nwf commented Jan 17, 2025

@kliuMsft and I spent a while looking and eventually remembered that the cp_cd_pcc_repr_cases component of this cross product is describing whether the result is in bounds of PCC.

This implies that, for any PCC with exponent zero, any non-zero auipcc immediate will always produce a result in cd that is out of bounds (case2 of cp_cd_pcc_repr_cases) and so there needs to be some exclusion from the cross-product here.

@nwf
Copy link
Contributor Author

nwf commented Jan 17, 2025

Similar observations will hold for cp_cd_cs1_repr_cases / cp_cs1_exp / cp_cheri_imm20 for cheriot_instr_auicgp_cross. A subset will also hold for cheriot_instr_cincaddrimm_cross, I think?

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

No branches or pull requests

1 participant