AN2203 Freescale Semiconductor / Motorola, AN2203 Datasheet - Page 28

no-image

AN2203

Manufacturer Part Number
AN2203
Description
MPC7450 RISC Microprocessor Family Software Optimization Guide
Manufacturer
Freescale Semiconductor / Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN22030A
Manufacturer:
PANASONIC/松下
Quantity:
20 000
Dispatch Considerations
3.2.2
The MPC7450 splits load/store multiple instructions (lmw and stmw) and strings (lsw and stsw) into
micro-operations at the dispatch point. The processor can dispatch only one micro-operation per cycle,
which does not use the dispatcher to its full advantage.
Using load/store multiple instructions is best restricted to cases where minimizing code size is critical or
where there are no other available instructions to be scheduled, such that the under-utilization of the
dispatcher is not a consideration.
3.2.2.1
Consider the following assembly instruction sequence:
0
1
2
3
4
5
6
7
The load multiple instruction specified with register 25 loads registers 25–31. The MPC7450 splits this
instruction into seven micro-operations at dispatch, after which the lmw executes as multiple operations, as
Table 3-11 shows.
28
Instr.
No.
0–0
0–1
0–2
0–3
0–4
0–5
0–6
1
2
3
4
5
6
7
lmw
addi r25,r25,0x01
addi r26,r26,0x01
addi r27,r27,0x01
addi r28,r28,0x01
addi r29,r29,0x01
addi r30,r30,0x01
addi r31,r31,0x01
lmw r25,0x00(r1)
lmw r26,0x04(r1)
lmw r27,0x08(r1)
lmw r28,0x0C(r1)
lmw r29,0x10(r1)
lmw r30,0x14(r1)
lmw r31,0x1C(r1)
addi r25,r25,0x01
addi r26,r26,0x01
addi r27,r27,0x01
addi r28,r28,0x01
addi r29,r29,0x01
addi r30,r30,0x01
addi r31,r31,0x01
Instruction
r25,0x00(r1)
Dispatching Load/Store Strings and Multiples
Example of Load/Store Multiple Micro-Operation Generation
Table 3-11. Load/Store Multiple Micro-Operation Generation Example
MPC7450 RISC Microprocessor Family Software Optimization Guide
F1
F1
F1
F1
F1
F1
F1
F1
F1
F1
0
Freescale Semiconductor, Inc.
For More Information On This Product,
F2
F2
F2
F2
F2
F2
F2
F2
F2
F2
F1
F1
F1
F1
1
F2
F2
F2
F2
D
2
Go to: www.freescale.com
D
3
I
E0
D
4
I
E1
E0
D
5
I
E2
E1
E0
D
6
I
E2
E1
E0
C
D
7
I
E2
E1
E0
C
D
D
D
8
I
E2
E1
E0
C
D
D
D
9
I
I
I
E2
E1
E0
10
C
D
D
E
E
I
I
I
E2
E1
11
C
E
E
E
I
I
E2
12
C
E
13
C
C
C
E
MOTOROLA
14
C
C
C
15
C
C

Related parts for AN2203