EasyManua.ls Logo

IBM PowerPC 405GP - Logical Instructions; Compare Instructions; Table 3-25. Multiply-Accumulate and Multiply Halfword Instructions; Table 3-26. Logical Instructions

IBM PowerPC 405GP
668 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Table 3-25 lists additional arithmetic instructions for multiply-accumulate and multiply halfword
operations.
In
the table, the syntax "[0]" indicates that an instruction has an "0" form that updates
XER[SO,OV], and a "non-o" form. The syntax "[.]" indicates that the instruction has a "record" form
that updates
CR[CRO], and a "non-record" form.
Table 3-25. Multiply-Accumulate and Multiply Halfword Instructions
Negative-
Multiply-
Multiply- Multiply
Accumulate
Accumulate Halfword
macchw[o][.] nmacchw[o][.] mulchw[.]
macchws[o][.]
nmacchws[o][.] mulchwu[.]
macchwsu[o][.] nmachhw[o][.]
mulhhw[.]
macchwu[o][.] nmachhws[o][.] mulhhwu[.]
machhw[o][.]
nmaclhw[o][.] mullhw[.]
machhws[o][.] nmaclhws[
0 ][.]
mullhwu[.]
machhwsu[ 0 ][.]
machhwu[ 0 ][.]
maclhw[o][.]
maclhws[o][.]
maclhwsu[
0 ][.]
maclhwu[o][.]
3.11.4 Logical Instructions
Table 3-26 lists the PPC405GP logical instructions. In the table, the syntax "[.]" indicates that the
instruction has a
"record" form that updates CR[CRO], and a "non-record" form.
Table 3-26. Logical Instructions
Count
And with
Or with
leading
And complement Nand
Or
complement Nor Xor Equivalence
Extend sign zeros
and[.] andc[.] nand[.] or[.] orc[.]
nor[.] xor[.] eqv[.] extsb[.]
cntlzw[.]
andi.
ori xori
extsh[.]
andis. oris
xoris
3.11.5 Compare Instructions
These instructions perform arithmetic
or
logical comparisons between two operands and update the
CR with the result of the comparison.
Table 3-27 lists the PPC405GP compare instructions.
Table 3-27. Compare Instructions
Arithmetic Logical
cmp cmpl
cmpi
cmpli
3-50 PPC405GP User's Manual
Preliminary

Table of Contents

Related product manuals