-
Notifications
You must be signed in to change notification settings - Fork 125
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
Support complex initial register state in prover backends #981
Comments
bacam
added a commit
to bacam/sail
that referenced
this issue
Feb 12, 2025
…alues are not possible See rems-project#981.
bacam
added a commit
to bacam/sail
that referenced
this issue
Feb 12, 2025
Intended to be temporary, see rems-project#981.
See #1090, which adds a new function for initialisation for Coq. I might need to tweak it a bit to allow the use of earlier registers. |
A test for register initialisation order:
We'll probably ban expressions with effects in register initialisers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The RISC-V specification now has complex initialisers for some registers, e.g.,
menvcfg
depends on whether certain extensions are enabled, which are decided by built-in functions. We should perhaps also allow initialisers that refers to registers declared earlier, although I don't know if anyone wants to use that. At the moment the Lem backend tries to obtain concrete values which doesn't work, and I need to check the Coq backend's behaviour.The text was updated successfully, but these errors were encountered: