generated from riscv/docs-spec-template
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amo: amoswap: offset must be 0 (#499)
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]>
- Loading branch information
1 parent
557678b
commit 65010ec
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters