Bridging the gap between programming languages and hardware weak memory models
Abstract
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.
Paper
-
Anton Podkopaev, Ori Lahav, and Viktor Vafeiadis.
Bridging the gap between programming languages and hardware weak memory models
Proc. ACM Program. Lang. 3, POPL, Article 69 (January 2019)
[Paper, Full paper, @arXiv, @GitHub, VirtualBox image, POPL slides]
People
- Anton Podkopaev (St. Petersburg University, JetBrains Research, and MPI-SWS)
- Ori Lahav (Tel Aviv University)
- Viktor Vafeiadis (MPI-SWS)