Figure 1. pcmpeq
Description
The contents of register rA are compared with the contents in register rB.
- rD is loaded with 1 if they match, and 0 if not
Pseudocode
if (rB) = (rA) then
(rD) ← 1
else
(rD) ← 0
Registers Altered
- rD
Latency
- 1 cycle
Note
- This instruction is only available when the parameter
C_USE_PCMP_INSTR
is set to 1.