首页> 外文会议>Annual ACM SIGPLAN-SIGACT symposium on principles of programming languages >Resourceable, Retargetable, Modular Instruction Selection Using a Machine-Independent, Type-Based Tiling of Low-Level Intermediate Code
【24h】

Resourceable, Retargetable, Modular Instruction Selection Using a Machine-Independent, Type-Based Tiling of Low-Level Intermediate Code

机译:使用基于机器无关的基于类型的低级中间代码的折销,重新排列的模块化指令选择

获取原文

摘要

We present a novel variation on the standard technique of selecting instructions by tiling an intermediate-code tree. Typical compilers use a different set of tiles for every target machine. By analyzing a formal model of machine-level computation, we have developed a single set of tiles that is machine-independent while retaining the expressive power of machine code. Using this tiieset, we reduce the number of tilers required from one per machine to one per architectural family (e.g.. register architecture or stack architecture). Because the tiler is the part of the instruction selector that is most difficult to reason about, our technique makes it possible to retarget an instruction selector with significantly less effort than standard techniques. Retargeting effort is further reduced by applying an earlier result which generates the machine-dependent implementation of our tiieset automatically from a declarative description of instructions' semantics. Our design has the additional benefit of enabling modular reasoning about three aspects of code generation that are not typically separated: the semantics of the compiler's intermediate representation, the semantics of the target instruction set. and the techniques needed to generate good target code.
机译:我们通过平铺中间码树来提出对选择说明的标准技术的新变化。典型的编译器为每个目标机器使用不同的瓷砖组。通过分析机器级计算的正式模型,我们开发了一组单一的瓦片,即机器独立,同时保留了机器代码的表现力。使用此TIIESET,我们将每台机器的一个倾斜器数减少到每个架构家庭(例如寄存器架构或堆栈架构)。因为Tiler是指令选择器的一部分,这是最难以推理的,所以我们的技术使得可以将指令选择器重新结转,而不是比标准技术更少的努力。通过应用早期的结果,进一步减少了重定重要的努力,该结果从说明语义的声明描述自动生成我们的TIIESET的机器依赖性实现。我们的设计具有启用模块化推理的额外益处,该代码生成的三个方面不是通常分开的:编译器中间表示的语义,目标指令集的语义。以及生成良好目标代码所需的技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号