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

amo: amoswap: offset must be 0 #499

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

martin-kaiser
Copy link
Contributor

The amo.[w|d] and amoswap.c instructions need the exact address and do not support an offset. Their encodings have no offset field.

Set the offset to 0 in the Mnemonics. This is what we already do for lr and sc instructions.

The amo<op>.[w|d] and amoswap.c instructions need the exact address and
do not support an offset. Their encodings have no offset field.

Set the offset to 0 in the Mnemonics. This is what we already do for lr
and sc instructions.

Signed-off-by: Martin Kaiser <[email protected]>
@tariqkurd-repo tariqkurd-repo merged commit 65010ec into riscv:main Jan 2, 2025
3 checks passed
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