VFNCVT.X.F.W
Vector Narrowing Float to Signed Int
VFNCVT.X.F.W vd, vs2, vm
Converts 2*N-bit float to N-bit signed integer.
Encoding
Binary Layout
010010
31:26
vm
25
vs2
24:20
10001001
19:12
vd
11:7
1010111
6:0
Operands
-
vd
Dest (Int) -
vs2
Src (Wide Float)
Example
VFNCVT.X.F.W v1, v4, v0.t
Related
More in V
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Converts vector elements between floating-point and integer types, or between floating-point precisions. Conversions respect the active rounding mode.
Operation
foreach(i < vl): vd[i] = f_to_x_n(vs2[i]);