Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

[4] Compilers can have a profound impact on the performance of an application on given a processor. This problem will explore the impact compilers have

image text in transcribed
[4] Compilers can have a profound impact on the performance of an application on given a processor. This problem will explore the impact compilers have on execution time. For the same program, two different compilers are used. The table above shows the execution time of the two different compiled programs. Find the average CPI for each program given that the processor has a clock cycle time of 1ns. [5] You have a system that contains a special processor for doing floating-point operations. You have determined that 50% of your computations can use the floatingpoint processor. The speedup of the floating pointing-point processor is 15. (a) Overall speedup achieved by using the floating-point processor. (b) Overall speedup achieved if you modify the compiler so that 75% of the computations can use the floating-point processor. (c) What fraction of the computations should be able to use the floating-point processor in order to achieve an overall speedup of 2.25 ? [6] For the purpose of solving a given application problem, you benchmark a program on two computer systems. On system A, the object code executed 80 million Arithmetic Logic Unit operations (ALU ops), 40 million load instructions, and 25 million branch instructions. On system B, the object code executed 50 million ALU ops, 50 million loads, and 40 million branch instructions. In both systems, each ALU op takes 1 clock cycles, each load takes 3 clock cycles, and each branch takes 5 clock cycles. (a) Compute the relative frequency of occurrence of each type of instruction executed in both systems. (b) Find the CPI for each system. (c) Assuming that the clock on system B is 10% faster than the clock on system A, which system is faster for the given application problem and by how much percent? [7] A given application written in Java runs 15 seconds on a desktop processor. A new Java Compiler is released that requires only 0.6 as many instructions as the old compiler. Unfortunately, it increases the CPI by 1.1. How fast can we expect the application to run using the new compiler

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions