| Engineering a simple, efficient code-generator generator |
| Full text |
Pdf
(854 KB)
|
| Source
|
ACM Letters on Programming Languages and Systems (LOPLAS)
archive
Volume 1 , Issue 3 (September 1992)
table of contents
Pages: 213 - 226
Year of Publication: 1992
ISSN:1057-4514
|
|
Authors
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 8, Downloads (12 Months): 116, Citation Count: 50
|
|
|
ABSTRACT
Many code-generator generators use tree pattern matching and dynamic programming. This paper describes a simple program that generates matchers that are fast, compact, and easy to understand. It is simpler than common alternatives: 200–700 lines of Icon or 950 lines of C versus 3000 lines of C for Twig and 5000 for burg. Its matchers run up to 25 times faster than Twig's. They are necessarily slower than burg's BURS (bottom-up rewrite system) matchers, but they are more flexible and still practical.
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
|
Alfred V. Aho , Ravi Sethi , Jeffrey D. Ullman, Compilers: principles, techniques, and tools, Addison-Wesley Longman Publishing Co., Inc., Boston, MA, 1986
|
| |
5
|
|
 |
6
|
|
 |
7
|
|
| |
8
|
FERDINAND, C., SEIDL, H., AND WILHELM, R. Tree automata for code selection. In Code Generation--Concepts, Tools. Techniques, Proceedings of the International Workshop on Code Generation (DagstuhI, Germany), R. Giegerich and S. L. Graham, Eds. Springer-Verlag, New York, 1991, 30-50.
|
 |
9
|
|
| |
10
|
|
 |
11
|
|
| |
12
|
|
 |
13
|
|
| |
14
|
|
 |
15
|
|
| |
16
|
PELEGRI~-LLOPART, E. Tree transformation in compiler systems. Ph.D. thesis, Computer Science Division, Dept. of Electrical Engineering and Computer Science, Univ. of California, Berkeley, Calif., Dec. 1987.
|
 |
17
|
|
 |
18
|
|
| |
19
|
STANDARDS PERFORMANCE EVALUATION CORP. SPEC Benchmark Suite Release 1.0. Standards Performance Evaluation Corp., Oct. 1989.
|
CITED BY 50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gert Goossens , Johan Van Praet , Dirk Lanneer , Werner Geurts , Augusli Kifli , Clifford Liem , Pierre G. Paulin, Embedded software in real-time signal processing systems: design technologies, Readings in hardware/software co-design, Kluwer Academic Publishers, Norwell, MA, 2001
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
J. Eliot B. Moss , Trek Palmer , Timothy Richards , Edward K. Walters, II , Charles C. Weems, CISL: a class-based machine description language for co-generation of compilers and simulators, International Journal of Parallel Programming, v.33 n.2, p.231-246, June 2005
|
|
|
|
|
|
Manuel Hohenauer , Christoph Schumacher , Rainer Leupers , Gerd Ascheid , Heinrich Meyr , Hans van Someren, Retargetable code optimization with SIMD instructions, Proceedings of the 4th international conference on Hardware/software codesign and system synthesis, October 22-25, 2006, Seoul, Korea
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bowen Alpern , Maria Butrico , Anthony Cocchi , Julian Dolby , Stephen J. Fink , David Grove , Ton Ngo, Experiences Porting the Jikes RVM to Linux/IA32, Proceedings of the 2nd Java Virtual Machine Research and Technology Symposium, p.51-64, August 01-02, 2002
|
|
|
|
|
|
Florian Brandner , Dietmar Ebner , Andreas Krall, Compiler generation from structural architecture descriptions, Proceedings of the 2007 international conference on Compilers, architecture, and synthesis for embedded systems, September 30-October 03, 2007, Salzburg, Austria
|
|
|
Stefan Kraemer , Rainer Leupers , Gerd Ascheid , Heinrich Meyr, Interactive presentation: SoftSIMD - exploiting subword parallelism using source code transformations, Proceedings of the conference on Design, automation and test in Europe, April 16-20, 2007, Nice, France
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Jianjiang Ceng , Manuel Hohenauer , Rainer Leupers , Gerd Ascheid , Heinrich Meyr , Gunnar Braun, C Compiler Retargeting Based on Instruction Semantics Models, Proceedings of the conference on Design, Automation and Test in Europe, p.1150-1155, March 07-11, 2005
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Matthias Grumer , Manuel Wendt , Christian Steger , Reinhold Weiss , Ulrich Neffe , Andreas Muehlberger, Power profile estimation and compiler-based software optimization for mobile devices, Journal of Embedded Computing, v.3 n.3, p.231-239, August 2009
|
|
|
Sara El-Shobaky , Ahmed El-Mahdy , Ahmed El-Nahas, Automatic vectorization using dynamic compilation and tree pattern matching technique in Jikes RVM, Proceedings of the 4th workshop on the Implementation, Compilation, Optimization of Object-Oriented Languages and Programming Systems, p.63-69, July 06-06, 2009, Genova, Italy
|
REVIEW
"Robert Ballance : Reviewer"
Unlike papers that focus on the theory of pattern matching or its
application to code generation, this paper focuses on engineering the
pattern matcher. The paper will interest programmers confronted with
time or space requirements as well
more...
|