Question: (8 pts) [20] Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according.to their CPI (class

 (8 pts) [20] Consider two different implementations of the same instruction

set architecture. The instructions can be divided into four classes according.to their

(8 pts) [20] 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). They might, for example, be Integer instructions, Floating Point instructions, Load/Store instructions and Control instructions like jump and branch 4. P1 has a clock rate of 3.0 GHz and P2 has a clock rate of 4.0 GHz For P1, the CPIs for instruction types A-D are 1, 2, 3, and 3. For P2, the CPIs for instruction types A-D are 2, 3, 2, and 1 We have 2 million instructions in our program Our distribution of instructions is 15% A, 30% B. 45% C and 10% D (2 pts) How many instructions are run for each class? (fill in below) (2 pts) How many cycles does each processor require? (fill in below) a. b. I-Class Distribution I-Count P1 CPI P1 Cycles P2 CPIP2 Cvcles 15% 3090 45% 10% 100% Totals N/A N/A (2 pts) What's the total execution time for each processor? (this tells you the faster one Total cycles +processor speed gives us elapsed time. Total execution time for P1 Total execution time for P2: ms d. (2 pts) What's the overall "Global") CPI for each processor? Global CPI is total cycles Global CPI for P1 Global CPI for P2 total instructions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!