Question: Consider the following table 3 for latencies and the code given in question 1 (consider populate table 1 and table 2 for clock cycles). add
Consider the following table 3 for latencies and the code given in question 1 (consider populate table 1 and table 2 for clock cycles).
add $t0,$t0,$t2
addi $s0,$t0,4
lw $t2, 0($s0)
lw $t1, 4($t2)
add $t0,$t1,$t2
lw $t2, 8($s0)

Question 2. Consider the following table 3 for latencies and the code given in question 1 (consider populate table 1 and table 2 for clock cycles). a. [3 points] Calculate the ratio of the CPU Time (non-pipelining processor) to the CPU Time (pipelined processor WITHOUT forwarding). b. [3 points] Calculate the ratio of the CPU Time (non-pipelining processor) to the CPU Time (pipelined processor WITH forwarding). c. [4 points] Calculate the ratio of the CPU Time (pipelined processor WITHOUT forwarding) to the CPU Time (pipelined processor WITH forwarding)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
