1. Anna designs a 2.5 GHz processor where two important programs, A and B, take one second each to execute. Each program has a CPI of 1.25. Elsa is tasked with designing the company's next-generation processor and she comes up with an idea that improves the CPI of A to 1.1 and the CPI of B to 0.9. But the idea is so complex that
1. Anna designs a 2.5 GHz processor where two important programs, A and B, take one
second each to execute. Each program has a CPI of 1.25. Elsa is tasked with designing
the company's next-generation processor and she comes up with an idea that improves
the CPI of A to 1.1 and the CPI of B to 0.9. But the idea is so complex that the
processor can only be implemented with a cycle time of 0.5 ns. Does Elsa's new
processor out-perform Anna's processor on program A? How about on program B?
2. Consider two different implementations of the same instruction set architecture. The
instructions can be divided into four classes according to their CPI (class A, B, C, and
D). P1 with a clock rate of 2.5 GHz and CPIs of 1, 2, 3, and 3, and P2 with a clock
rate of 3 GHz and CPIs of 1, 2, 2, and 2.Given a program with a dynamic instruction
count of 106 instructions divided into classes as follows: 10% class A, 20% class B,
50% class C, and 20% class D, which is faster: P1 or P2?
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images