0

A certain benchmark contains 195578 floating point operations, with details shown
in the table in the Figure 1 given below.

The benchmark was run on an embedded processor after compilation with optimization
turned on. The embedded processor is based on a current RISC processor
that includes floating point function units, but the embedded processor
does not include floatin point for the reaon of cost, power consumption , lack of need
for floating point by the target applications. The compiler allows the
floating point instructions to be calculated with the hardware units or using
software routines, depending on the compiler flags. The bench mark took 1.08
seconds on the RISC processor and 13.6 seconds using software on its embedded version.
Assume that the CPI(cycles per instruction) using the RISC processor was 10
and that of the embedded version of the processor was 6.

Figure 1 below : Occurences of floating point operations

OPERATION COUNT
Add 82014
Subtract 8229
Multiply 73220
Divide 21399
Convert integer to FP (floating point) 6006
Compare 4710
Total 195578

a. what is the total no. of instructions executed by both runs?
b. What is the MIPS rating for both runs?
c. On the average, how many integer instructions does it take to perform a floating point operation
in the software?

4
Contributors
3
Replies
4
Views
12 Years
Discussion Span
Last Post by Sruthi11
0

d. How quickly can you get someone else to do your assignment?

:-)

Did you have a question, or are we just supposed to admire the kinds of quizes your teacher gives?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.