Litcius/Paper detail

Extending Intel-x86 consistency and persistency: formalising the semantics of Intel-x86 memory types and non-temporal stores

Azalea Raad, Luc Maranget, Viktor Vafeiadis

2022Proceedings of the ACM on Programming Languages21 citationsDOIOpen Access PDF

Abstract

Existing semantic formalisations of the Intel-x86 architecture cover only a small fragment of its available features that are relevant for the consistency semantics of multi-threaded programs as well as the persistency semantics of programs interfacing with non-volatile memory. We extend these formalisations to cover: (1) non-temporal writes, which provide higher performance and are used to ensure that updates are flushed to memory; (2) reads and writes to other Intel-x86 memory types, namely uncacheable, write-combined, and write-through; as well as (3) the interaction between these features. We develop our formal model in both operational and declarative styles, and prove that the two characterisations are equivalent. We have empirically validated our formalisation of the consistency semantics of these additional features and their subtle interactions by extensive testing on different Intel-x86 implementations.

Topics & Concepts

x86Computer scienceSemantics (computer science)Consistency (knowledge bases)Programming languageMemory modelComputer architectureOperating systemArtificial intelligenceShared memorySoftwareParallel Computing and Optimization TechniquesDistributed systems and fault toleranceSecurity and Verification in Computing