ACM Home Page
Please provide us with feedback. Feedback
Neural methods for dynamic branch prediction
Full text PdfPdf (541 KB)
Source ACM Transactions on Computer Systems (TOCS) archive
Volume 20 ,  Issue 4  (November 2002) table of contents
Pages: 369 - 397  
Year of Publication: 2002
ISSN:0734-2071
Authors
Daniel A. Jiménez  Rutgers University, Piscataway, NJ
Calvin Lin  The University of Texas at Austin, Austin, TX
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 28,   Downloads (12 Months): 201,   Citation Count: 20
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/571637.571639
What is a DOI?

ABSTRACT

This article presents a new and highly accurate method for branch prediction. The key idea is to use one of the simplest possible neural methods, the perceptron, as an alternative to the commonly used two-bit counters. The source of our predictor's accuracy is its ability to use long history lengths, because the hardware resources for our method scale linearly, rather than exponentially, with the history length. We describe two versions of perceptron predictors, and we evaluate these predictors with respect to five well-known predictors. We show that for a 4 KB hardware budget, a simple version of our method that uses a global history achieves a misprediction rate of 4.6% on the SPEC 2000 integer benchmarks, an improvement of 26% over gshare. We also introduce a global/local version of our predictor that is 14% more accurate than the McFarling-style hybrid predictor of the Alpha 21264. We show that for hardware budgets of up to 256 KB, this global/local perceptron predictor is more accurate than Evers' multicomponent predictor, so we conclude that ours is the most accurate dynamic predictor currently available. To explore the feasibility of our ideas, we provide a circuit-level design of the perceptron predictor and describe techniques that allow our complex predictor to operate quickly. Finally, we show how the relatively complex perceptron predictor can be used in modern CPUs by having it override a simpler, quicker Smith predictor, providing IPC improvements of 15.8% over gshare and 5.7% over the McFarling hybrid predictor.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
Block, H. D. 1962. The perceptron: A model for brain functioning. Rev. Mod. Phy. 34, 123--135.
 
3
Burger, D. and Austin, T. M. 1997. The SimpleScalar tool set version 2.0. Tech. Rep. 1342, Computer Sciences Department, University of Wisconsin. June.
4
 
5
 
6
7
 
8
9
 
10
 
11
Gomez, F., Burger, D., and Miikkulainen, R. 2001. A neuroevolution method for dynamic resource allocation on a chip multiprocessor. In Proceedings of the International Joint Conference on Neural Networks (IJCNN-01), 2355--2360.
 
12
 
13
 
14
 
15
Jiménez, D. A. and Walsh, N. 1998. Dynamically weighted ensemble neural networks for classification. In Proceedings of the 1998 International Joint Conference on Neural Networks, 753--756.
16
 
17
 
18
 
19
 
20
Lesartre, G. and Hunt, D. 1997. PA-8500: The continuing evolution of the PA-8000 family. In 42nd IEEE International Computer Conference.
 
21
McFarling, S. 1993. Combining branch predictors. Tech. Rep. TN-36m, Digital Western Research Laboratory, June.
22
 
23
Rosenblatt, F. 1962. Principles of Neurodynamics: Perceptrons and the Theory of Brain Mechanisms. Spartan, New York.
24
 
25
Setiono, R. and Liu, H. 1995. Understanding neural networks via rule extraction. In Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence, 480--485.
 
26
27
28
 
29
Vintan, L. and Iridon, M. 1999. Towards a high performance neural branch predictor. In Proceedings of the International Joint Conference on Neural Networks (IJCNN), vol. 2. 868--873.
 
30
 
31
Widrow, B. and Hoff Jr., M. 1960. Adaptive switching circuits. In IRE WESCON Convention Record, part 4, 96--104.
32

CITED BY  20

Collaborative Colleagues:
Daniel A. Jiménez: colleagues
Calvin Lin: colleagues