DCG
Authors:
Open Access
- 1 November 1994
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGOPS Operating Systems Review
- Vol. 28 (5) , 263-272
Abstract
Dynamic code generation allows aggressive optimization through the use of runtime information. Previous systems typically relied on ad hoc code generators that were not designed for retargetability, and did not shield the client from machine-specific details. We present a system, dcg , that allows clients to specify dynamically generated code in a machine-independent manner. Our one-pass code generator is easily retargeted and extremely efficient (code generation costs approximately 350 instructions per generated instruction). Experiments show that dynamic code generation increases some application speeds by over an order of magnitude.Keywords
This publication has 15 references indexed in Scilit:
- Division by invariant integers using multiplication1994
- BURGACM SIGPLAN Notices, 1992
- A code generation interface for ANSI CSoftware: Practice and Experience, 1991
- The Marion system for retargetable instruction scheduling1991
- Code generation using tree matching and dynamic programmingACM Transactions on Programming Languages and Systems, 1989
- A language for writing code generators1989
- BEG: a generator for efficient back ends1989
- Customization: optimizing compiler technology for SELF, a dynamically-typed object-oriented programming language1989
- Code selection through object code optimizationACM Transactions on Programming Languages and Systems, 1984
- Efficient implementation of the smalltalk-80 system1984