节点文献

基于类库的可重定向编译器后端设计与实现

The Design and Implementation of a Retargetable Compiler Back End Based on Class Libraries

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 王民华张素琴田金兰

【Author】 Wang Minhua Zhang Suqin Tian Jinlan(Department of Computer Science&Technology,Tsinghua University,Beijing100084)

【机构】 清华大学计算机科学与技术系清华大学计算机科学与技术系 北京100084北京100084北京100084

【摘要】 该文在对几种可重定向编译器进行分析的基础上,提出了一种基于类库的可重定向编译器后端设计技术。该技术通过恰当定义机器描述与代码生成之间的接口,抽象不同硬件平台共有的操作与功能,隔离中间表示和不同硬件平台汇编语言代码的差异。根据不同硬件平台特点,利用面向对象技术实现接口,构成重定向支持类库。代码生成器通过对接口的调用,将中间表示转化为相应平台的汇编语言,完成编译器后端的重定向工作。

【Abstract】 By analyzing some retargetable compilers,this paper gives a way to design a retargetable compiler back end.Using the well-defined interfaces between the code generator and the machine description that abstract the common functions and operations on different hardware platforms ,the variety of assembly languages becomes transparent.A class library that supports retargetable back end construction can be built using object -oriented technologies.The code generator achieves the retargetable work by invoking the interfaces to translate the IR to the target language.

【基金】 国家自然科学基金项目(编号:60083004)
  • 【文献出处】 计算机工程与应用 ,Computer Engineering and Applications , 编辑部邮箱 ,2003年09期
  • 【分类号】TP314
  • 【被引频次】5
  • 【下载频次】91
节点文献中: 

本文链接的文献网络图示:

本文的引文网络