Question: . Only show the first 2 iterations * The pipeline is IS/EXMEM/WB For load/store, EX is for address calculation, and MEM is for memory access

 . Only show the first 2 iterations * The pipeline is

. Only show the first 2 iterations * The pipeline is IS/EXMEM/WB For load/store, EX is for address calculation, and MEM is for memory access * Ignore the DADDIU instruction before the loop . The functional units are described in the table below, FU Type Cycles in EX Number of FUs Number of reservation stations Integer FP adder FP multiplier 12 Answer: Iteration Instruction Issue Execution Memorv Comment Write to CDB L.D F10, 0(R2) MUL.D F2, F10, F0 L.D F8, 0(R3) ADD.D F8, F2, F8 S.D F8, 0(R3) DADDIU R2, R2, #8 DADDIU R3, R3, #8 DSLTU R5, R2, R4 BNEZ R5, foo L.D F10, 0(R2) MUL.D F2, F10, F0 L.D F8, O(R3) ADD.D F8, F2, F8 S.D F8, 0(R3) DADDIU R2, R2, #8 DADDIU R3, R3, #8 DSLTU R5, R2, R4 BNEZ R5, foo 1 . Only show the first 2 iterations * The pipeline is IS/EXMEM/WB For load/store, EX is for address calculation, and MEM is for memory access * Ignore the DADDIU instruction before the loop . The functional units are described in the table below, FU Type Cycles in EX Number of FUs Number of reservation stations Integer FP adder FP multiplier 12 Answer: Iteration Instruction Issue Execution Memorv Comment Write to CDB L.D F10, 0(R2) MUL.D F2, F10, F0 L.D F8, 0(R3) ADD.D F8, F2, F8 S.D F8, 0(R3) DADDIU R2, R2, #8 DADDIU R3, R3, #8 DSLTU R5, R2, R4 BNEZ R5, foo L.D F10, 0(R2) MUL.D F2, F10, F0 L.D F8, O(R3) ADD.D F8, F2, F8 S.D F8, 0(R3) DADDIU R2, R2, #8 DADDIU R3, R3, #8 DSLTU R5, R2, R4 BNEZ R5, foo 1

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!