### 1 2 pts computer a executes the mips isa and computer b executes the x86 isa on aver 5191836 1. (2 pts) Computer A executes the MIPS ISA and computer B executes the x86 ISA. On average, programs execute 1.5 times as many MIPS instructions as x86 instructions. Computer A has an average CPI of 1.5 and computer B an average CPI of 3. If computer B runs at a 3GHz clock frequency, what speed does computer A have to run at to be at least as fast as computer B?

2. (4 pts)
i. Calculate the CPI of this machine:

 Type CPI for type Frequency Arith/Logic 4 40% Load 5 30% Store 3 10% branch 3 20%

ii. If the clock frequency of this machine is 2.5 GHz, Calculate the average MIPS ratings.

3.(2pts) Which type of instruction is the bottleneck of (most impact on performance) this machine.

 Type CPI for type Frequency Load 4 30% Store 6 10% Add 2 40% Mul 12 8% Div 40 2% Cond 4 8% uncond 2 2%

4. (4 pts) Suppose a program segment consists of a purely sequential part which takes 25 cycles to execute, and a code loop part which takes 100 cycles per loop iteration. Assume the loop iterations are independent and cannot be

further parallelized. If the loop is to be executed 10 times, what is the maximum speedup possible using an infinite number of processors (compared to a single processor)?