【24h】

Relaxed-Memory Concurrency and Verified Compilation

机译:轻松记忆并发和验证编译

获取原文

摘要

In this paper, we consider the semantic design and verified compilation of a C-like programming language for concurrent shared-memory computation above x86 multiprocessors. The design of such a language is made surprisingly subtle by several factors: the relaxed-memory behaviour of the hardware, the effects of compiler optimisation on concurrent code, the need to support high-performance concurrent algorithms, and the desire for a reasonably simple programming model. In turn, this complexity makes verified (or verifying) compilation both essential and challenging. We define a concurrent relaxed-memory semantics for Ctight TSO, an extension of CompCert's Clight in which the processor's memory model is exposed for high-performance code. We discuss a strategy for verifying compilation from ClightTSO to x86. which we validate with correctness proofs (building on CompCert) for the most interesting compiler phases.
机译:在本文中,我们考虑了C样编程语言的语义设计和验证编译,用于X86多处理器上方的并发共享内存计算。这种语言的设计是令人惊讶的微妙的几个因素:硬件的轻松记忆行为,编译器优化对并发代码的影响,需要支持高性能并发算法,以及对合理简单的编程的需求模型。反过来,这种复杂性使得验证(或验证)汇编是必不可少的和具有挑战性的。我们为CTIGHT TSO定义了一个并发的轻松存储语义,扩展了Compcert的Clight,其中处理器的内存模型为高性能代码公开。我们讨论了验证克莱斯托的汇编到X86的策略。我们为最有趣的编译阶段验证了正确的证明(在Compcert上构建)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号