Skip to content

Commit

Permalink
Spelling, grammar, consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
aswaterman committed May 17, 2021
1 parent fa06596 commit b2c1394
Show file tree
Hide file tree
Showing 19 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion bitmanip/insns/add_uw.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Encoding::
....

Description::
This instruction performs an XLEN-wide addition between _rs2_ and the Zero-extended least significant word of _rs1_.
This instruction performs an XLEN-wide addition between _rs2_ and the zero-extended least-significant word of _rs1_.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/andn.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::
....

Description::
This instruction performs the bitwise logical AND operation between _rs1_ and the bitwise-inversion of _rs2_.
This instruction performs the bitwise logical AND operation between _rs1_ and the bitwise inversion of _rs2_.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/clz.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::
....

Description::
This instruction counts the number of 0's before the first 1, starting at the most signifcant bit (i.e., XLEN-1 ) and progressing to bit 0. Accordingly, if the input is 0, the output is XLEN, and if the most signifcant bit of the input is a 1, the output is 0.
This instruction counts the number of 0's before the first 1, starting at the most-significant bit (i.e., XLEN-1) and progressing to bit 0. Accordingly, if the input is 0, the output is XLEN, and if the most-significant bit of the input is a 1, the output is 0.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/clzw.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Encoding::

Description::
This instruction counts the number of 0's before the first 1 starting at bit 31 and progressing to bit 0.
Accordingly, if the least significant word is 0, the output is 32, and if the most significant bit of the word (i.e., bit 31) is a 1, the output is 0.
Accordingly, if the least-significant word is 0, the output is 32, and if the most-significant bit of the word (i.e., bit 31) is a 1, the output is 0.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/ctz.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::
....

Description::
This instruction counts the number of 0's before the first 1, starting at the least signifcant bit (i.e., 0 ) and progressing to the most significant bit (i.e., XLEN-1. Accordingly, if the input is 0, the output is XLEN, and if the least signifcant bit of the input is a 1, the output is 0.
This instruction counts the number of 0's before the first 1, starting at the least-significant bit (i.e., 0) and progressing to the most-significant bit (i.e., XLEN-1. Accordingly, if the input is 0, the output is XLEN, and if the least-significant bit of the input is a 1, the output is 0.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/ctzw.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::
....

Description::
This instruction counts the number of 0's before the first 1, starting at the least signifcant bit (i.e., 0 ) and progressing to the most significant bit of the least significant word (i.e., 31). Accordingly, if the least significant word is 0, the output is 32, and if the least signifcant bit of the input is a 1, the output is 0.
This instruction counts the number of 0's before the first 1, starting at the least-significant bit (i.e., 0) and progressing to the most-significant bit of the least-significant word (i.e., 31). Accordingly, if the least-significant word is 0, the output is 32, and if the least-significant bit of the input is a 1, the output is 0.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/max.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ X(rd) = result;
Calculating the absolute value of a signed integer can be performed
using the following sequence: *neg rD,rS* followed by *max
rD,rS,rD*. When using this common sequence, it is suggested that they
are schededuled with no intervening instructions so that
are scheduled with no intervening instructions so that
implementations that are so optimized can fuse them together.
===============================================================
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/orc_b.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::

Description::
Combines the bits within every byte through a reciprocal bitwise logical OR.
This sets the bits of each byte in the result _rd_ to all-zeros, if no bit within the respective byte of _rs_ is set, or to all-ones, if any bit within the respective byte of _rs_ is set.
This sets the bits of each byte in the result _rd_ to all zeros if no bit within the respective byte of _rs_ is set, or to all ones if any bit within the respective byte of _rs_ is set.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/orn.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::
....

Description::
This instruction performs the bitwise logical AND operation between _rs1_ and the bitwise-inversion of _rs2_.
This instruction performs the bitwise logical AND operation between _rs1_ and the bitwise inversion of _rs2_.

Operation::
[source,sail]
Expand Down
4 changes: 2 additions & 2 deletions bitmanip/insns/rolw.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Encoding::
....

Description::
This instruction performs a rotate-left on the least significant word of _rs1_ by the amount in least-significant 5 bits of _rs2_.
The resulting word value is sign extended by copying bit 31 to all of the more significant bits.
This instruction performs a rotate-left on the least-significant word of _rs1_ by the amount in least-significant 5 bits of _rs2_.
The resulting word value is sign-extended by copying bit 31 to all of the more-significant bits.

Operation::
[source,sail]
Expand Down
8 changes: 4 additions & 4 deletions bitmanip/insns/roriw.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[#insns-roriw,reftext="Rotate-right Wordsized (Immediate)"]
[#insns-roriw,reftext="Rotate-right Word (Immediate)"]
=== roriw

Synopsis::
Expand All @@ -21,11 +21,11 @@ Encoding::
....

Description::
This instruction performs a rotate-right on the least significant word
This instruction performs a rotate-right on the least-significant word
of _rs1_ by the amount in the least-significant log2(XLEN) bits of
_shamt_.
The resulting word value is sign extended by copying bit 31 to all of
the more significant bits.
The resulting word value is sign-extended by copying bit 31 to all of
the more-significant bits.


Operation::
Expand Down
8 changes: 4 additions & 4 deletions bitmanip/insns/rorw.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[#insns-rorw,reftext="Rotate-right Wordsized (Register)"]
[#insns-rorw,reftext="Rotate-right Word (Register)"]
=== rorw

Synopsis::
Rotate-Right Wordsized (Register)
Rotate-Right Word (Register)

Mnemonic::
rorw _rd_, _rs1_, _rs2_
Expand All @@ -21,8 +21,8 @@ Encoding::
....

Description::
This instruction performs a rotate-right on the least significant word of _rs1_ by the amount in least-significant 5 bits of _rs2_.
The resultant word is sign extended by copying bit 31 to all of the more significant bits.
This instruction performs a rotate-right on the least-significant word of _rs1_ by the amount in least-significant 5 bits of _rs2_.
The resultant word is sign-extended by copying bit 31 to all of the more-significant bits.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/sext_b.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::
....

Description::
This instruction sign-extends the least-significant byte in the source to XLEN by copying the most significant bit in the byte (i.e., bit 7) to all of the more significant bits.
This instruction sign-extends the least-significant byte in the source to XLEN by copying the most-significant bit in the byte (i.e., bit 7) to all of the more-significant bits.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/sext_h.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::
....

Description::
This instruction sign-extends the least-significant halfword in _rs_ to XLEN by copying the most significant bit in the halfword (i.e., bit 15) to all of the more significant bits.
This instruction sign-extends the least-significant halfword in _rs_ to XLEN by copying the most-significant bit in the halfword (i.e., bit 15) to all of the more-significant bits.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/sh1add_uw.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Encoding::

Description::
This instruction performs an XLEN-wide addition of two addends.
The first addened is _rs2_. The second addened is the unsigned value formed by extracting the least significant word of _rs1_ and shifting it left by 1 place.
The first addend is _rs2_. The second addend is the unsigned value formed by extracting the least-significant word of _rs1_ and shifting it left by 1 place.

Operation::
[source,sail]
Expand Down
4 changes: 2 additions & 2 deletions bitmanip/insns/sh2add_uw.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Encoding::

Description::
This instruction performs an XLEN-wide addition of two addends.
The first addened is _rs2_.
The second addened is the unsigned value formed by extracting the least significant word of _rs1_ and shifting it left by 2 places.
The first addend is _rs2_.
The second addend is the unsigned value formed by extracting the least-significant word of _rs1_ and shifting it left by 2 places.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/sh3add_uw.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::
....

Description::
This instruction performs an XLEN-wide addition of two addends. The first addened is _rs2_. The second addened is the unsigned value formed by extracting the least significant word of _rs1_ and shifting it left by 3 places.
This instruction performs an XLEN-wide addition of two addends. The first addend is _rs2_. The second addend is the unsigned value formed by extracting the least-significant word of _rs1_ and shifting it left by 3 places.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/slli_uw.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::
....

Description::
This instruction takes the least significant word of _rs1_, zero extends it, and shifts it left by the immediate.
This instruction takes the least-significant word of _rs1_, zero-extends it, and shifts it left by the immediate.

Operation::
[source,sail]
Expand Down
2 changes: 1 addition & 1 deletion bitmanip/insns/xnor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding::
....

Description::
This instruction performs the bit-wise exlusive-NOR operation on _rs1_ and _rs2_.
This instruction performs the bit-wise exclusive-NOR operation on _rs1_ and _rs2_.

Operation::
[source,sail]
Expand Down

0 comments on commit b2c1394

Please sign in to comment.