kortestw

OR Masks And Set Flags Word

KORTESTW k1, k2

ORs two masks and sets EFLAGS (ZF, CF) based on result.

Details

The OR Masks And Set Flags Word instruction oRs two masks and sets EFLAGS (ZF, CF) based on result.

Pseudocode Operation

// ORs two masks and sets EFLAGS (ZF, CF) based on result

Example

KORTESTW k1, k2

Encoding

Binary Layout
EVEX
+0
0F
+4
98
+5
 
Format EVEX
Opcode 0F 98
Extension AVX-512

Operands

  • dest
    AVX-512 opmask register (k0-k7)
  • src
    AVX-512 opmask register (k0-k7)