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. branch jump. b has CPI 5,

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions