Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider two different implementations, P 1 and P 2 , of the same instruction set architecture. The instructions can be divided into four classes according

Consider two different implementations, P1 and P2, of the same instruction set architecture. The
instructions can be divided into four classes according to their CPI (classes A, B, C, and D). P1 with a clock
rate of 2.5 GHz and CPIs of 1,2,3, and 4 respectively, and P2 with a clock rate of 3 GHz and CPIs of 2,2,
2, and 2 respectively. Given a program with an instruction count of 1.0E9(this is the scientific notation
for writing 1*10
9
) instructions, is divided into classes as follows: 20% class A,10% class B,40% class C,
and 30% class D
a. Which implementation is faster to run the given program: P1 or P2?(2pts)
b. What is the global (average) CPI for each implementation? (2 pts)
c. Find the number of clock cycles required to execute the program in both cases. (2pts)C) Consider two different implementations, P1 and P2, of the same instruction set architecture. The
instructions can be divided into four classes according to their CPI (classes A, B, C, and D). P1 with a clock
rate of 2.5GHz and CPI s of 1,2,3, and 4 respectively, and P2 with a clock rate of 3GHz and CPIs of 2,2,
2, and 2 respectively. Given a program with an instruction count of 1.0E9(this is the scientific notation
for writing 1**109) instructions, is divided into classes as follows: 20% class A,10% class B,40% class C,
and 30% class D
a. Which implementation is faster to run the given program: P1 or P2?(2pts)
b. What is the global (average) CPI for each implementation? (2 pts)
c. Find the number of clock cycles required to execute the program in both cases. (2pts)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions

Question

Develop a self-management module for a training program.

Answered: 1 week ago

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago