Question: 1. 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
1. 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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
