Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students also viewed these Databases questions