Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer with steps Exercise 1.4 Consider two different implementations of the same instruction set architecture. There are four classes of instructions, A, B, C,

image text in transcribed

Please answer with steps

Exercise 1.4 Consider two different implementations of the same instruction set architecture. There are four classes of instructions, A, B, C, and D. The clock rate and CPI of each implementation are given in the following table. Clock rate P1 1.5 GHz P22 GH CPI Class A 1 2 CPI Class B 2 2 CPI Class C 3 2 CPI Class D 4 1.4.1 (10) Given a program with 10" instructions divided into classes as follows: 10% class A, 20% class B, 50% class C and 20% dass D, which implemen- tation is faster? 1.4.2 (5) What is the global CPI for each implementation? 1.4.3 (5) Find the clock cycles required in both cases. The following table shows the number of instructions for a program. Arith Store L oad Branch 500 50 100 50 Total 700 1.4.4 (5) Assuming that arith instructions take 1 cycle, load and store 5 cycles and branch 2 cycles, what is the execution time of the program in a 2 GHz processor? 1.4.5 (5) Find the CPI for the program. 1.4.6 (10) If the number of load instructions can be reduced by one-half, what is the speed-up and the CPI

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

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions

Question

What were the reasons for your conversion or resistance?

Answered: 1 week ago