Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6. Assume that computer M1 has CPU clock rate 200MHz, and supports four classes of instructions: ALU, Iw, sw, branchjump lw has CPI5, sw has
6. Assume that computer M1 has CPU clock rate 200MHz, and supports four classes of instructions: ALU, Iw, sw, branchjump lw has CPI5, sw has CPl 4, ALU instruction has CPI4 and branchjump has CPI 3 The following program Pis used in testing the computer performance: Loop add $t0, szero, $zero subu St1#1 $56 Iw $t0, 0St1) addi St0, $t0, 1 sw Sto, 0st1) and $s3, Ss3, $$4 bne $t0, $55, Loop a. What is the average CPl 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 CPl of computer M2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started