Skip to content

Add support for the RDPRU instruction #111

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

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

eigenform
Copy link
Contributor

Adds the encoding for the RDPRU ("Read Processor Register") instruction which is supported on recent AMD processors (starting with Zen 2).

Adds the encoding for the RDPRU ("Read Processor Register") instruction which
is supported on recent AMD processors (starting with Zen 2).
@CensoredUsername
Copy link
Owner

heya, thanks for the pull request. I've been a bit busy so I'll get to this sometime soon!

In the meantime, would you mind also adding a test for this instruction? I know the format is really simple but we try to cover at least every instruction format.

@CensoredUsername CensoredUsername changed the base branch from master to dev March 13, 2025 09:15
@CensoredUsername CensoredUsername merged commit 9c64314 into CensoredUsername:dev Mar 13, 2025
1 check passed
@CensoredUsername
Copy link
Owner

I had some time so I've just added it myself, thanks for the contribution!

@eigenform
Copy link
Contributor Author

Thanks!! And sorry, I totally forgot about the testcases - if you still want them in the tree I'll send another PR when I get the chance this week :)

@CensoredUsername
Copy link
Owner

No problem, and I already added a testcase!

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.

2 participants