Question: A LOAD/STORE machine has the characteristics shown below. We also observe that 25% of the ALU operations directly use a loaded value that is not
A LOAD/STORE machine has the characteristics shown below. We also observe that 25% of the ALU operations directly use a loaded value that is not used again. thus we hope to improve things by adding new ALU instructions that have one source operand in memory. The CPI of the new instructions is 2. the only unpleasent consequence of this change isthat the CPI of branch instructions will increase from 2 to 3. overall, will CPU performace increase?
Instruction type frequency CPI
ALU op .43 1
Loads .21 2
stores .12 2
branches .24 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
