Implement mixed-size access in UM promising model#98
Merged
Conversation
2ecafff to
34623fa
Compare
tperami
requested changes
Apr 8, 2026
Collaborator
tperami
left a comment
There was a problem hiding this comment.
This is good work! There are still some kinks to iron out both in the fiddly part of the mixed-semantics and in general organization, but I think this is close to being mergeable
34623fa to
19bd9df
Compare
febyeji
commented
Apr 9, 2026
c04210d to
9bdc500
Compare
62311f0 to
91ed896
Compare
tperami
requested changes
May 6, 2026
Collaborator
tperami
left a comment
There was a problem hiding this comment.
Some nit-picks, and the main semantic of read_mem is still wrong (but it's really tricky)
91ed896 to
e292c62
Compare
tperami
reviewed
May 11, 2026
Collaborator
tperami
left a comment
There was a problem hiding this comment.
The main logic for mix-sized accesses is correct,
All those comments are more about cleanup/simplification/comment improvements except for a minor one in the exclusives semantics
- Msg.t: dependent record with `val : bv (8 * size)` so all messages share one list - Multi-byte reads: single observation point per load - Exclusive monitor: stores LDXR addr/size, mismatch is non-deterministic (ARM ARM B2.12) - CBitvector: vm_compute-friendly bv_eq_dec/countable/finite replacing stdpp's opaque versions - GenPromising: mEvent_eqb / remove_dups_by to bypass eq_dec blocking under vm_compute
e292c62 to
20d4b47
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Msg.tis now a dependent record withval : bv (8 * size)so all messages live in one list