Question: Q1: (5+5) Execute the following assembly code on a multi-cycle FP MIPS pipeline and register the respective cycle number in the table: a) With stall

Q1: (5+5) Execute the following assembly code on a multi-cycle FP MIPS pipeline and register the respective cycle number in the table: a) With stall detection and without data forwarding b) With stall detection and with data forwarding. Observe the following lengths for different execution units: FP ADD/SUB: 2 CC FP MUL: 10 CC FP DIV: 20 CC INT ALU op/LD/SD: 1 CC Without Data Forwarding IF ID EXE MEM WB Comments (Mention different hazards stalling the pipeline) L.D F2, 0(R3) ADD.D F5, F2, F1 MULD F10, F5, F8 DIV.D F9, F2, F12 SUB.D F8, F10, F6 S.D F8, 0(R3) F8, 45(R2) DADDI R3, R3,8 L.D With Data Forwarding IF ID EXE MEM WB Comments (Mention different hazards stalling the pipeline) L.D F2, (R3) ADD.D F5, F2, F1 MULD F10, F5, F8 DIV.D F9, F2, F12 SUB.D F8, F10, F6 S.D F8, O(R3) L.D F8, 45(R2) DADDI R3, R3,8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
