Question: 7.33 A RISC processor executes the following code. There are no data dependencies. r0, r1, r2 ADD ADD r3, 14, 15 ADD 16, 17,

7.33 A RISC processor executes the following code. There are no data

  

7.33 A RISC processor executes the following code. There are no data dependencies. r0, r1, r2 ADD ADD r3, 14, 15 ADD 16, 17, 18 ADD r9, r10, r11 ADD r12, r13, r14 ADD r15, r16, r17 a. Assuming a four-stage pipeline (fetch, operand fetch, execute, and write) what registers are being read during the sixth clock cycle and what register is being written? b. Assuming a five-stage pipeline (fetch, operand fetch, execute, write, and store) what registers are being read in the sixth clock cycle and what register is being written?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a In a fourstage pipeline each stage takes one clock cycle to complete Given the instructions provid... View full answer

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 Programming Questions!