The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+2 votes
Assume branch instructions occur 15% of the time and are predicted as not taken, while in practice they are taken 40% of the time with a penalty of 3 cycles. With forwarding, the load delay slot is one cycle and can be filled 60% of the time with useful instructions. 20% of the instructions are loads and 30% of these introduce load delay hazards. What is the New CPI due to load delay slots and branch hazards?
asked in CO & Architecture by Active (5k points) | 89 views
complicated question, post the given Solution for understanding purpose!
plz upload solution

1 Answer

+1 vote
New CPI = 1 + CPI increase due to branches + CPI increase due to loads
= 1 + 0.15*0.4*3 + 0.2*0.3*0.4*1
= 1.204
answered by (77 points)

Related questions

0 votes
2 answers
asked Nov 7 in CO & Architecture by Na462 Loyal (7.4k points) | 99 views
0 votes
0 answers

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

44,263 questions
49,758 answers
65,849 users