Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

There are two compilers C1 and C2, from different companies. These two are used to create executables for the same code on a computer operating

There are two compilers C1 and C2, from different companies. These two are used to create executables for the same code on a computer operating at 15MHZ. The code compiled by them result in instruction size of C1 =150 and C2=171. If the average CPI of the two executables are 1.35 and1.2 respectively.

a. What is execution time of code generated by each compiler?

b. What is the ratio of performance of C1 vs C2?

c. The performance of C2 is bettered one and half times by improving 13% of the code. What is the resulting performance improvement?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

2. What is creditworthiness and how can it be determined ?

Answered: 1 week ago