Question: Suppose a new version of a microprocessor has dedicated hardware to perform double-precision (floating point) square root with a new instruction DSQRT. Previously double-precision square

Suppose a new version of a microprocessor has dedicated hardware to perform double-precision (floating point) square root with a new instruction DSQRT. Previously double-precision square roots were found by calling a subroutine. Before optimization, on a given benchmark, 0.6 of total execution time was spent in the subroutine calculating double precision square root. If the speedup to overall execution time is a factor of 2, by what factor is the calculation of double precision square root sped up by replacing the subroutine with the new instruction? If adding the DSQRT instruction results in a lengthening of cycle time by a factor of 1.2, and if replacing the subroutine with a single instruction results in a reduction in dynamic instruction count to 0.3 of the original dynamic instruction count, and if the original average CPI was 1.0, what is the new average CPI if the overall speedup is 2?

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!