• Home
  • Search
  • Total Store Order and the x86 Memory Model
  • https://doi.org/10.1007/978-3-031-01764-3_4Copy DOI Icon

Total Store Order and the x86 Memory Model

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

A widely implemented memory consistency model is total store order (TSO). TSO was first introduced by SPARC and, more importantly, appears to match the memory consistency model of the widely used x86 architecture. RISC-V also supports a TSO extension, RVTSO, in part to aid porting of code originally written for x86 or SPARC architectures. This chapter presents this important consistency model using a pattern similar to that in the previous chapter on sequential consistency. We first motivate TSO/x86 (Section 4.1) in part by pointing out limitations of SC. We then present TSO/x86 at an intuitive level (Section 4.2) before describing it more formally (Section 4.3), explaining how systems implement TSO/x86, including atomic instructions and instructions used to enforce ordering between instructions (Section 4.4). We conclude by discussing other resources for learning more about TSO/x86 (Section 4.5) and comparing TSO/x86 and SC (Section 4.6).

Similar Papers
  • Research Article

Decidability of Liveness on the TSO Memory Model

  • Feb 13, 2026
  • Formal Aspects of Computing
  • Chao Wang +5
  • Research Article
  • Citations9

Scalability Analysis of Memory Consistency Models in NoC-Based Distributed Shared Memory SoCs

  • Jan 01, 2013
  • IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
  • A Naeem +2
  • Conference Article
  • Citations48

Maximal causality reduction for TSO and PSO

  • Oct 19, 2016
  • Shiyou Huang +1
  • Research Article
  • Citations3

A regulated transitive reduction (RTR) for longer memory race recording

  • Oct 20, 2006
  • ACM SIGOPS Operating Systems Review
  • Min Xu +2
  • Research Article
  • Citations1

A regulated transitive reduction (RTR) for longer memory race recording

  • Oct 20, 2006
  • ACM SIGPLAN Notices
  • Min Xu +2
  • Research Article
  • Citations6

A regulated transitive reduction (RTR) for longer memory race recording

  • Oct 20, 2006
  • ACM SIGARCH Computer Architecture News
  • Min Xu +2
  • Book Chapter
  • Citations4

A Proof Method for Linearizability on TSO Architectures

  • Jan 01, 2017
  • John Derrick +3
  • Book Chapter
  • Citations134

Checking and Enforcing Robustness against TSO

  • Jan 01, 2013
  • Ahmed Bouajjani +2
  • Research Article
  • Citations37

Specifying memory consistency of write buffer multiprocessors

  • Feb 01, 2007
  • ACM Transactions on Computer Systems
  • Lisa Higham +2
  • Conference Article
  • Citations15

Defining Correctness Conditions for Concurrent Objects in Multicore Architectures

  • Jan 01, 2015
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Brijesh Dongol +3
  • Conference Article
  • Citations74

Lamport clocks

  • Jan 01, 1998
  • Manoj Plakal +3
  • Book Chapter
  • Citations5

Using Coarse-Grained Abstractions to Verify Linearizability on TSO Architectures

  • Jan 01, 2014
  • John Derrick +3
  • Research Article
  • Citations15

An interaction of coherence protocols and memory consistency models in DSM systems

  • Oct 01, 1997
  • ACM SIGOPS Operating Systems Review
  • Weisong Shi +2
  • Conference Article

Visualizing Execution Histories on Multiple Memory Consistency Models

  • Sep 28, 1998
  • Alba Cristina Magalhães De Melo +1
  • Research Article
  • Citations1

Automated Robustness Verification of Concurrent Data Structure Libraries against Relaxed Memory Models

  • Oct 08, 2024
  • Proceedings of the ACM on Programming Languages
  • Kartik Nagar +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.