Exceptions in the Pipeline
Handling exceptional conditions in the pipeline is difficult … multiple instructions are in process, but execution must be stopped at a coherent point
The operating system will handle exceptions
Two requirements …
- Save the address of offending instruction in EPC, exception program counter
- Transfer control to operating system