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

Register bug fixes #363

Merged
merged 3 commits into from
Dec 19, 2023
Merged

Register bug fixes #363

merged 3 commits into from
Dec 19, 2023

Conversation

jj16791
Copy link
Contributor

@jj16791 jj16791 commented Dec 16, 2023

Within this PR, various identified bugs in dev are resolved. These include:

  • A fix for the AArch64 ST1W instruction when the first operand is of form za.d. The existing sve_merge_store_data assumed the vector and memory elements were the same width which is false. sve_merge_store_data now takes a secondary typename to describe the width of the memory elements.
  • It was possible for a test to fail as the process memory wasn't being cleared between RUN calls in the regression test suite. The process memory is now zeroed out before populating it.
  • The new Alias NYI exceptions did not consider that their non-renamed operands could be rewound if the instruction was fetched on an incorrectly speculated path and reserved an ROB entry. The Register struct now has an extra boolean attribute to describe whether its been generated as part of a renaming scheme. Only those registers with this attribute set to true will be rewound when the ROB is flushed.

Resolves #360, resolves #361, resolves #362

dANW34V3R
dANW34V3R previously approved these changes Dec 18, 2023
Copy link
Contributor

@dANW34V3R dANW34V3R left a comment

Choose a reason for hiding this comment

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

Good find, simple fix and well documented

JosephMoore25
JosephMoore25 previously approved these changes Dec 18, 2023
Copy link
Contributor

@JosephMoore25 JosephMoore25 left a comment

Choose a reason for hiding this comment

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

Clear fixes, well commented, and looks good to be merged

@jj16791 jj16791 dismissed stale reviews from JosephMoore25 and dANW34V3R via 2c08dea December 19, 2023 10:53
@jj16791
Copy link
Contributor Author

jj16791 commented Dec 19, 2023

#rerun tests

@jj16791 jj16791 merged commit dbe3952 into dev Dec 19, 2023
@jj16791 jj16791 deleted the register-bug-fixes branch December 19, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.9.6 Part of SimEng Release 0.9.6 bug Something isn't working tests Testing and CI
Projects
Archived in project
4 participants