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

Merged
merged 1 commit into from
Jan 31, 2025
Merged

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.

@maerhart maerhart force-pushed the maerhart-rtgtest-immediates branch 2 times, most recently from 5f5636f to 30f9e93 Compare January 21, 2025 10:38
@maerhart maerhart force-pushed the maerhart-rtgtest-instructions branch from afd891b to fc18855 Compare January 21, 2025 10:48
@maerhart maerhart force-pushed the maerhart-rtgtest-immediates branch 2 times, most recently from 483e9a0 to f7f3a04 Compare January 31, 2025 09:13
Base automatically changed from maerhart-rtgtest-immediates to main January 31, 2025 09:57
@maerhart maerhart force-pushed the maerhart-rtgtest-instructions branch from fc18855 to d73d6d9 Compare January 31, 2025 10:21
@maerhart maerhart merged commit 930ecd9 into main Jan 31, 2025
5 checks passed
@maerhart maerhart deleted the maerhart-rtgtest-instructions branch January 31, 2025 11:21
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.

3 participants