Compare Signed Quadword Equal (cmpeq)

Syntax

cmpeq $s_reg1, $s_reg2, $d_reg

cmpeq $d_reg/$s_reg1, $s_reg2

cmpeq $s_reg1, val_immed, $d_reg

cmpeq $d_reg/$s_reg1, val_immed

Description

Compare Signed Quadword Equal compares two 64-bit values. If the contents of $s_reg1 equals the contents of $s_reg2 or the immediate value, this instruction sets the destination register to 1; otherwise, it sets the destination register to zero.