in CO and Architecture retagged by
97 views
0 votes
0 votes
Pipe line consists of 5 stages , add instruction takes 2 cycles in EX stage, mul instruction takes 3 cycles in EX stage .. If we don't use buffer in between stages(no store and forward) , what is the time taken to execute two instruction add,mul???
in CO and Architecture retagged by

1 Answer

0 votes
0 votes
Intermediate buffers will help in Operand forwarding.So if we did not have buffers b/w stages,we can not perform operand forwarding b/w instructions.

Coming to your question if there is no dependency b/w these two instructions it will take 9 Cycles.and if there is dependency then it will take 11 Cycles.

Related questions