Report Number: CSL-TR-84-256
Institution: Stanford University, Computer Systems Laboratory
Title: Instruction selection by attributed parsing
Author: Ganapathi, Mahadevan
Author: Fischer, Charles N.
Date: February 1984
Abstract: 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. Implementations of code generators based on this model exist for the VAX-11, iAPX-86, Z -8000, PDP-ll and IBM-370 architectures.