Skip to content

Commit

Permalink
vmadc/vmsbc instruction clarification (#1834)
Browse files Browse the repository at this point in the history
Appears to be a typo that suggest the instruction writes back the result of the operation rather than the carry/borrow out

Signed-off-by: jacassidy <[email protected]>
  • Loading branch information
jacassidy authored Jan 29, 2025
1 parent 13b89fc commit 72c5dfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/v-st-ext.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2482,9 +2482,9 @@ Encodings corresponding to the unmasked versions (`vm=1`) are reserved.

`vmadc` and `vmsbc` add or subtract the source operands, optionally
add the carry-in or subtract the borrow-in if masked (`vm=0`), and
write the result back to mask register `vd`. If unmasked (`vm=1`),
there is no carry-in or borrow-in. These instructions operate on and
write back all body elements, even if masked. Because these
write the resulting carry-out or borrow-out back to mask register `vd`.
If unmasked (`vm=1`), there is no carry-in or borrow-in. These instructions
operate on and write back all body elements, even if masked. Because these
instructions produce a mask value, they always operate with a
tail-agnostic policy.

Expand Down

0 comments on commit 72c5dfd

Please sign in to comment.