Question: 3. Compute the total execution time for a single cycle architecture. The cycle time is 5-cycles. 5 + 10 = 10 ADDI $50, $t0, 50

3. Compute the total execution time for a single cycle architecture. The cycle time is 5-cycles. 5 + 10 = 10 ADDI $50, $t0, 50 SW $50, 8($t1) ADD $51, $50, $t2 BEQ $s2, $51, 10 [$s2 and $s1 are not equal] SUB $53, $s2, $50 AND $54, $s3, $s3 OR $55, $56, $s7 Now you want to improve the performance/reduce the execution time through multi-cycle pipeline. Assume each stage takes 1-cycle. Also, assume no hazard optimization technique (as example NO forwarding or rescheduling etc.) has been implemented in this architecture. What will be the new execution time? 4. What is hazard? What are the types of hazard? For the instructions in question 3, how many hazards may appear? How can you solve/optimize them? After solving/optimizing the hazards how long does it take to solve the instructions. Assume each stage takes 1- cycle. What is the cycle improvement after resolving/optimizing the hazards? 3+3+3+3+3 = 15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
