Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A processor executes 5 classes of instructions, with the CPI for each class as given below: Class CPI A 1 B 2 C 2 D

A processor executes 5 classes of instructions, with the CPI for each class as given below:

Class CPI

A 1

B 2

C 2

D 3

E 5

A certain benchmark program contains these instruction classes in the ratio 5:4:3:2:1. A compiler optimization can change the ratio of the instructions to 4:3:2:2:1 while reducing the total number of instructions by 5%.

a) What is the average CPI before and after the compiler optimization?

b) By what percentage will the performance of the processor (as measured by executing the said benchmark program) go up by this optimization? (Assume the clock cycle time remains constant)

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

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions

Question

What are the stages of project management? Write it in items.

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago