Is the VFCLASS.V result a mask?
No. It writes a 10-bit class code into ordinary vector data elements.
Classify each float element per IEEE 754; 10-bit classification mask to vd[i].
VFCLASS.V classifies each active floating-point element and writes the 10-bit class code into the low bits of an ordinary integer vector data element. It performs no FP rounding and is not arithmetic FP operation.
VFCLASS.V is a classify instruction: the input is FP data, and the output is an integer class code.
Understand this scenario with real code like «vsetvli t0, a0, e32, m1, ta, ma vfclass.v v1, v2».
Understand this scenario with real code like «vsetvli t0, a0, e32, m1, ta, ma vfclass.v v1, v2».
No. It writes a 10-bit class code into ordinary vector data elements.