Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Say you have an LC2K program with the following characteristics: ? 20% of instructions are loads ? 15% are stores ? 30% are adds ?

Say you have an LC2K program with the following characteristics: ? 20% of instructions are loads ? 15% are stores ? 30% are adds ? 10% are nors ? 25% are branches ? 40% of the instructions are dependent on the instruction immediately in front of them. You may assume that is true no matter what instructions are involved. ? 60% of branches are taken.

a) What would be the expected CPI of your program using detect-and-forward to resolve data dependencies and detect-and-stall for branches? Assume we are using the pipeline described in class. Clearly show your work.

b) What would be the expected CPI of your program using detect-and-forward to resolve data dependencies and predict-not-taken for branches? Assume we are using the pipeline described in class. Clearly show your work.

c) What would be the CPI for the multi-cycle processor described in class? image text in transcribed

Problem 3: CPl of Microarchitectures (9 points) Say you have an LC2K program with the following characteristics: 20% of instructions are loads 15% are stores 30% are adds 10% are nors 25% are branches 40% of the instructions are dependent on the instruction immediately in front of them. You may assume that is true no matter what instructions are involved. 60% of branches are taken. . . a) What would be the expected CPI of your program using detect-and-forward to resolve data dependencies and detect-and-stall for branches? Assume we are using the pipeline described in class. Clearly show your work. [3] b) What would be the expected CPI of your program using detect-and-forward to resolve data dependencies and predict-not-taken for branches? Assume we are using the pipeline described in class. Clearly show your work. [3] c) What would be the CPI for the multi-cycle processor described in class? [3]

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

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

1. Identify what positions are included in the plan.

Answered: 1 week ago

Question

2. Identify the employees who are included in the plan.

Answered: 1 week ago

Question

7. Discuss the implications of a skill-based pay plan for training.

Answered: 1 week ago