2017/05/16 by Sizhuo Zhang, Zhang, Sizhuo, Muralidaran Vijayaraghavan +3 · 1 voice
Computer Science · #Distributed systems and fault tolerance #Embedded Systems Design Techniques #FOS: Computer and information sciences #Parallel Computing and Optimization Techniques #Programming Languages (cs.PL) #cs.PL
paper · pdf · doi:10.48550/arxiv.1705.06158
arXiv admin note: text overlap with arXiv:1606.05416
arxiv created 2017/05/16 · openalex publication_date 2017/05/16 · arxiv published 2017/05/16 · arxiv updated 2017/05/18 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28
There has been great progress recently in formally specifying the memory model of microprocessors like ARM and POWER. These specifications are, however, too complicated for reasoning about program behaviors, verifying compilers etc., because they involve microarchitectural details like the reorder buffer (ROB), partial and speculative execution, instruction replay on speculation failure, etc. In this paper we present a new Instantaneous Instruction Execution (I2E) framework which allows us to specify weak memory models in the same style as SC and TSO. Each instruction in I2E is executed instantaneously and in-order such that the state of the processor is always correct. The effect of instruction reordering is captured by the way data is moved between the processors and the memory non-deterministically, using three conceptual devices: invalidation buffers, timestamps and dynamic store buffers. We prove that I2E models capture the behaviors of modern microarchitectures and cache-coherent memory systems accurately, thus eliminating the need to think about microarchitectural details.