Fast Compiler Re-Targeting to Different Platforms by Translating at Intermediate Code Level

Search this article

Abstract

The intermediate language (IL) modularizes a compiler into target processor independent and dependent parts, called the front-end and the back-end. By adding a new back-end, it is possible to port existing software from one processor to another. This paper presents a new efficient approach to achieve multiple targeting to quite different architectures using different processors as well, by translating from one IL into other existing ILs. This approach makes it possible to reuse existing back-ends. It has been successfully applied to a commercial-scale project for porting public switching system software. Since the target ILs were not predictable in advance, we provided an abstract syntax tree (AST) with attributes accessible by abstract data type (ADT) interface to convey the source language information from our front-end to back-ends. It was translated into several ILs that were developed independently. These translations made the compiler available in a very short time for different cross-target platforms and on several workstations we needed. The structure of this AST and the mapping to these ILs are presented, and retargeting cost is evaluated.

Journal

References(46)*help

See more

Details 詳細情報について

  • CRID
    1571135652464163072
  • NII Article ID
    110003218436
  • NII Book ID
    AA10826261
  • ISSN
    09168516
  • Text Lang
    en
  • Data Source
    • CiNii Articles

Report a problem

Back to top