Question: Problem 3 ( Design for Performance ) Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes
Problem Design for Performance
Consider two different implementations of the same instruction set architecture. The instructions can be
divided into four classes according to their CPI: class A class B class C and class D Processor P has a
GHz clock rate and CPIs of respectively, for the four instruction classes. Processor P has a
GHz clock rate and CPIs of respectively.
Given a program with a runtime instruction count of x instructions divided into the four classes as
follows: class A class B class C and class D
A Which implementation is faster?
B What is the average CPI for each implementation?
C Find the clock cycles required in both cases.
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
