Question: 6. Assume that computer M1 has CPU clock rate 200MHz, and supports four classes of instructions ALU, Iw, sw. branch jump. b has CPI 5,

 6. Assume that computer M1 has CPU clock rate 200MHz, and

6. Assume that computer M1 has CPU clock rate 200MHz, and supports four classes of instructions ALU, Iw, sw. branch jump. b has CPI 5, sw has CPI =4, ALU instruction has CPI = 4, and branch/jump has CPI-3. The following program P is used in testing the computer performance Loop: add St0, Szero, Szero or St0, $t1, Stl subu Stl, St1, Ss6 addi St0, St0, 1 sw $t0, 0(St1) and Ss3, Ss3, Ss4 bae Sto, Ss5, Loop a. What is the average CPI for program P? b. Another computer M2 with clock rate of 1GHz has the same performance as computer M1 when it runs the program P. What is the average CPI of computer M2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!