Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. Consider two compilers producing machine code for a given program to be run on the same machine. The machine 's instructions are divided

image text in transcribed 

5. Consider two compilers producing machine code for a given program to be run on the same machine. The machine 's instructions are divided into class a with CPI of and class B with CPI of 2. Machine language programs produced by the two compilers lead to the execution of the following number of instructions from each class: In Class A, the instruction for compiler 1 is 600M and instruction for compiler 2 is 400M. In class B, the instruction for compiler1 is 400M and instruction for the compiler2 is 400M. A) What ae the execution time s of the two programs, assuming a 1 GHz clock rate? (7pts) B) Which compiler produces faster code and by what factor? (7pts) C) Which compiler's machine language output runs at a higher MIPS rate? D) What MIPS rate for the Class B? (7pts) (4pts)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Precalculus Concepts Through Functions A Unit Circle Approach To Trigonometry

Authors: Michael Sullivan

5th Edition

0137945139, 9780137945139

More Books

Students also viewed these Operating System questions

Question

Was the Hawthorne effect operating?

Answered: 1 week ago