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

[RTGTest] Add a few instructions #8056

Open
wants to merge 1 commit into
base: maerhart-rtgtest-immediates
Choose a base branch
from

Conversation

maerhart
Copy link
Member

@maerhart maerhart commented Jan 9, 2025

Tests for the printInstructionBinary and printInstructionAssembly implementations will follow in the next PR.

@maerhart maerhart added the RTG Involving the `rtg` dialect label Jan 9, 2025
@maerhart maerhart requested a review from darthscsi January 9, 2025 21:44
Copy link
Member

@uenoku uenoku left a comment

Choose a reason for hiding this comment

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

LGTM. Nice use of a FoldAdaptor! One nit in my mind was these instructions look very RV32I specific even though rtg/rtgtest sound like generic random test dialects. Not sure worth modifying but I was thinking perhaps it's more clear if these instructions were named like rtgtest.rv32i.*. It looks great as is so I think it's up to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RTG Involving the `rtg` dialect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants