Course Solutions Uncategorized (Solved) : Following Two Sequences Instructions Lw T0 0 Sp Add T0 T0 T0 Sw T0 0 Sp B Add T0 A0 A1 Sub Q33142074 . . . .

(Solved) : Following Two Sequences Instructions Lw T0 0 Sp Add T0 T0 T0 Sw T0 0 Sp B Add T0 A0 A1 Sub Q33142074 . . . .

 

For the following two sequences of instructions:
a:
LW $t0, 0 ($sp)
ADD $t0, $t0, $t0
SW $t0, 0 ($sp)
b:
ADD $t0, $a0, $a1
SUB $t1, $t0, $t1
ADD $t2, $t0, $t1

Use the given clock cycle times to answer the following questions Without Forwarding With ALU-ALU Forwarding With full forwarding 250 ps 275 ps 300 ps 3.1. What is the total execution time of each instruction sequence without forwarding and with full forwarding? What is the speed-up achieved by adding full forwarding to a pipeline that had no forwarding? 3.2. Add NOP instructions to this code to eliminate hazards if there is ALU-ALU forwarding only (no forwarding from the MEM to EX stage.) 3.3. What is the total execution time of each instruction sequence with only ALU-ALU forwarding? What is the speed-up over a pipeline without forwarding?

Use

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post