首页> 外文期刊>IEICE Transactions on Communications >Fast Compiler Re-Targeting to Different Platforms by Translating at Intermediate Code Level
【24h】

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

机译:通过中间代码级别的转换,快速将编译器重新定位到不同的平台

获取原文
获取原文并翻译 | 示例
           

摘要

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 abstmct 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.
机译:中间语言(IL)将编译器模块化成独立于目标处理器的和相关的部分,称为前端和后端。通过添加新的后端,可以将现有软件从一个处理器移植到另一个处理器。本文提出了一种新的有效方法,该方法也可以通过将一个IL转换为其他现有IL来实现使用不同处理器针对完全不同的体系结构进行多重定位。这种方法可以重用现有的后端。它已成功应用于用于移植公共交换系统软件的商业规模项目。由于目标IL事先无法预测,因此我们提供了一个抽象语法树(AST),其属性可通过abstmct数据类型(ADT)接口访问,以将源语言信息从前端传输到后端。它被翻译成几个独立开发的IL。这些翻译使编译器可在很短的时间内针对不同的跨目标平台和我们需要的多个工作站使用。介绍了此AST的结构以及到这些IL的映射,并评估了重新定位成本。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号