ACM Home Page
Please provide us with feedback. Feedback
Optimizing an ANSI C interpreter with superoperators
Full text PdfPdf (952 KB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 22nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages table of contents
San Francisco, California, United States
Pages: 322 - 332  
Year of Publication: 1995
ISBN:0-89791-692-1
Author
Todd A. Proebsting  Department of Computer Science, University of Arizona, Tucson, AZ
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 33,   Citation Count: 46
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/199448.199526
What is a DOI?

ABSTRACT

This paper introduces superoperators, an optimization technique for bytecoded interpreters. Superoperators are virtual machine operations automatically synthesized from smaller operations to avoid costly per-operation overheads. Superoperators decrease executable size and can double or triple the speed of interpreted programs. The paper describes a simple and effective heuristic for inferring powerful superoperators from the usage patterns of simple operators.The paper describes the design and implementation of a hybrid translator/interpreter that employs superoperators. From a specification of the superoperators (either automatically inferred or manually chosen), the system builds an efficient implementation of the virtual machine in assembly language. The system is easily retargetable and currently runs on the MIPS R3000 and the SPARC.


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.

Bel73
DG87
 
Feu85
Alan R. Feuer. si # an interpreter for the C language. In Proceedings of the 1985 Usenix Summer Conference, Portland, OR, June 1985.
 
FH88
Anthony J. Field and Peter G. Harrison. Functional Programming. Addison Wesley, 1988.
 
FH91a
FH91b
FHP92
 
GG90
 
GJ79
 
KH92
 
Kli81
Paul t#lint.. Interpretation techniques. |Software--Practice and Experience,#1(10):963-973, October 1981. !
 
KLP88
StephenlKaufer, Russell Lopez, and Sesha Pra#ap.# Saber-C: An interpreterbased programming environment for the C language. In Proceedings of the 1988 Usenix Summer Conference, San Francisco, CA, June 1988.
Pit87
 
Sun91
Sun Microsystems, Inc. The SPARC Architec!ure Manual (Version 8), 1991.

CITED BY  46