Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4 . Assume a program requires the execution of 2 0 FP instructions, 1 0 0 INT instructions, 9 0 2 Load / Store

Question 4. Assume a program requires the execution of 20 FP instructions, 100 INT instructions, 902 Load/Store (L/S) instructions, and 182 branch instructions. The CPI
(Cycles Per Instruction) for each type of instruction is 1.5,1,3, and 2, respectively. Assume that the processor has a 2.5GHz clock rate.
a. How many clock cycles does this program require in total?
b. How much CPU time is required to execute this program?
c. By how much must we improve the CPI of FP instructions if we want the program to run two times faster?
d. By how much must we improve the CPI of L/S instructions if we want the program to run two times faster?
e. By how much is the execution time of the program improved if the CPI of INT and FP instructions is reduced by 30% and the CPI of L/S and Branch is reduced by 20%?
f. What is the average CPI for this program?
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_2

Step: 3

blur-text-image_3

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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions