A new method for compiler code generation

R. Steven Glanville, Susan L. Graham · ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages (POPL) · 1978

An algorithm is given to translate a relatively low-level intermediate representation of a program into assembly code or machine code for a target computer. The algorithm is table driven. A construction algorithm is used to produce the table from a functional description of the target machine. The method produces high quality code for many commercially available computers. By replacing the table, it is possible to retarget a compiler for another kind of computer. In addition techniques are given to prove the correctness of the translator.

Cited by 174 works. doi:10.1145/512760.512785

Authors

References