User’s Manual
IBM PowerPC 750GX and GL RISC Microprocessor
Table
FE0 | FE1 | Mode |
|
|
|
|
|
|
0 | 0 | |
|
|
|
0 | 1 | Imprecise nonrecoverable. For this setting, the 750GX operates in |
|
|
|
1 | 0 | Imprecise recoverable. For this setting, the 750GX operates in |
|
|
|
1 | 1 | |
|
|
|
When a condition exists that might cause an exception to be generated, it must be determined whether the exception is enabled for that condition.
•IEEE
•Asynchronous, maskable exceptions (such as the external and decrementer interrupts) are enabled by setting MSR[EE]. When MSR[EE] = 0, recognition of these exception conditions is delayed. MSR[EE] is cleared automatically when an exception is taken, to delay recognition of conditions causing those excep- tions.
•A
•System reset exceptions cannot be masked.
4.3.5 Steps for Exception ProcessingAfter it is determined that the exception can be taken (by confirming that any
1.SRR0 is loaded with an instruction address that depends on the type of exception. Normally, this is the instruction that would have completed next had the exception not been taken. See the individual excep- tion description for details about how this register is used for specific exceptions.
2.SRR1[1:4, 10:15] are loaded with information specific to the exception type.
3.SRR1[5:9, 16:31] are loaded with a copy of the corresponding MSR bits. Depending on the implementa- tion, reserved bits might not be copied.
4.The MSR is set as described in Section 4.3.6. The new values take effect as the first instruction of the
5.Note that MSR[IR] and MSR[DR] are cleared for all exception types. Therefore, address translation is dis- abled for both instruction fetches and data accesses beginning with the first instruction of the exception- handler routine.
6.Instruction fetch and execution resumes, using the new MSR value, at a location specific to the exception type. The location is determined by adding the exception's vector (see Table
Exceptions | gx_04.fm.(1.2) |
Page 160 of 377 | March 27, 2006 |