Question: There are two compilers C1 and C2, from different companies. These two are used to create executables for the same 1 code on a computer
There are two compilers C1 and C2, from different companies. These two are used to create executables for the same 1 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 and 1.2 respectively. What is execution time of code generated by each compiler? What is the ratio of performance of C1 vs C2? The performance of C2 is bettered one and half times by improving 13% of the code. What is the resulting performance improvement? b. + + H
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
