IBM PPC440X5 Computer Hardware User Manual


 
User’s Manual
Preliminary PPC440x5 CPU Core
prgmodel.fm.
September 12, 2002
Page 59 of 589
2.4.1.3 Integer Logical Instructions
Table 2-7 lists the integer logical instructions in the PPC440x5. See Integer Arithmetic Instructions on
page 58 for an explanation of the “[.]” syntax.
2.4.1.4 Integer Compare Instructions
These instructions perform arithmetic or logical comparisons between two operands and update the CR with
the result of the comparison.
Table 2-8 lists the integer compare instructions in the PPC440x5.
2.4.1.5 Integer Trap Instructions
Table 2-9 lists the integer trap instructions in the PPC440x5.
2.4.1.6 Integer Rotate Instructions
These instructions rotate operands stored in the GPRs. Rotate instructions can also mask rotated operands.
Table 2-10 lists the rotate instructions in the PPC440x5. See Integer Arithmetic Instructions on page 58 for an
explanation of the “[.]” syntax.
Table 2-7. Integer Logical Instructions
And
And with
complement
Nand Or
Or with
complement
Nor Xor Equivalence Extend sign
Count
leading
zeros
and[.]
andi.
andis.
andc
[.] nand[.]
or[.]
ori
oris
orc
[.] nor[.]
xor[.]
xori
xoris
eqv
[.]
extsb[.]
extsh[.]
cntlzw[.]
Table 2-8. Integer Compare Instructions
Arithmetic Logical
cmp
cmpi
cmpl
cmpli
Table 2-9. Integer Trap Instructions
Tra p
tw
twi
Table 2-10. Integer Rotate Instructions
Rotate and Insert Rotate and Mask
rlwimi[.]
rlwinm[.]
rlwnm[.]