VWSLL.VX

Vector Widening Shift Left Logical Scalar

VWSLL.VX vd, vs2, rs1, vm

Shifts elements left by scalar rs1, widening the result.

Details

Performs a widening operation, producing results twice as wide as the source elements. Results are written to vd using 2× the element grouping (EEW). The number of elements and masking are governed by vl and vm.

Pseudocode Operation

foreach(i < vl): vd[i] = zext(vs2[i]) << rs1;

Example

VWSLL.VX v1, v4, a0, v0.t

Encoding

Binary Layout
110101
31:26
vm
25
vs2
24:20
rs1
19:15
100
14:12
vd
11:7
1010111
6:0
 
Format OPIVX
Opcode 0x57
Extension Zvbb

Operands

  • vd
    Dest (Wide)
  • vs2
    Src (Narrow)
  • rs1
    Source register 1 (integer)