COMP 452 - Computer Architecture Assignment 1 Deadline: Wednesday May 25th Total Marks: 25 Roll No. Instructions (Failur
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
COMP 452 - Computer Architecture Assignment 1 Deadline: Wednesday May 25th Total Marks: 25 Roll No. Instructions (Failur
Q2: (5+5) Execute the following assembly code on a multi-cycle FP MIPS pipeline (without ROB and MEM enhancements) 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: 4 CC Without Data Forwarding FP MUL: 7 CC FP DIV: 40 CC INT ALU op/LD/SD: 1 CC IF ID EXE MEM WB Comments (Mention different hazards stalling the pipeline) MULD F8, F6, F2 DIV.D F8, F2, F4 SUB.D F2, F8, F9 S.D F2, 0(R3) ADD.D F1, F2, F15 L.D F1, 0(R7) With Data Forwarding ID EXE MEM WB Comments (Mention different hazards stalling the pipeline) MULD F8, F6, F2 DIV.D F8, F2, F4 SUB.D F2, F8, F9 S.D F2, 0(R3) ADD.D F1, F2, F15 L.D F1, 0(R7) IF
Q3: (5+5) Execute the following assembly code on a multi-cycle FP MIPS pipeline (with ROB and MEM enhancements) 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: 4 CC Without Data Forwarding FP MUL: 7 CC FP DIV: 40 CC INT ALU op/LD/SD: 1 CC IF ID EXE MEM WB Comments (Mention different hazards stalling the pipeline) MULD F8, F6, F2 DIV.D F8, F2, F4 SUB.D F2, F8, F9 S.D F2, 0(R3) ADD.D F1, F2, F15 L.D F1, 0(R7) With Data Forwarding ID EXE MEM WB Comments (Mention different hazards stalling the pipeline) MUL.D F8, F6, F2 DIV.D F8, F2, F4 SUB.D F2, F8, F9 S.D F2, 0(R3) ADD.D F1, F2, F15 L.D F1, 0(R7) IF