Interrupts and Exceptions
PowerPC e500 Core Family Reference Manual, Rev. 1
Freescale Semiconductor
5-31
5.7.15 EIS-Defined Interrupts
The interrupts in this section are defined by the EIS and supported by the e500.
NOTE
The SPE APU and embedded floating-point APU functionality is
implemented in all PowerQUICC III devices. However, these
instructions will not be supported in devices subsequent to
PowerQUICC III. Freescale Semiconductor strongly recommends
that use of these instructions be confined to libraries and device
drivers. Customer software that uses SPE or embedded floating-point
APU instructions at the assembly level or that uses SPE intrinsics will
require rewriting for upward compatibility with next-generation
PowerQUICC devices.
Freescale Semiconductor offers a libmoto_e500 library that uses SPE
instructions. Freescale will also provide libraries to support
next-generation PowerQUICC devices.
5.7.15.1 SPE/Embedded Floating-Point APU Unavailable Interrupt
As defined by the EIS, an SPE APU unavailable interrupt is taken if MSR[SPE] is cleared and an
SPE, embedded scalar double-precision (e500v2 only), or embedded vector single-precision
floating-point instruction is executed. It is not used by the embedded scalar single-precision
floating-point APU. However, on the e500v1, MSR[SPE] affects the SPE and both the vector and
scalar single-precision floating-point APUs.
On the e500v2, MSR[SPE] affects only instructions that affect the upper and lower portions of the
64-bit GPRs, that is, instructions defined by the SPE, the vector single-precision floating-point
APU, and the double-precision floating-point APUs. It does not affect scalar single-precision
floating-point APU instructions.
When an SPE unavailable interrupt occurs, the processor suppresses execution of the instruction
causing the interrupt. The SRR0, SRR1, MSR, and ESR registers are modified as shown in
Table 5-29
.
Instruction execution resumes at address IVPR[32–47] || IVOR32[48–59] || 0b0000.
Table 5-29. SPE/Embedded Floating-Point APU Unavailable Interrupt Register Settings
Register
Setting
SRR0
Set to the effective address of the instruction causing the interrupt.
SRR1
Set to the MSR contents at the time of the interrupt.
MSR
CE, ME, and DE are unchanged. All other bits are cleared.
ESR
SPE (bit 24) is set. All other ESR bits are cleared.
Summary of Contents for PowerPC e500 Core
Page 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Page 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Page 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Page 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Page 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Page 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...