Skip to content

Commit eb21f87

Browse files
authored
Merge pull request #329 from riscv/vwsll-zero-ext
Clarify that vwsll zero-extends the vs2 operand
2 parents 5af2121 + 189d4a7 commit eb21f87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/vector/insns/vwsll.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ Vector-Scalar/Immediate Arguments::
8484
Description::
8585
A widening logical shift left is performed on each element of `vs2`.
8686

87-
The elements in `vs2` are shifted left by the shift amount specified by either
87+
The elements in `vs2` are zero-extended to 2*`SEW` bits, then shifted left
88+
by the shift amount specified by either
8889
the corresponding elements of `vs1` (vector-vector), integer register `rs1`
8990
(vector-scalar), or an immediate value (vector-immediate).
9091
Only the low log2(2*`SEW`) bits of the shift-amount value are used, all other

0 commit comments

Comments
 (0)