Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

How many pipeline stages detect branch mispredictions?

T_C
Beginner
710 Views

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