Question: compiler C 1 : arithmetic: 4 0 % , Memory : 3 0 % , control : 2 0 % . CPU cycle count: arithmetic:

compiler C 1 : arithmetic: 40%, Memory : 30%, control : 20%. CPU cycle count: arithmetic: 4,memory : 3, control : 2. clock rate : 4 GHz .A different compiler C2 generates code that replaces some arithmetic with lookup table accesses. Specifically, it can replace 10 arithmetic instructions with one memory access, and it can do this on 10% of arithmetic instructions. For benchmark B, which compiler is faster and by how much?

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!