The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+2 votes
89 views
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
0
complicated question, post the given Solution for understanding purpose!
0
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
2
asked Nov 7 in CO & Architecture by Na462 Loyal (7.4k points) | 99 views
0 votes
0 answers
3


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
164,198 comments
65,849 users