Question: Q . 2 . Architecture performance [ 1 5 marks ] A program consists of 1 0 million instructions that require either 3 , 5

Q.2. Architecture performance
[15 marks]
A program consists of 10 million instructions that require either 3,5, or 6 machine cycles for
their execution on a certain microprocessor. Of these instructions,
(40+f)% require 3 machine cycles,
(30+g-f)% require 5 machine cycles, and
(30-g)% require 6 machine cycles.
a) What is the average number of machine cycles per instruction for this program?
Answer
b) If the above program is the only one that this microprocessor executes, what is the required
clock rate for this microprocessor to be a "1500 MIPS" processor?
Answer
c) If 40% of the instructions of the above program require memory access that needs an
average of 10 additional machine cycles, what is the average number of machine cycles per
instruction, including these memory related instructions?
Answer
Q . 2 . Architecture performance [ 1 5 marks ] A

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 Programming Questions!