The Generation of Optimal Code for Arithmetic Expressions
Journal of the ACM (JACM)
Automatic Derivation of Code Generators from Machine Descriptions
ACM Transactions on Programming Languages and Systems (TOPLAS)
A new method for compiler code generation
POPL '78 Proceedings of the 5th ACM SIGACT-SIGPLAN symposium on Principles of programming languages
Automatic generation of machine specific code optimizers
POPL '82 Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on Principles of programming languages
Implementation of a portable Fortran 77 compiler using modern tools
SIGPLAN '79 Proceedings of the 1979 SIGPLAN symposium on Compiler construction
Experience with an automatic code generator generator
SIGPLAN '82 Proceedings of the 1982 SIGPLAN symposium on Compiler construction
Analyzing exotic instructions for a retargetable code generator
SIGPLAN '82 Proceedings of the 1982 SIGPLAN symposium on Compiler construction
Engineering a production code generator
SIGPLAN '82 Proceedings of the 1982 SIGPLAN symposium on Compiler construction
A machine independent algorithm for code generation and its use in retargetable compilers.
A machine independent algorithm for code generation and its use in retargetable compilers.
Retargetable code generation and optimization using attribute grammars
Retargetable code generation and optimization using attribute grammars
Simplifying code generation through peephole optimization
Simplifying code generation through peephole optimization
Code selection through object code optimization
ACM Transactions on Programming Languages and Systems (TOPLAS) - Lecture notes in computer science Vol. 174
Affix grammar driven code generation
ACM Transactions on Programming Languages and Systems (TOPLAS)
Parsing and compiling using Prolog
ACM Transactions on Programming Languages and Systems (TOPLAS)
Code generation using tree matching and dynamic programming
ACM Transactions on Programming Languages and Systems (TOPLAS)
Using static single assignment form in a code optimizer
ACM Letters on Programming Languages and Systems (LOPLAS)
Automatic code generation for microprocessor based systems
Proceedings of the 1985 ACM SIGSMALL symposium on Small systems
Retargetable Compiler Code Generation
ACM Computing Surveys (CSUR)
Experience with a Graham-Glanville style code generator
SIGPLAN '84 Proceedings of the 1984 SIGPLAN symposium on Compiler construction
Using dynamic programming to generate optimized code in a Graham-Glanville style code generator
SIGPLAN '84 Proceedings of the 1984 SIGPLAN symposium on Compiler construction
High-quality code generation via bottom-up tree pattern matching
POPL '86 Proceedings of the 13th ACM SIGACT-SIGPLAN symposium on Principles of programming languages
Embedded software in real-time signal processing systems: design technologies
Readings in hardware/software co-design
Gprof: A call graph execution profiler
SIGPLAN '82 Proceedings of the 1982 SIGPLAN symposium on Compiler construction
Analyzing exotic instructions for a retargetable code generator
SIGPLAN '82 Proceedings of the 1982 SIGPLAN symposium on Compiler construction
Engineering a production code generator
SIGPLAN '82 Proceedings of the 1982 SIGPLAN symposium on Compiler construction
gprof: a call graph execution profiler
ACM SIGPLAN Notices - Best of PLDI 1979-1999
Hi-index | 0.00 |
We have constructed a local code generator for the VAX-112 using a parser-like instruction pattern matcher. The code generator replaces the second pass of the UNIX3 Portable “Crdquo; compiler. This paper describes the design of the code generator and the special considerations imposed by the pattern matching process. We summarize the structure of the machine description grammar and its associated semantic actions, as well as the tools we developed to manipulate the large VAX description. In our experience, this approach makes the instruction selection phase of the compiler easier and faster to implement, and more likely to be correct than traditional techniques.