Bridging the Gap between Programming Languages and Hardware Weak Memory Models

Anton Podkopaev, Ori Lahav, Viktor Vafeiadis
7/20/2018
86 citations
cs.PL

Official code: weakmemory/imm (32 stars, Coq, MIT, last commit 2025-02-05).

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.

View on arXivView PDF

Code Implementations(1)

weakmemory/immOfficial100%
MIT

Intermediate Memory Model (IMM) and compilation correctness proofs for it

324Coq, NixSep 4, 20181 years agoMIT
coqproofweak-memory-models

Similar Papers

Cite this paper

@article{podkopaev2018bridging,
  title  = {Bridging the Gap between Programming Languages and Hardware Weak Memory Models},
  author = {Anton Podkopaev and Ori Lahav and Viktor Vafeiadis},
  year   = {2018},
  eprint = {1807.07892},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.07892}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.07892.svg)](https://codeofpaper.com/paper/1807.07892)

Discussion