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

Make MOPS tests tolerant of implementation options. #124

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

jacobbramley
Copy link
Collaborator

Most MOPS sequences implement one of options "A" or "B", with slightly different flags in each case. Some cpy sequences also permit either forward or backward iteration, with different register results.

This relies on a new overloaded form of Equal64 that checks that a register matches any one of the listed reference values.

In addition, renumber registers to avoid the use of x16 in a couple of tests, because this is a MacroAssembler scratch register and could cause issues in the future.

Most MOPS sequences implement one of options "A" or "B", with slightly
different flags in each case. Some `cpy` sequences also permit either
forward or backward iteration, with different register results.

This relies on a new overloaded form of `Equal64` that checks that a
register matches any one of the listed reference values.

In addition, renumber registers to avoid the use of `x16` in a couple of
tests, because this is a MacroAssembler scratch register and could cause
issues in the future.
@jacobbramley jacobbramley merged commit aca39bd into Linaro:main Jan 23, 2025
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