Can VCPOP.V always use a v0.t mask?
It can use the vm mask operand shown in the syntax; omitting it gives the unmasked form.
Vector population count: count set bits (1s) in each element
vcpop.v is the Zvbb vector population count instruction. Counts the number of set bits (Hamming weight) in each element. Supports all SEW.
VCPOP.V is a Zvbb vector instruction for vector population count. This page is checked against the official vector crypto extension and V-extension execution model.
Understand this scenario with real code like «vcpop.v vd, vs2».
Understand this scenario with real code like «vcpop.v vd, vs2».
It can use the vm mask operand shown in the syntax; omitting it gives the unmasked form.
The current vtype SEW determines it, subject to any instruction-specific SEW restrictions in the extension.