1 votes 1 votes We have 10 stage pipeline , where the branch target conditions are resolved at stage 5 . How many stalls are there for an incorrectly predicted branch ? Plz draw a diagram. CO and Architecture co-and-architecture pipelining + – dragonball asked Dec 17, 2017 dragonball 2.3k views answer comment Share Follow See 1 comment See all 1 1 comment reply Ashwin Kulkarni commented Dec 17, 2017 reply Follow Share 4 stalls. 5 CPI 2 votes 2 votes Please log in or register to add a comment.
0 votes 0 votes In general, if the branch instruction is known at Kth stage then the number of stalls would be : (K - 1). And hence = (5-1) = 4 stall cycles. RajuSri answered Dec 18, 2017 RajuSri comment Share Follow See all 0 reply Please log in or register to add a comment.