Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

that for a program, compiler A results in a dynamic instruction count (ICA) of 9.0E8 and has a CPU time or an execution time (ETA)

image text in transcribed

that for a program, compiler A results in a dynamic instruction count (ICA) of 9.0E8 and has a CPU time or an execution time (ETA) of 1.1s, while compiler B results in a dynamic instruction count (ICB) of 1.4E9 and an execution time (ETB) of 1.7s. 2.a) Find the average CPI (CPI) for each program given that the processor has a clock cycle time (Tclk) of 2.5ns. 2.b) Assume the compiled programs run on two different processors. If the execution times on the two processors are the same, how much faster is the clock rate of the processor running compiler A's code versus the clock rate of the processor running compiler B's code? 2.c) A new compiler is developed that uses 1.3E9 instructions and has an average CPI of 1.9. What is the speedup of using this new compiler over using compiler A or B on the original processor? (comparing results to part a)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions