Question: Two different compilers are being tested for a 5 0 0 M H z . machine with three different classes of instructions: Class A ,

Two different compilers are being tested for a 500MHz. machine with three different classes of instructions: Class A, Class B, and Class C, which require 1,2 and 3 cycles (respectively). Both compilers are used to produce code for a large piece of software.
Compiler 1 generates code with 5 billion Class A instructions, 1 billion Class B instructions, and 1 billion Class C instructions.
Compiler 2 generates code with 10 billion Class A instructions, 1 billion Class B instructions, and 1 billion Class C instructions.
Which sequence will be faster according to MIPS?
Which sequence will be faster according to execution time?
 Two different compilers are being tested for a 500MHz. machine with

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!