跳到主要导航 跳到搜索 跳到主要内容

Trace Semantics and Algebraic Laws for Total Store Order Memory Model

  • Li Li Xiao
  • , Hui Biao Zhu*
  • , Qi Wen Xu
  • *此作品的通讯作者
  • East China Normal University
  • University of Macau

科研成果: 期刊稿件文章同行评审

摘要

Modern multiprocessors deploy a variety of weak memory models (WMMs). Total Store Order (TSO) is a widely-used weak memory model in SPARC implementations and x86 architecture. It omits the store-load constraint by allowing each core to employ a write buffer. In this paper, we apply Unifying Theories of Programming (abbreviated as UTP) in investigating the trace semantics for TSO, acting in the denotational semantics style. A trace is expressed as a sequence of snapshots, which records the changes in registers, write buffers and the shared memory. All the valid execution results containing reorderings can be described after kicking out those that do not satisfy program order and modification order. This paper also presents a set of algebraic laws for TSO. We study the concept of head normal form, and every program can be expressed in the head normal form of the guarded choice which is able to model the execution of a program with reorderings. Then the linearizability of the TSO model is supported. Furthermore, we consider the linking between trace semantics and algebraic semantics. The linking is achieved through deriving trace semantics from algebraic semantics, and the derivation strategy under the TSO model is provided.

源语言英语
页(从-至)1269-1290
页数22
期刊Journal of Computer Science and Technology
36
6
DOI
出版状态已出版 - 12月 2021

指纹

探究 'Trace Semantics and Algebraic Laws for Total Store Order Memory Model' 的科研主题。它们共同构成独一无二的指纹。

引用此