VWSLL.VI

Vector Widening Shift Left Logical Immediate

VWSLL.VI vd, vs2, imm, vm

Shifts elements left by immediate, 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]) << imm;

Example

VWSLL.VI v1, v4, 16, v0.t

Encoding

Binary Layout
110101
31:26
vm
25
vs2
24:20
imm
011
19:17
vd
16:12
1010111
11:5
 
Format OPIVI
Opcode 0x57
Extension Zvbb

Operands

  • vd
    Dest (Wide)
  • vs2
    Src (Narrow)
  • imm
    Signed immediate value