User’s Manual
Preliminary
PPC440x5 CPU Core
prgmodel.fm.
September 12, 2002
Page 69 of 589
Instruction Set on page 249, provides detailed information on how each of these instructions updates the CR.
To summarize, the CR can be accessed in any of the following ways:
• mfcr reads the CR into a GPR. Note that this instruction does not update the CR and is therefore not
listed in Table 2-24.
• Conditional branch instructions can designate a CR bit to be used as a branch condition. Note that these
instructions do not update the CR and are therefore not listed in Table 2-24.
• mtcrf sets specified CR fields by writing to the CR from a GPR, under control of a mask field specified as
part of the instruction.
• mcrf updates a specified CR field by copying another specified CR field into it.
• mcrxr copies certain bits of the XER into a specified CR field, and clears the corresponding XER bits.
• Integer compare instructions update a specified CR field.
• CR-logical instructions update a specified CR bit with the result of any one of eight logical operations on
a specified pair of CR bits.
Table 2-24. CR Updating Instructions
Integer
Processor
Control
Storage
Control
Auxiliary
Processor
Storage
Access
Arithmetic
Logical
Compare
Rotate
Shift
CR-Logical
and Register
Management
TLB
Mgmt.
Arithmetic
and Logical
stwcx.
add.
[
o
]
addc.
[
o
]
adde
.[
o
]
addic.
addme.
[
o
]
addze.
[
o
]
subf.
[
o
]
subfc.
[
o
]
subfe.
[
o
]
subfme.
[
o
]
subfze.
[
o
]
mulhw.
mulhwu.
mullw.
[
o
]
divw.
[
o
]
divwu.
[
o
]
neg.[o]
and.
andi.
andis.
andc.
nand.
or.
orc.
nor.
xor.
eqv.
extsb.
extsh.
cntlzw.
cmp
cmpi
cmpl
cmpli
rlwimi.
rlwinm.
rlwnm.
slw.
srw.
sraw.
srawi.
crand
crandc
creqv
crnand
crnor
cror
crorc
crxor
mcrf
mcrxr
mtcrf
tlbsx.
macchw.
[
o
]
macchws.
[
o
]
macchwsu.
[
o
]
macchwu.
[
o
]
machhw.
[
o
]
machhws.
[
o
]
machhwsu.
[
o
]
machhwu.
[
o
]
maclhw.
[
o
]
maclhws.
[
o
]
maclhwsu.
[
o
]
maclhwu.
[
o
]
nmacchw.
[
o
]
nmacchws.
[
o
]
nmachhw.
[
o
]
nmachhws.
[
o
]
nmaclhw.
[
o
]
nmaclhws.
[
o
]
mulchw.
mulchwu.
mulhhw.
mulhhwu.
mullhw.
mullhwu.
dlmzb.
Содержание PPC440X5 CPU Core
Страница 1: ...PPC440x5 CPU Core User s Manual Preliminary SA14 2613 02 September 12 2002 Title Page...
Страница 22: ...User s Manual PPC440x5 CPU Core Preliminary Page 22 of 583 ppc440x5LOT fm September 12 2002...
Страница 26: ...User s Manual PPC440x5 CPU Core Preliminary Page 26 of 589 preface fm September 12 2002...
Страница 38: ...User s Manual PPC440x5 CPU Core Preliminary Page 38 of 589 overview fm September 12 2002...
Страница 94: ...User s Manual PPC440x5 CPU Core Preliminary Page 94 of 589 init fm September 12 2002...
Страница 132: ...User s Manual PPC440x5 CPU Core Preliminary Page 132 of 589 cache fm September 12 2002...
Страница 158: ...User s Manual PPC440x5 CPU Core Preliminary Page 158 of 589 mmu fm September 12 2002...
Страница 218: ...User s Manual PPC440x5 CPU Core Preliminary Page 218 of 589 timers fm September 12 2002...
Страница 248: ...User s Manual PPC440x5 CPU Core Preliminary Page 248 of 589 debug fm September 12 2002...
Страница 458: ...User s Manual PPC440x5 CPU Core Preliminary Page 458 of 589 regsummIntro fm September 12 2002...
Страница 568: ...User s Manual PPC440x5 CPU Core Preliminary Page 568 of 589 instalfa fm September 12 2002...
Страница 588: ...User s Manual PPC440x5 CPU Core Preliminary Page 588 of 583 ppc440x5IX fm September 12 2002...
Страница 590: ......