If the second instruction from this table is fetched right after the instruction from the first table,
Question:
If the second instruction from this table is fetched right after the instruction from the first table, describe what happens in the pipeline when the first instruction causes the first exception you listed in 4.25.1. Show the pipeline execution diagram from the time the first instruction is fetched until the time the first instruction of the exception handler is completed.
Exercise 4.25.1
Which exceptions can each of these instructions trigger? For each of these exceptions, specify the pipeline stage in which it is detected.
This exercise explores how exception handling affects pipeline design. The first three problems in this exercise refer to the following two instructions:
Step by Step Answer:
Computer Organization And Design The Hardware Software Interface
ISBN: 9780123747501
4th Revised Edition
Authors: David A. Patterson, John L. Hennessy