A retargetable vector code generator
Tom C. Reyes · afips · 1899
This paper describes the prototype implementation of a retargetable vector code generator which applies recent advances in automatic (scalar) code generation techniques to the task of generating code for a vector source language. The source language is a subset of Fortran 8X, the proposed successor to the Fortran 77 standard. The target machine is an attached vector processor. This work extends Cattell's maximal munch method to vector code generation. Variants of TCOL are used for the intermediate representation of both the source program and the target machine description table. The prototype implementation demonstrates the feasibility of template-driven vector code generation and emphasizes the importance of code optimization in a vector compiler. * The author's present address is: Amoco Production Company Research Center, P.O. Box 3385, Tulsa, OK 74102