Question: Problem 2 Consider that you have a code of 4 0 0 , 0 0 0 instructions which is executed using a 1 6 stages
Problem
Consider that you have a code of instructions which is executed using a stages pipeline. It is expected that of the instructions will cause an exception In order to handle the exception, it will take cycles to flush the pipeline, cycles to reload and cycles to execute the handler. The pipeline frequency is
i How many cycles does it take to execute the code?
total cycles
ii What is the average CPI for this code?
iii How long does it take to execute the code?
seconds
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
