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.
Esempio - PowerPC 604 (1)<br />
• Microprocess<strong>ore</strong> Superscalare a 4 vie<br />
• Puo’ effettuare fetch, decode, execute <strong>di</strong> 4 istruzioni per ciclo<br />
• Branch Pre<strong>di</strong>ction<br />
• Usa due buffer separati:<br />
- Branch Target Address Cache (BTAC)<br />
- Branch History Table (BHT)<br />
• Vengono in<strong>di</strong>rizzati entrambi nello sta<strong>di</strong>o <strong>di</strong> fetch<br />
• BTAC (analogo al BTB)<br />
• Cache fully-associative a 64 elementi, risponde in 1 ciclo<br />
• Memorizza l’in<strong>di</strong>rizzo target <strong>del</strong> salto<br />
• BHT<br />
• Cache ad accesso <strong>di</strong>retto a 5<strong>12</strong> elementi, risponde in 2 cicli<br />
• Memorizza i bit <strong>di</strong> storia dei branch<br />
Roberto Giorgi, Universita’ <strong>di</strong> Siena, C208L05, Slide 5<br />
Esempio - PowerPC 604 (2)<br />
+4<br />
BHT pre<strong>di</strong>ction<br />
BTAC pre<strong>di</strong>ction<br />
Branch<br />
Pre<strong>di</strong>ction<br />
PC Branch History<br />
PC<br />
Table (BHT)<br />
Roberto Giorgi, Universita’ <strong>di</strong> Siena, C208L05, Slide 6<br />
PC<br />
Branch Target<br />
Address Cache<br />
(BTAC)<br />
PC<br />
BHT<br />
BTAC<br />
update update<br />
execute<br />
commit<br />
I-cache<br />
decode<br />
decode buffer<br />
<strong>di</strong>spatch buffer<br />
<strong>di</strong>spatch<br />
Reservation stations<br />
BRN SFX SFX CFX FPL LS<br />
branch<br />
Re-order buffer