Variable length path branch prediction
Jared Stark, Marius Evers, Yale N. Patt · ACM SIGOPS Operating Systems Review · 1998
Accurate branch prediction is required to achieve high performance in deeply pipelined, wide-issue processors. Recent studies have shown that conditional and indirect (or computed) branch targets can be accuratelypredicted by recording the path, which consists of the target addresses of recent branches, leading up to the branch. In current path based branch predictors, the N most recent target addresses are hashed together to form an index into a table, where N is some fixed integer. The indexed table entry isused to make a prediction for the current branch.This paper introduces a new branch predictor in which the value of N is allowed to vary. By constructing the index into the table using the last N target addresses, and using profiling information to select the proper value of N for each branch, extremely accurate branch prediction is achieved. For the SPECint95 gee benchmark, this new predictor has a conditional branch misprediction rate of 4.3% given a 4K byte hardware budget. For comparison, the gshare predictor, a predictor known for its high accuracy, has a conditional branch misprediction rate of 8.8% given the same hardware budget. For the indirect branches in gee, the new predictor achieves a misprediction rate of 27.7% when given a hardware budget of 512 bytes, whereas the best competingpredictor achieves a misprediction rate of 44.2% when given the same hardware budget.
Cited by 3 works. doi:10.1145/384265.291042
Authors
References
- Department of Computer Science
- ATOM
- Two-level adaptive training branch prediction
- Alternative implementations of two-level adaptive branch prediction
- Reducing indirect function call overhead in C++ programs
- A comparative analysis of schemes for correlated branch prediction
- Target prediction for indirect jumps
- Branch classification
- Trading conflict and capacity aliasing in conditional branch predictors
- Improving the accuracy of static branch prediction using branch correlation