Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume for a given processor the C P I of arithmetic instructions is 2 , the C P I of load / store instructions is

Assume for a given processor the CPI of arithmetic instructions is 2, the CPI of load/store
instructions is 8, and the CPI of branch instructions is 4. Assume a program has the following
instruction breakdowns: 450 million arithmetic instructions, 300 million load store instructions, and
150 million branch instructions.
a. Suppose that new more powerful arithmetic instructions are added to the instruction set. On
average, through the use of these more powerful arithmetic instructions, we can reduce the number
of arithmetic instructions needed to execute a program by 25%?
b. For a, the cost of increasing the clock cycle time is only 10% is this a good design choice? Why?
c. Suppose that we find a way to double the performance of arithmetic instructions. What is the
overall speedup of our machine?
d. What if we improve the performance of arithmetic instructions by 10 times?
Assume that for a given program 65% of the executed instructions are arithmetic, 20% are
load/store, and 15% are branch. Given the instruction mix and the assumption that an arithmetic
instruction requires 2 cycles a load store instruction requires 6 cycles and a branch instruction
requires 3 cycles find the average CPI .
a. For a 25% improvement in performance how many cycles on average may an arithmetic
instruction take if a load/store and branch instructions are not improved?
b. For a 50% improvement in performance how many cycles on average may an arithmetic
instruction take if load/store and branch instructions are not improved?
c. For a 5% improvement in performance how many cycles must a branch instruction take if
load/store and arithmetic instructions are not improved?
d. For a 5% improvement in performance how many cycles must a load/store instruction take if
branch and arithmetic instructions are not improved?
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

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 2 Lncs 13427

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124251, 978-3031124259

More Books

Students also viewed these Databases questions