Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider two different processors with the same instruction set architecture. There are four types of instructions: ALU,load,store,and branch. The clockrate and CPI of each implementation

image text in transcribed

Consider two different processors with the same instruction set architecture. There are four types of instructions: ALU,load,store,and branch. The clockrate and CPI of each implementation are given in the following table:

ALU 45% Load 25% Store 20% Branch 10% (a) Calculate the CPI when running P on each of processor A and B.

(b) Which processor is faster, and by what speedup?

(c) For processor A, if we can choose either load or branch instructions to make twice as fast, which should we choose, and why?

(d) Whats the average MIPS for processor A and B?

Consider two different processors with the same instruction set architecture. There are four types of instruc- tions: ALU, load, store, and branch. The clock rate and CPI of each implementation are given in the following table Processor Clock rate ALULoadStore Branch 2 GHz 3 GHz 2 2 2 4 2 Program P has 109 instructions and is executed on each processor. The distribution of instructions executed ALU 45% Load 25% Store 20% Branch 1090 WhenIs run Is as follows: (a) [2 points] Calculate the CPI when running P on each of processor A and B (b) [2 points] Which processor is faster, and by what speedup? (c) [2 points] For processor A, if we can choose either load or branch instructions to make twice as fast, which should we choose, and why? (d) [2 points] What's the average MIPS for processor A and B

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

Database Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions