首页> 外文OA文献 >A New Verified Compiler Backend for CakeML
【2h】

A New Verified Compiler Backend for CakeML

机译:一个新的经过验证的CakeML编译器后端

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

We have developed and mechanically verified a new compiler backend for CakeML. Our new compiler features a sequence of intermediate languages that allows it to incrementally compile away high-level features and enables verification at the right levels of semantic detail. In this way, it resembles mainstream (unverified) compilers for strict functional languages. The compiler supports efficient curried multi-argument functions, configurable data representations, exceptions that unwind the call stack, register allocation, and more. The compiler targets several architectures: x86-64, ARMv6, ARMv8, MIPS-64, and RISC-V.In this paper, we present the overall structure of the compiler, including its 12 intermediate languages, and explain how everything fits together. We focus particularly on the interaction between the verification of the register allocator and the garbage collector, and memory representations. The entire development has been carried out within the HOL4 theorem prover.
机译:我们已经开发并机械验证了CakeML的新编译器后端。我们的新编译器具有一系列中间语言,可使其逐步编译出高级功能,并能够在正确的语义细节级别进行验证。这样,它类似于用于严格功能语言的主流(未经验证)编译器。编译器支持高效的咖喱多参数函数,可配置的数据表示形式,展开调用堆栈的异常,寄存器分配等。该编译器针对几种体系结构:x86-64,ARMv6,ARMv8,MIPS-64和RISC-V。在本文中,我们介绍了编译器的总体结构,包括其12种中间语言,并解释了所有组件如何组合在一起。我们特别关注寄存器分配器和垃圾回收器的验证以及内存表示之间的交互。整个开发工作已在HOL4定理证明器中进行。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号