Question: Assume that for a given program 7 0 % of the executed instructions are arithmetic, 1 0 % are load / store , and 2
Assume that for a given program of the executed instructions are arithmetic, are
loadstore and are branch.
a Given the instruction mix and the assumption that an arithmetic instruction requires cycles,
a loadstore instruction takes cycles, and a branch instruction takes cycles, find the average
CPI.
b For a improvement in performance, how many cycles, on average, may an arithmetic
instruction take if loadstore and branch instructions are not improved at all?
c For a improvement in performance, how many cycles, on average, may an arithmetic
instruction take if loadstore 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
