Question: 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

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!