VFCVT.X.F.V

Vector Float to Signed Integer Convert

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

Converts floating-point elements to signed integers.

Details

Converts vector elements between floating-point and integer types, or between floating-point precisions. Conversions respect the active rounding mode.

Pseudocode Operation

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

Example

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

Encoding

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

Operands

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