Question

A. If precise exception is not a functional requirement, would you expect the out of order...

A. If precise exception is not a functional requirement, would you expect the out of order execution engine to be easier or more difficult to implement. Justify your answer.

B. Why is precise exception a necessary requirement from a software programmer’s perspective?

C. You are trying to implement a physical register file with register renaming. How does your implementation requirement change if the front of the pipeline does not perform any branch prediction?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

A.if the precise exception is not a functional requirement,then the out of order execution engine will be more difficult to implement since precise exceptions aid in software debugging,they enable easy recovery from exceptions (for example:Page faults) and they also enable easy restartable processes.These advantages of precise exception makes it more difficult to implement the out of order execution engine since it is considered that precise exception is not a functional requirement.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

B.Precise exception is a necessary requirement from a software programmer's perspective for the following reasons:

  When the oldest instruction ready-to-be-retired is detected to have caused an exception, the control logic

  • Recovers architectural state (register file, IP, and memory)
  • Flushes all younger instructions in the pipeline
  • Saves IP and registers (as specified by the ISA)
  • Redirects the fetch engine to the exception handling routine
  • Vectored exceptions.

------------------------------------------------------------------------------------------------------------------------------------------------------------------

C.When we try to implement a physical register file with register renaming. The implementation requirement change if the front of the pipeline does not perform any branch prediction in the following manner:

A branch misprediction resembles an “exception ”

  • Except it is not visible to software
  • Similar to exception handling except can be initiated before the branch is the oldest instruction
  • All three state recovery methods can be used if the front of the pipeline does not perform any branch prediction.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

Add a comment
Know the answer?
Add Answer to:
A. If precise exception is not a functional requirement, would you expect the out of order...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • How can we assess whether a project is a success or a failure? This case presents...

    How can we assess whether a project is a success or a failure? This case presents two phases of a large business transformation project involving the implementation of an ERP system with the aim of creating an integrated company. The case illustrates some of the challenges associated with integration. It also presents the obstacles facing companies that undertake projects involving large information technology projects. Bombardier and Its Environment Joseph-Armand Bombardier was 15 years old when he built his first snowmobile...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT