< previous page page_229 next page >

Page 229
Table 4.11 Percentage correct guess using history of past n branches [181].
Mix Definition
n
Compiler
Business
Scientific
Supervisor
0
64.1
64.4
70.4
54.0
1
91.9
95.2
86.6
79.7
2
93.3
96.5
90.8
83.4
3
93.7
96.6
91.0
83.5
4
94.5
96.8
91.8
83.7
5
94.7
97.0
92.0
83.9

much higher than the accuracy using only the branch opcode prediction strategy of Table 4.8. Third, the effectiveness of prediction varies significantly among the workloads.
0229-01.gif
Figure 4.22
Dynamic branch prediction using branch history.
In the following study (4.6), we look at a static branch prediction strategy coupled with a simple I-buffer.
Study 4.6 Simple I-Buffers and Static Branch Prediction
d87111c01013bcda00bb8640fdff6754.gif
Assumptions:
d87111c01013bcda00bb8640fdff6754.gif
In this study (and in some of the following studies), we slightly alter the template of study 4.2 to include a two-cycle AGperhaps one cycle for effective address generation and one for translate. Otherwise, we follow the general architecture of the R/M machine as used in studies such as 4.2. The significant new assumptions made in this study include:
1. We now introduce an I-buffer of sufficient size to avoid runout. Thus, we generally ignore the IF cycles for in-line instructions. Of course, any unpredictable delay such as TIF that directly affects machine timing must be evaluated.
2. In conjunction with the I-buffer, the decoder now predicts the outcome of a branch and issues instructions in anticipation

 
< previous page page_229 next page >