We have two compilers clang and gcc. Using the default compileroptions, a program (chess
game) takes 6 seconds to run on processor P1 when compiled withclang, and 5 seconds when
compiled with gcc. This means that gcc is 1.2 times faster with thedefault options:
a) if we enable the gcc optimizations, we increase the CPI by1.3 times and decrease the
dynamic instruction count by 20%. What is the new speedup ? (1points)
b) If we also enable the clang compiler optimizations, weincrease CPI by 70%. How much does
the instruction count need to change (increase or decrease?) sothat it matches the
performance of the gcc compiler with
OR
OR