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

Profiles for tuples #33

Open
francislaus opened this issue Apr 25, 2024 · 0 comments
Open

Profiles for tuples #33

francislaus opened this issue Apr 25, 2024 · 0 comments

Comments

@francislaus
Copy link
Collaborator

This is the result of a bunch of issues I ran into and then discussed with @PeterRugg.

When comparing two implementations, they do not necessarily need to agree on all RVFI fields. For example, an out-of-order core might likely not report values for the source registers because they are not present at the reporting stage. While it is possible to forward the values to the reporting stage, this is an artificial overhead that is quite unnatural in the core development.

An equal issue arises with misaligned memory accesses. Some implementations only support misaligned accesses, whereas others do not.

In order to avoid useless and confusing failures, we propose creating profiles for implementations. Depending on the profiles, QuickCheck and the implementations are instantiated such that useful testing mechanism for a tuple of implementations is conducted.

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

No branches or pull requests

1 participant