VFNCVT.F.F.W
Vector Narrowing Float Convert
VFNCVT.F.F.W vd, vs2, vm
Converts 2*N-bit floats to N-bit floats (e.g., FP32 -> FP16).
Encoding
Binary Layout
010010
31:26
vm
25
vs2
24:20
10100001
19:12
vd
11:7
1010111
6:0
Operands
-
vd
Dest (Narrow Float) -
vs2
Src (Wide Float)
Example
VFNCVT.F.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] = narrow_float(vs2[i]);