Skip to content

Commit

Permalink
Merge pull request #15 from ved-rivos/main
Browse files Browse the repository at this point in the history
b/h amo sign extend
  • Loading branch information
ved-rivos authored Oct 11, 2023
2 parents 7d61b16 + 113ea53 commit bbf5df5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zabha.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

Zabha extends A and Zacas cite:[zacas] standard extensions by adding _byte_
(`width=0`) and _halfword_ (`width=1`) support in `width` field for atomic
memory operation instructions.
memory operation 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`.

[wavedrom, , ]
....
Expand Down

0 comments on commit bbf5df5

Please sign in to comment.