Question: Having a 1GHz machine, three different compilers are being used with three different classes of instructions: Class A, Class B, and Class C, which requires

Having a 1GHz machine, three different compilers are being used with three different classes of instructions: Class A, Class B, and Class C, which requires 2, 1 and 4 cycles (respectively). Compiler 1 generates code with 10 Million Class A instructions, 25 Million Class B instructions, and 1 billion Class C instructions. Compiler 2 generates code with 500 Million Class A instructions, 500 Million Class B instructions, and 25 Million Class C instructions. Compiler 2 generates code with 15 Million Class A instructions, 1 billion Class B instructions, and 10 Million Class C instructions. Assignment Requirements: 1- Which sequence will be faster according to execution time, prove it mathematically? 2- Find MIPS for each sequence.

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!