Skip to content

Commit

Permalink
indicate amocas ignores bits beyond operation width in rd
Browse files Browse the repository at this point in the history
  • Loading branch information
ved-rivos committed Feb 1, 2024
1 parent d300b0a commit e356c1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zabha.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ further provides the `AMOCAS.[B|H]` instructions.

Byte and halfword AMOs always sign-extend the value placed in `rd`, and
ignore the `XLEN-1:(2^(width + 3))` bits of the original value in `rs2`.
The `AMOCAS.[B|H]` instructions similarly ignore the `XLEN-1:(2^(width + 3))`
bits of the original value in `rd`.

Similar to the AMOs specified in the A extension, the Zabha extension mandates
that the address contained in the `rs1` register must be naturally aligned to
Expand Down

0 comments on commit e356c1c

Please sign in to comment.