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 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
a In a fourstage pipeline each stage takes one clock cycle to complete Given the instructions provid... View full answer
Get step-by-step solutions from verified subject matter experts
