Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the multicycle MIPS datapath we have discussed in class. Assume a benchmark executes instructions with the frequencies given below. Instruction Type Latency in cycles

Consider the multicycle MIPS datapath we have discussed in class. Assume a benchmark executes instructions with the frequencies given below.

Instruction Type

Latency in cycles

Instr. Frequencies

Load

5 cycles

10 %

Store

4 cycles

10 %

Register Type

3 cycle

50 %

Conditional Branch

3 cycles

25 %

Jump

4 cycles

5 %

1. Assuming no hazards occur what is the average CPI for the given benchmark?

2. Compute the new CPI assuming the following hazards occur simultaneously

branches are miss-predicted 25% of the time and suffer a 2 cycle miss-prediction penalty,

the data memory misses 20% of the time with a penalty of 3 cycles. Consider loads only.

Ignore any other hazards.

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

Creating A Database In Filemaker Pro Visual QuickProject Guide

Authors: Steven A. Schwartz

1st Edition

0321321219, 978-0321321213

More Books

Students also viewed these Databases questions

Question

Which are non projected Teaching aids in advance learning system?

Answered: 1 week ago