一句话:提出中间弱内存模型 IMM,将并发语言到 POWER/ARM 的编译正确性证明模块化,并在 Coq 中机器验证。
该论文研究如何把带有弱内存一致性语义的并发编程语言到主流多核体系结构(POWER、ARM)的编译正确性证明进行模块化。作者提出一个新的中间弱内存模型 IMM,作为语言级内存模型与硬件内存模型之间的桥梁,从而把编译正确性证明拆分为「语言到 IMM」与「IMM 到硬件」两个可独立处理的部分。借助 IMM,作者证明了 Kang 等人提出的 promising semantics 到 POWER(同时修正并改进了他们原有的结果)、ARMv7 以及新修订的 ARMv8 模型的编译正确性。所有结果都在 Coq 中机械化验证,据作者所知,这是首个针对弱于 x86-TSO 的内存模型的机器验证编译正确性结果。
We develop a new intermediate weak memory model, IMM, as a way of modularizing the proofs of correctness of compilation from concurrent programming languages with weak memory consistency semantics to mainstream multi-core architectures, such as POWER and ARM. We use IMM to prove the correctness of compilation from the promising semantics of Kang et al. to POWER (thereby correcting and improving their result) and ARMv7, as well as to the recently revised ARMv8 model. Our results are mechanized in Coq, and to the best of our knowledge, these are the first machine-verified compilation correctness results for models that are weaker than x86-TSO.
@article{paperbot670,
title = {Bridging the gap between programming languages and hardware weak memory models},
author = {Anton Podkopaev and Ori Lahav and Viktor Vafeiadis},
journal = {Proceedings of the ACM on Programming Languages},
volume = {3},
number = {POPL},
year = {2019},
doi = {10.1145/3290382}
}