Question: ( 2 0 points ) [ Instruction Mix and CPI ] Assume that for a given program, 6 5 % of the executed instructions are

(20 points)[Instruction Mix and CPI] Assume that for a given program, 65% of the executed
instructions are ALU, 25% are load/store, and 10% are branch.
a) Given this instruction mix and the assumption that an ALU instruction requires 2 cycles,
a load/store instruction takes 7 cycles, and a branch instruction takes 3 cycles, find the
effective CPI.
b) For a 20% improvement in performance, how many cycles, on average, will an ALU
instruction take if load/store and branch instructions are not improved at all?

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!