Community
cancel
Showing results for 
Search instead for 
Did you mean: 
T_C
Beginner
54 Views

How many pipeline stages detect branch mispredictions?

Are there three stages in the pipeline which can detect branch mispredictions?

  1. Branch Target Buffer (raising BPU CLEAR signal)
  2. Branch Address Calculator (raising BA CLEAR signal)
  3. Branch Execution Unit (flushing entire pipeline)

I am not sure about whether the BTB can actually detect branch mispredictions. Could somebody please confirm this? What is the difference between BPU CLEAR and BA CLEAR? Do they get raised from different parts of the pipeline?

0 Kudos
0 Replies
Reply