Question: Two different compilers are being tested for a 1GHz machine with three different classes of instructions: Class A. Class B, and Class C, which require

 Two different compilers are being tested for a 1GHz machine with

Two different compilers are being tested for a 1GHz machine with three different classes of instructions: Class A. Class B, and Class C, which require 2, 4 and 6 cycles (respectively). Both compilers are used to produce code for a large piece of software, Compiler 1 generates code with 4 billion Class A instructions, I billion Class B instructions, and I billion Class instructions Compiler 2 generates code with 8 billion Class A instructions, 1 billion Class B instructions, and I billion Class C instructions. The effective CPI of complier 2 is 4.5 0 2.1 3.7 O 2.6

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!