AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Article Link
Collect
Submit Manuscript
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Regular Paper

Trace Semantics and Algebraic Laws for Total Store Order Memory Model

Shanghai Key Laboratory of Trustworthy Computing, East China Normal University, Shanghai, 200062, China
Department of Computer and Information Science, Faculty of Science and Technology, University of Macau, Macau, China
Show Author Information

Abstract

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.

Electronic Supplementary Material

Download File(s)
jcst-36-6-1269-Highlights.pdf (120.8 KB)

References

【1】
【1】
 
 
Journal of Computer Science and Technology
Pages 1269-1290

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Xiao L-L, Zhu H-B, Xu Q-W. Trace Semantics and Algebraic Laws for Total Store Order Memory Model. Journal of Computer Science and Technology, 2021, 36(6): 1269-1290. https://doi.org/10.1007/s11390-021-1616-1

1111

Views

4

Crossref

4

Web of Science

5

Scopus

0

CSCD

Received: 27 May 2021
Accepted: 07 November 2021
Published: 30 November 2021
© Institute of Computing Technology, Chinese Academy of Sciences 2021