Skip to content

Commit

Permalink
Simplify the summary of sext/zext instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
pfusik committed Feb 10, 2025
1 parent c164f05 commit 1ccbd47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/b-st-ext.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ instructions that return the smaller/larger of two operands.

These instructions perform the sign extension or zero extension of the least significant 8 bits or 16 bits of the source register.

These instructions replace the generalized idioms `slli rD,rS,(XLEN-<size>) + srli` (for zero extension) or `slli + srai` (for sign extension) for the sign extension of 8-bit and 16-bit quantities, and for the zero extension of 16-bit quantities.
These instructions replace the generalized idioms `slli rd,rs,(XLEN-<size>) + srai` (for sign extension of 8-bit and 16-bit quantities) and `slli + srli` (for zero extension of 16-bit quantities).

[%header,cols="^1,^1,4,8"]
|===
Expand Down

0 comments on commit 1ccbd47

Please sign in to comment.