ACM Home Page
Please provide us with feedback. Feedback
Optimizing indirect branch prediction accuracy in virtual machine interpreters
Full text pdf formatPdf (190 KB)
Source Conference on Programming Language Design and Implementation archive
Proceedings of the ACM SIGPLAN 2003 conference on Programming language design and implementation table of contents
San Diego, California, USA
SESSION: Code optimization II table of contents
Pages: 278 - 288  
Year of Publication: 2003
ISBN:1-58113-662-5
Also published in ...
Authors
M. Anton Ertl  TU Wien
David Gregg  Trinity College, Dublin
Sponsors
ACM: Association for Computing Machinery
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 18,   Downloads (12 Months): 76,   Citation Count: 14
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/781131.781162
What is a DOI?

ABSTRACT

Interpreters designed for efficiency execute a huge number of indirect branches and can spend more than half of the execution time in indirect branch mispredictions. Branch target buffers are the best widely available form of indirect branch prediction; however, their prediction accuracy for existing interpreters is only 2%--50%. In this paper we investigate two methods for improving the prediction accuracy of BTBs for interpreters: replicating virtual machine (VM) instructions and combining sequences of VM instructions into superinstructions. We investigate static (interpreter build-time) and dynamic (interpreter run-time) variants of these techniques and compare them and several combinations of these techniques. These techniques can eliminate nearly all of the dispatch branch mispredictions, and have other benefits, resulting in speedups by a factor of up to 3.17 over efficient threaded-code interpreters, and speedups by a factor of up to 1.3 over techniques relying on superinstructions alone.


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
3
4
 
5
6
 
7
 
8
 
9
 
10
 
11
J. Kalamatianos and D. Kaeli. Indirect branch prediction using data compression techniques. Journal of Instruction Level Parallelism, Dec. 1999.
12
13
14
15
 
16
17
18

CITED BY  14
 
 
 
 
 


REVIEW

"Soundararajan Ezekiel : Reviewer"

Ertl and Gregg investigate two methods for improving the prediction accuracy of branch target buffers: virtual machine instruction and combining sequences of virtual machine instruction into super instructions.

They investigate combinations   more...

Collaborative Colleagues:
M. Anton Ertl: colleagues
David Gregg: colleagues

Peer to Peer - Readers of this Article have also read: