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

CJALR unrepresentability #27

Open
PeterRugg opened this issue May 21, 2021 · 1 comment
Open

CJALR unrepresentability #27

PeterRugg opened this issue May 21, 2021 · 1 comment

Comments

@PeterRugg
Copy link
Collaborator

As reported by Dapeng Gao:

In the Sail specification of CJALR, the link address is computed using setAddr, but in Flute, it is done by incrementing the offset of rg_pcc, which involves the fast representability check.

@PeterRugg
Copy link
Collaborator Author

I would have suspected that the link address would always have to be in bounds, since otherwise the instruction doesn't link. In-bounds capabilities shouldn't have a risk of being unrepresentable, I believe (even adding +4 to move onto the next instruction). If any of these assumptions aren't true then that would be concerning!

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