Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You ran a benchmark program on a machine with a 2 0 0 M H z clock. For unoptimized code it executes 2 5 0

You ran a benchmark program on a machine with a 200MHz clock. For
unoptimized code it executes 250000 instructions 5.0ms(millieseconds), for
optimized code it executes 80000 instructions in 1.2ms.
The CPI of the unoptimized code is
Clock rate =2***108
Instruction =2.5***106
Time =5**1
CPI =5**10-3?**2***1082.5***106=0.4
The CPI of the optimized code is
Clock rate =2**108
Instruction =8***104
Time =1.2**10**-3
CPI =1.2**10-3?**2**1088**104=3
Part C:
Suppose that a FSQRT function is responsible for 45% of the execution time of some
application and all floating-point FP instructions (ALLFP) are responsible for 50%. To
improve the performance of this application, the developers asked you to help them
select the best of the following two choices:
First choice: execute ALLFP instructions 2.5x faster.
10.52.5+0.5=1.428
Second choice: to speed up the FSQRT function by a factor of 8
10.4512+0.55=1.702 ## explain these questions and show the formulas used please show all the steps to these questions and explain how the result was obtained
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

Big Data Systems A 360-degree Approach

Authors: Jawwad ShamsiMuhammad Khojaye

1st Edition

0429531575, 9780429531576

More Books

Students also viewed these Databases questions

Question

Describe the reasons why clinical psychologists perform research.

Answered: 1 week ago

Question

When should you avoid using exhaust brake select all that apply

Answered: 1 week ago

Question

What does this key public know about this issue?

Answered: 1 week ago

Question

What is the nature and type of each key public?

Answered: 1 week ago

Question

What does this public need on this issue?

Answered: 1 week ago