LW R1, 0(R5) ADD R2, R2, R1by
ADD R2, 0(R5)Assume the new instruction will cause the clock cycle to increase by 5%. Use the instruction frequencies for the gcc benchmark on the load-store machine from figure A.27. The new instruction affects only the clock cycle and not the CPI.
Our compiler will be changes so that code sequence of the form:
ADD R1, R1, R2 LW R4, 100(R1)
will be replaced with a load using the new addressing mode. Use the overall average instruction frequencies from figure A.27 in evaluating this addition.