Question: 2. Consider executing the following assembly code in MIPS five stage (IF, ID, EX, ME, WB) pipeline model: Assume at most two instructions (i.e., one

 2. Consider executing the following assembly code in MIPS five stage

(IF, ID, EX, ME, WB) pipeline model: Assume at most two instructions

2. Consider executing the following assembly code in MIPS five stage (IF, ID, EX, ME, WB) pipeline model: Assume at most two instructions (i.e., one ALU/branch and one load/store) can be issued at each cycle, data access from/to memory does not interfere the instruction fetch, data forwarding is implemented, branch prediction is perfect (i.e., branch does not stall), and you may reorder the code within one iteration to avoid the pipeline stalls. Complete the execution diagram for one iteration. On average, how many cycles are needed to finish one original iteration if there are infinite numbers of iterations

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!