The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+2 votes
76 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 (4.9k points) | 76 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



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

39,778 questions
46,781 answers
140,752 comments
58,672 users