Automatic Derivation of Machine Descriptions



Christian S. Collberg

Department of Computer Sciences
The University of Auckland
Private Bag 92019
Auckland, New Zealand.
collberg@cs.auckland.ac.nz


Abstract

We describe a new system for automatic compiler retargeting. The system combines the advantages of C code generating compilers (fast retargeting) with the advantages of compilers based on specification driven code generation (fast native code generation).

The basic idea is to use the native C compiler to discover architectural features (such as instruction set, register set, addressing modes, instruction timings, etc) of the target machine, and then to use that information to automatically generate a specification that is suitable for input to a back-end generator.




Gzipped Postscript
Article A4 LETTER (160k)

ASCII Text
The BibTeX entry BibTeX.bib (2k)


Back to Collberg's Research Page
Back to Collberg's Home Page