Is the technical department (which looks at execution time) happy - is MPlus faster or slower than MBase? Justify quantitatively.
Is the marketing department (which advertises MIPS) happy? Justify quantitatively.
Instruction Type | Frequency | Clock Cycles |
ALU Ops | 40% | 1 |
Loads | 23% | 2 |
Stores | 13% | 2 |
Branches | 24% | 3 |
What is the CPI of MFast? What is its MIPS rating?
Now your compiler optimizations allow you to eliminate half of the loads and half of the stores. What is the new CPI? How much better is the performance of MFast with optimized code? Do the MIPS ratings of MFast before and after optimizations give an adequate measure of improved performance?
Implementations of floating point square root (FPSQR) vary widely. A customer from Fast Computers has a very important benchmark which spends 15% of its execution time on FPSQR instructions. Fast Computers' other design technician proposes a hardware extension to speed FPSQR up by a factor of 10. You, with your experience in computer design, know that floating point operations take up 50% of the benchmark's execution time, so you propose extensions which will speed up all floating point operations so they run 1.8 times faster.
What is the speedup for the FPQSR enhancement?
What is the speedup for your enhancement?
Which is better?