Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Only show the first 2 iterations The pipeline is I/EXMEM/WB For load/store, EX is for address calculation, and MEM is for memory access Ignore the
Only show the first 2 iterations The pipeline is I/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 # of reservation Integer FP multiplier FP adder 9 Issue Execution Memory Write to Comment CDB LD F10, 0(R2) MUL.D F2, FI0, FO 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 LD FI0, 0(R2) MULD F2, FI0, FO 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 Only show the first 2 iterations The pipeline is I/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 # of reservation Integer FP multiplier FP adder 9 Issue Execution Memory Write to Comment CDB LD F10, 0(R2) MUL.D F2, FI0, FO 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 LD FI0, 0(R2) MULD F2, FI0, FO 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started