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

Validate: update ArchRegState only when commit or event #488

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

klin02
Copy link
Member

@klin02 klin02 commented Oct 28, 2024

When Squash enabled, previous squashed instrCommit may be submitted with new-coming updated ArchRegState, which results in reg mismatch with REF.

In difftest software side, we will only use ArchRegState when instrCommit or event (progress = true in code), so we add updateDependency for ArchRegState to ensure using corresponding ones with squashed commits, just like we add for CSR before.

When Squash enabled, previous squashed instrCommit may be submitted
with new-coming updated ArchRegState, which results in reg mismatch
with REF.

In difftest software side, we will only use ArchRegState when
instrCommit or event (progress = true in code), so we add
updateDependency for ArchRegState to ensure using corresponding ones
with squashed commits, just like we add for CSR before.
@klin02
Copy link
Member Author

klin02 commented Oct 30, 2024

Tested on XiangShan. It works well and fix previous squash-mismatch in some rvv-tests.

@klin02 klin02 merged commit 85823eb into master Oct 30, 2024
5 checks passed
@klin02 klin02 deleted the fix-squash-vecreg branch October 30, 2024 05:33
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