User’s Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
6.4.5 Load/Store Unit Execution TimingThe execution of most
If operands are misaligned, additional latency might be required either for an alignment exception to be taken or for additional bus accesses. Load instructions that miss in the cache block require subsequent cache accesses during the
The PowerPC virtual environment architecture (VEA) states that the placement (location and alignment) of operands in memory might affect the relative performance of memory accesses, and in some cases affect it significantly. The effects memory operand placement has on performance are shown in Table
The best performance is guaranteed if memory operands are aligned on natural boundaries. For the best performance across the widest range of implementations, the programmer should assume the performance model described in Chapter 3, “Operand Conventions” in the PowerPC Microprocessor Family: The Programming Environments Manual.
The effect of misalignment on
Table
Operand |
|
|
| Boundary Crossing |
| ||
|
|
|
|
|
|
| |
Size | Byte Alignment | None | 8 Byte | Cache Block | Protection | ||
Boundary | |||||||
|
|
|
|
|
| ||
|
|
|
|
|
|
| |
|
|
|
|
|
|
| |
Integer |
|
|
|
|
|
| |
|
|
|
|
|
| ||
4 byte | 4 | Optimal1 | — | — | — | ||
< 4 | Optimal | Good2 | Good | Good | |||
| |||||||
2 byte | 2 | Optimal | — | — | — | ||
|
|
|
|
|
| ||
< 2 | Optimal | Good | Good | Good | |||
| |||||||
|
|
|
|
|
| ||
1 byte | 1 | Optimal | — | — | — | ||
|
|
|
|
|
| ||
Load Multiple Word (lmw), | 4 | Good | Good | Good | Good | ||
|
|
|
|
|
| ||
Store Multiple Word (stmw)3 |
|
|
|
|
|
| |
< 4 | Poor | Poor | Poor | Poor | |||
|
| ||||||
|
|
|
|
|
| ||
String3 | — | Good | Good | Good | Good | ||
|
|
|
|
|
|
| |
Note: |
|
|
|
|
|
| |
1. Optimal means one EA calculation occurs. |
|
|
|
|
| ||
2. Good means multiple EA calculations occur that might cause additional bus activities with multiple bus transfers. | |||||||
3. Not supported in |
|
|
| ||||
4. Poor means that an alignment exception occurs. |
|
|
|
|
| ||
|
|
|
|
|
|
| |
|
|
|
|
|
|
| |
gx_06.fm.(1.2) |
|
|
|
|
| Instruction Timing | |
March 27, 2006 |
|
|
|
|
| Page 233 of 377 |