VMNAND.MM

Vector Mask NAND

VMNAND.MM vd, vs2, vs1

Performs bitwise NAND on vector mask registers. Used to invert masks (NOT).

Details

Performs element-wise mask NAND on the mask registers vm1 and vm2, writing to vd.

Pseudocode Operation

vd = ~(vs1 & vs2);

Example

VMNAND.MM v1, v4, v2

Encoding

Binary Layout
011101
31:26
1
25
vs2
24:20
vs1
19:15
010
14:12
vd
11:7
1010111
6:0
 
Format OPMVV
Opcode 0x57
Extension V

Operands

  • vd
    Dest Mask
  • vs2
    Src 2 Mask
  • vs1
    Src 1 Mask