kshiftrb

Shift Right Mask Byte

KSHIFTRB k1, k2, imm8

Logically shifts 8-bit mask right.

Details

The Shift Right Mask Byte instruction logically shifts 8-bit mask right.

Pseudocode Operation

// Logically shifts 8-bit mask right

Example

KSHIFTRB k1, k2, 3

Encoding

Binary Layout
EVEX
+0
66
+4
0F
+5
3A
+6
30
+7
 
Format EVEX
Opcode 66 0F 3A 30
Extension AVX-512DQ

Operands

  • dest
    AVX-512 opmask register (k0-k7)
  • src1
    AVX-512 opmask register (k0-k7)
  • src2
    8-bit signed immediate