IBM SA14-2339-04 Personal Computer User Manual


 
xiv PPC405 Core User’s Manual
Instruction Format Diagrams ..................................................................................................................... A-43
I-Form A-44
B-Form A-44
SC-Form A-44
D-Form A-44
X-Form A-45
XL-Form A-45
XFX-Form A-46
X0-Form A-46
M-Form A-46
B. Instructions by Category ................................................................................................. B-1
Implementation-Specific Instructions ............................................................................................................... B-1
Instructions in the IBM PowerPC Embedded Environment ............................................................................. B-5
Privileged Instructions ..................................................................................................................................... B-7
Assembler Extended Mnemonics .................................................................................................................... B-9
Storage Reference Instructions ..................................................................................................................... B-29
Arithmetic and Logical Instructions ................................................................................................................ B-33
Condition Register Logical Instructions ......................................................................................................... B-37
Branch Instructions ........................................................................................................................................ B-38
Comparison Instructions ................................................................................................................................ B-39
Rotate and Shift Instructions ......................................................................................................................... B-40
Cache Control Instructions ............................................................................................................................ B-41
Interrupt Control Instructions ......................................................................................................................... B-42
TLB Management Instructions ....................................................................................................................... B-42
Processor Management Instructions ............................................................................................................. B-44
C. Code Optimization and Instruction Timings .................................................................. C-1
Code Optimization Guidelines ......................................................................................................................... C-1
Condition Register Bits for Boolean Variables ............................................................................................ C-1
CR Logical Instruction for Compound Branches ......................................................................................... C-1
Floating-Point Emulation ............................................................................................................................. C-1
Cache Usage .............................................................................................................................................. C-2
CR Dependencies ....................................................................................................................................... C-2
Branch Prediction ........................................................................................................................................ C-2
Alignment .................................................................................................................................................... C-2
Instruction Timings .......................................................................................................................................... C-3
General Rules ............................................................................................................................................. C-3
Branches ..................................................................................................................................................... C-3
Multiplies ..................................................................................................................................................... C-4
Scalar Load Instructions ............................................................................................................................. C-5
Scalar Store Instructions ............................................................................................................................. C-6
Alignment in Scalar Load and Store Instructions ........................................................................................ C-6
String and Multiple Instructions ................................................................................................................... C-6
Loads and Store Misses ............................................................................................................................. C-7
Instruction Cache Misses ............................................................................................................................ C-7
Index ........................................................................................................................................ X-1