Precise Exceptions
  • Exceptions can occur in different pipeline stages on different instructions. Multiple exceptions can occur in the same clock cycle.
  • Supporting precise exceptions means that:
    • The exception addressed first is the one associated with the instruction that entered the pipeline first.
    • The instructions that entered the pipeline previously are allowed to complete.
    • The instruction with the exception and the ones that follow are flushed.
    • The appropriate instruction can be restarted after the exception is handled or the program can be terminated.
Chapter 6: Enhancing Performance with Pipelining - 71 of 88