VMSBC.VV
Vector Mask Set Before First
VMSBC.VV vd, vs2, vs1
Writes a mask where bits are 1 before the first element in vs2 that is 1.
Details
Vector Mask Set Before First: Writes a mask where bits are 1 before the first element in vs2 that is 1. Operation: Sets mask bits to 1 up to (but not including) the first set bit in vs2..
Pseudocode Operation
Sets mask bits to 1 up to (but not including) the first set bit in vs2.
Example
VMSBC.VV v1, v4, v2
Encoding
Binary Layout
0100111
31:25
vs2
24:20
vs1
19:15
000
14:12
vd
11:7
1010111
6:0
Operands
-
vd
Dest Mask -
vs2
Src Mask