A program contains the following instruction mix:
60% load/store instructions with execution time of 1.2 µs each
10% ALU instructions with execution time of 0.8 µs each
30% branch instructions with execution time of 1.0 µs each.
a. If the clock period is 0.2 µs, calculate the average CPI for the program.
b. What is the average MIPS rate of the program?
2. Assume all instructions of the computer A design will execute in 8 clock cycles and all
instructions of the Computer B design will execute in 7 clock cycles. Also assume that
clock period for design A is 66.25 ns while clock period for design B is 75 ns.
Compute the speedup to be expected for the computer of design B.