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

Improve debuggability of selftest, expand AArch64 model #126

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Conversation

hanno-becker
Copy link
Collaborator

This commit improves debuggability of the selftest by printing the input code, output code, and output registers in case of memory or register mismatch.


This commit adds the parent class

  • VShiftImmediateBasic

for the instructions ushr and shl, and

  • VShiftImmediateRounding

for the instruction srshr.

It also adds a new instruction sshr to the VShiftImmediateBasic
category, and urshr to VShiftImmediateComplex.

The motivation for those categories is that they feature in Arm's SWOGs:
Most CPUs seem to have the same instruction characteristics for all of
them, so having a parent class helps modelling.

This commit improves debuggability of the selftest by printing
the input code, output code, and output registers in case of
memory or register mismatch.

Signed-off-by: Hanno Becker <[email protected]>
@hanno-becker hanno-becker force-pushed the minor branch 2 times, most recently from 285cb27 to 7ef492e Compare December 17, 2024 06:24
This commit adds the parent class

- VShiftImmediateBasic

for the instructions `ushr` and `shl`, and

- VShiftImmediateRounding

for the instruction `srshr`.

It also adds a new instruction `sshr` to the `VShiftImmediateBasic`
category, and `urshr` to `VShiftImmediateComplex`.

The motivation for those categories is that they feature in Arm's SWOGs:
Most CPUs seem to have the same instruction characteristics for all of
them, so having a parent class helps modelling.
@hanno-becker hanno-becker merged commit cbd97a1 into main Dec 17, 2024
13 checks passed
@hanno-becker hanno-becker deleted the minor branch December 17, 2024 10:04
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.

1 participant