VFWCVT.X.F.V

Vector Widening Float to Signed Int

VFWCVT.X.F.V vd, vs2, vm

Converts N-bit float to 2*N-bit signed integer.

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] = f_to_x_w(vs2[i]);

Example

VFWCVT.X.F.V v1, v4, v0.t

Encoding

Binary Layout
010010
31:26
vm
25
vs2
24:20
01000
19:15
001
14:12
vd
11:7
1010111
6:0
 
Format OPFVV
Opcode 0x57
Extension V

Operands

  • vd
    Dest (Wide Int)
  • vs2
    Src (Float)