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

Strengthen bir_post_bir_to_arch #202

Merged
merged 2 commits into from
Feb 21, 2025
Merged

Strengthen bir_post_bir_to_arch #202

merged 2 commits into from
Feb 21, 2025

Conversation

palmskog
Copy link
Collaborator

@palmskog palmskog commented Feb 20, 2025

I had to strengthen bir_post_bir_to_<arch> again to do the connection between arch PC and BIR PC. This is the theorem needed for the isqrt example:

Theorem riscv_bmr_bpc_label_c_PC_BST_Running:
!b f b1 ms w.
 bmr_rel riscv_bmr (bir_state_t b (BEnv f) BST_Running) ms /\
 b.bpc_label = BL_Address (Imm64 w) ==>
 ms.c_PC ms.procID = w

Copy link
Member

@didriklundberg didriklundberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable.

@palmskog palmskog merged commit 53068e9 into master Feb 21, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants