Skip to content

Commit

Permalink
Merge pull request #1524 from riscv/bitmanip-names
Browse files Browse the repository at this point in the history
Fix mnemonics of Zbkx/Zbkb instructions
  • Loading branch information
aswaterman committed Jul 12, 2024
2 parents b508ca0 + f2116b9 commit c433e37
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/b-st-ext.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ common operations in cryptographic workloads.

| ✓
| ✓
| rev.b
| brev8
| <<insns-revb>>

| &#10003;
Expand Down Expand Up @@ -984,12 +984,12 @@ latency does not depend on the (secret) data being operated on.

|&#10003;
|&#10003;
|xperm.n _rd_, _rs1_, _rs2_
|xperm4 _rd_, _rs1_, _rs2_
|<<#insns-xpermn>>

|&#10003;
|&#10003;
|xperm.b _rd_, _rs1_, _rs2_
|xperm8 _rd_, _rs1_, _rs2_
|<<#insns-xpermb>>

|===
Expand Down Expand Up @@ -2569,13 +2569,13 @@ Included in::

<<<
[#insns-revb,reftext="Reverse bits in bytes"]
==== rev.b
==== brev8

Synopsis::
Reverse the bits in each byte of a source register.

Mnemonic::
rev.b _rd_, _rs_
brev8 _rd_, _rs_

Encoding::
[wavedrom, , svg]
Expand Down Expand Up @@ -3472,13 +3472,13 @@ Included in::

<<<
[#insns-xpermb,reftext="Crossbar permutation (bytes)"]
==== xperm.b
==== xperm8

Synopsis::
Byte-wise lookup of indices into a vector in registers.

Mnemonic::
xperm.b _rd_, _rs1_, _rs2_
xperm8 _rd_, _rs1_, _rs2_

Encoding::
[wavedrom, , svg]
Expand All @@ -3495,7 +3495,7 @@ Encoding::
....

Description::
The xperm.b instruction operates on bytes.
The xperm8 instruction operates on bytes.
The _rs1_ register contains a vector of XLEN/8 8-bit elements.
The _rs2_ register contains a vector of XLEN/8 8-bit indexes.
The result is each element in _rs2_ replaced by the indexed element in _rs1_,
Expand Down Expand Up @@ -3533,13 +3533,13 @@ Included in::

<<<
[#insns-xpermn,reftext="Crossbar permutation (nibbles)"]
==== xperm.n
==== xperm4

Synopsis::
Nibble-wise lookup of indices into a vector.

Mnemonic::
xperm.n _rd_, _rs1_, _rs2_
xperm4 _rd_, _rs1_, _rs2_

Encoding::
[wavedrom, , svg]
Expand All @@ -3556,7 +3556,7 @@ Encoding::
....

Description::
The xperm.n instruction operates on nibbles.
The xperm4 instruction operates on nibbles.
The _rs1_ register contains a vector of XLEN/4 4-bit elements.
The _rs2_ register contains a vector of XLEN/4 4-bit indexes.
The result is each element in _rs2_ replaced by the indexed element in _rs1_,
Expand Down

0 comments on commit c433e37

Please sign in to comment.