Can VCTZ.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 count trailing zeros: count trailing zero bits in each element
vctz.v is the Zvbb vector count-trailing-zeros instruction. Counts trailing zeros from the LSB in each element. All-zero returns SEW.
VCTZ.V is a Zvbb vector instruction for vector count trailing zeros. This page is checked against the official vector crypto extension and V-extension execution model.
Understand this scenario with real code like «vctz.v vd, vs2».
Understand this scenario with real code like «vctz.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.