Question: 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
 You ran a benchmark program on a machine with a 200MHz

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!