diff options
author | Andrew Waterman <andrew@sifive.com> | 2024-04-26 19:16:13 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2024-04-26 19:16:13 -0700 |
commit | c8773d5ad3b6d2b4bb92ed0c5ea26abac5b52c68 (patch) | |
tree | 97f72aa9c0cf0d14656b0db163d909d3427dd03b /src/b-st-ext.adoc | |
parent | 3d703f3f2d8fb5ebdbc8ee6be508661c318d451b (diff) | |
download | riscv-isa-manual-c8773d5ad3b6d2b4bb92ed0c5ea26abac5b52c68.zip riscv-isa-manual-c8773d5ad3b6d2b4bb92ed0c5ea26abac5b52c68.tar.gz riscv-isa-manual-c8773d5ad3b6d2b4bb92ed0c5ea26abac5b52c68.tar.bz2 |
Don't hyphenate "sign extension" when used as noun
Diffstat (limited to 'src/b-st-ext.adoc')
-rw-r--r-- | src/b-st-ext.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/b-st-ext.adoc b/src/b-st-ext.adoc index 21cded7..a0b5e34 100644 --- a/src/b-st-ext.adoc +++ b/src/b-st-ext.adoc @@ -639,11 +639,11 @@ instructions that return the smaller/larger of two operands. |<<#insns-minu>> |=== -===== Sign- and zero-extension +===== Sign extension and zero extension -These instructions perform the sign-extension or zero-extension of the least significant 8 bits or 16 bits of the source register. +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>) + 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. [%header,cols="^1,^1,4,8"] |=== |