Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started