in CO and Architecture
523 views
1 vote
1 vote
Consider 5 stage pipeline which allow all instructions except branch instruction. Program contain 30% conditional instructions out of which 75% are branch instruction. Processor stop fetching the following instruction after the branch instruction untill target address is available. Target address is available at the end of the pipeline stage.
All the stages are perfectly balanced with 20 GHz clock time. The processor is running with rate of ____________ (in MIPS).
in CO and Architecture
523 views

2 Comments

edited by

10526.31   , if  target address available at the end of all pipeline stages(4 stalls)..

0
0
@Amsar pls review the below-given answer.
0
0

1 Answer

2 votes
2 votes

Ideal CPI = 1

CPI increase due to stall [4stalls due to branching]= 0.30*0.75*4=0.9

Throughput =Clocks per second / [IdealCPI + increase due to stall]

$\frac{20*10^{9}}{1+0.9}$ = 10526.31 * 10^6  hence 10526 MIPS

                         

edited by

1 comment

edited by
yes, bahirNaik  answer should be 10526.3157 MIPS
I made mistake , thanks :)
0
0