Affix grammar driven code generation
Mahadevan Ganapathi, Charles N. Fischer · ACM Transactions on Programming Languages and Systems · 1985
Affix grammars are used to describe the instruction set of a target architecture for purposes of compiler code generation. A code generator is obtained automatically for a compiler using attributed parsing techniques. A compiler built on this model can automatically perform most popular machine-dependent optimizations, including peephole optimizations. Code generators based on this model demonstrate retargetability for the VAX 1 -11, iAPX 2 -86, Z-8000 3 , PDP 4 -11, MC-68000, NS32032, FOM, and IBM-370 architectures.
Cited by 53 works. doi:10.1145/4472.4486 Open-access PDF
Authors
References
- Yacc : Yet Another Compiler Compiler
- Principles of Compiler Design
- Register allocation & spilling via graph coloring
- Principles of Compiler Design (Addison-Wesley series in computer science and information processing)
- Register allocation & spilling via graph coloring
- A portable compiler
- The design of an optimizing compiler
- Postpass Code Optimization of Pipeline Constraints
- A portable machine-independent global optimizer--design and measurements
- The Design of an Optimizing Compiler