Question: For Problem 3b, consider that there are generic instructions , ... following beq . None of the generic instructions cause stalls (bubbles). Problem 3

For Problem 3b, consider that there are generic instructions , ... following beq . None of the generic instructions cause stalls (bubbles).

For Problem 3b, consider that there are generic instructions , ... following

\

Problem 3 (30 points) Consider a pipeline architecture with perfect branch prediction (no stalls), with no delay slots, which has full forwarding support and which resolves branches in the EX (not ID) stage. This pipeline executes the code below: HERE ld x10, 0 (x13) ld x11, 8 (x13) add x12, x10, x11 subi x13, x13, 16 beq x12, xo, heriE after 2> 3> 4> a) Assume the pipeline executes two iteration of the loop and show the pipeline execution diagram (graphical representation. Assume ccl is HERE ld x10.... instruction. During the two loop iterations which are the clock cycles for which the pipeline is full? Circle the stages that do not perform useful work (they just let partial results migrate from one b) c) pipeline register to the next) Problem 3 (30 points) Consider a pipeline architecture with perfect branch prediction (no stalls), with no delay slots, which has full forwarding support and which resolves branches in the EX (not ID) stage. This pipeline executes the code below: HERE ld x10, 0 (x13) ld x11, 8 (x13) add x12, x10, x11 subi x13, x13, 16 beq x12, xo, heriE after 2> 3> 4> a) Assume the pipeline executes two iteration of the loop and show the pipeline execution diagram (graphical representation. Assume ccl is HERE ld x10.... instruction. During the two loop iterations which are the clock cycles for which the pipeline is full? Circle the stages that do not perform useful work (they just let partial results migrate from one b) c) pipeline register to the next)

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!