Menu

[Solved]-Question 1 Two Compilers Clang Gcc Using Default Compiler Options Program Chess Game Takes Q37183431

igot a 15% speedup as my answer. is that correct ?
Question 1 We have two compilers clang and gcc. Using the default compiler options, a program (chess game) takes 6 seconds toQuestion 1 We have two compilers clang and gcc. Using the default compiler options, a program (chess game) takes 6 seconds to run on processor P1 when compiled with clang, and 5 seconds when compiled with gcc. This means that gcc is 1.2 times faster with the default options: a) if we enable the gcc optimizations, we increase the CPI by 1.3 times and decrease the dynamic instruction count by 20%. What is the new speedup ? (1 points) Show transcribed image text Question 1 We have two compilers clang and gcc. Using the default compiler options, a program (chess game) takes 6 seconds to run on processor P1 when compiled with clang, and 5 seconds when compiled with gcc. This means that gcc is 1.2 times faster with the default options: a) if we enable the gcc optimizations, we increase the CPI by 1.3 times and decrease the dynamic instruction count by 20%. What is the new speedup ? (1 points)

Expert Answer


Answer to Question 1 We have two compilers clang and gcc. Using the default compiler options, a program (chess game) takes 6 secon… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *