PowerPC e500 Core Family Reference Manual, Rev. 1
5-22
Freescale Semiconductor
Interrupts and Exceptions
SRR0, SRR1, and MSR are updated as shown in
Table 5-15
.
Instruction execution resumes at address IVPR[32–47]
||
IVOR4[48–59] || 0b0000.
NOTE
To avoid redundant external input interrupts, software must take any
actions required to clear any external input exception status before
reenabling MSR[EE].
5.7.6
Alignment Interrupt
An alignment interrupt occurs when no higher priority exception exists and an alignment
exception is presented to the interrupt mechanism. An alignment exception may occur when an
implementation cannot perform a data access for one of the following reasons:
•
The operand of a load or store is not aligned.
•
The instruction is a move assist, load multiple, or store multiple.
•
A dcbz operand is in write-through-required or caching-inhibited memory, or dcbz is
executed in an implementation with no data cache or a write-through data cache.
•
The operand of a store, except store conditional, is in write-through required memory.
The EIS defines the following alignment exception conditions:
•
Execution of a dcbz references a page marked as write-through or cache inhibited.
•
A load multiple word instruction (lmw) reads an address that is not a multiple of four.
•
A lwarx or stwcx. instruction references an address that is not a multiple of four.
•
SPFP and SPE APU instructions are not aligned on a natural boundary. A natural boundary
is defined by the size of the data element being accessed.
•
A vector operation reports an exception if the physical address of the following instructions
is not aligned to the 64-bit boundary: evldd, evlddx, evldw, evldwx, evldh, evldhx,
evstdd, evstddx, evstdw, evstdwx, evstdh, and evstdhx.
Table 5-16
describes additional
ESR settings.
For lmw and stmw with a non–word-aligned operand and for load and reserve and store
conditional instructions with an misaligned operand, an implementation may yield boundedly
undefined results instead of causing an alignment interrupt. A store conditional to a
Table 5-15. External Input Interrupt Register Settings
Register
Setting
SRR0
Set to the effective address of the next instruction to be executed
SRR1
Set to the MSR contents at the time of the interrupt
MSR
CE, ME, and DE are unchanged. All other MSR bits are cleared.
Содержание PowerPC e500 Core
Страница 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Страница 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Страница 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Страница 316: ...PowerPC e500 Core Family Reference Manual Rev 1 7 18 Freescale Semiconductor Performance Monitor...
Страница 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Страница 362: ...PowerPC e500 Core Family Reference Manual Rev 1 10 26 Freescale Semiconductor Auxiliary Processing Units APUs...
Страница 440: ...PowerPC e500 Core Family Reference Manual Rev 1 A 8 Freescale Semiconductor Programming Examples...
Страница 444: ...PowerPC e500 Core Family Reference Manual Rev 1 B 4 Freescale Semiconductor Guidelines for 32 Bit Book E...
Страница 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Страница 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...