LEZIONE #05 del 12-Mag-2008 (2 ore) - Dipartimento di Ingegneria ...
LEZIONE #05 del 12-Mag-2008 (2 ore) - Dipartimento di Ingegneria ...
LEZIONE #05 del 12-Mag-2008 (2 ore) - Dipartimento di Ingegneria ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Algoritmo <strong>di</strong> Branch Pre<strong>di</strong>ction - BTB<br />
• BTB e’ sud<strong>di</strong>visa in due sta<strong>di</strong><br />
• Il motivo e’ dovuto alla velocita’ <strong>del</strong> circuito<br />
• I branch predetti “taken” inseriscono una bolla nella pipeline<br />
• Se non c’e’ hit nel BTB<br />
• Si utilizza una pre<strong>di</strong>zione <strong>di</strong> tipo statico<br />
• BTFN=Bachward Taken, Forward Not-taken<br />
• Return stack<br />
• La BTB mantiene inoltre un “return stack” [Kaeli91] <strong>di</strong> 16 elementi<br />
• Questo aiuta a pre<strong>di</strong>rre l’in<strong>di</strong>rizzo <strong>di</strong> ritorno <strong>del</strong>le funzioni<br />
Roberto Giorgi, Universita’ <strong>di</strong> Siena, C208L05, Slide 31<br />
PENTIUM 4 & PENTIUM M<br />
Branch Pre<strong>di</strong>ction case study<br />
Roberto Giorgi, Universita’ <strong>di</strong> Siena, C208L01, Slide 32