Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the execution of the following sequence of four instructions on a five - stage pipelined processor which uses the always - not - taken
Consider the execution of the following sequence of four instructions on a fivestage pipelined processor which uses the alwaysnottaken strategy for branch prediction and has both the forwarding unit and hazard detection unit.
add x x x
sub x x x
beq x x LABEL
sd xx
Suppose the third instruction is detected to have an invalid target address and cause an exception in the ID stage. Fill in the following table by showing what instructions are in the IF ID EX MEM and WB stages. Note that each instruction in your answer should be one chosen from the given four instructions, the NOP instruction or bubble and the first instruction of the exception tableIFIDEXMEM,WBCycle Cycle Cycle Cycle Cycle handler
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started