Residential Collegefalse
Status已發表Published
Trace Semantics and Algebraic Laws for Total Store Order Memory Model
Xiao, Li Li1; Zhu, Hui Biao1; Xu, Qi Wen2
2021-12-01
Source PublicationJOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY
ISSN1000-9000
Volume36Issue:6Pages:1269-1290
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.

KeywordWeak Memory Model Total Store Order (Tso) Trace Semantics Algebraic Law Unifying Theories Of Programming (Utp)
DOI10.1007/s11390-021-1616-1
URLView the original
Indexed BySCIE
Language英語English
WOS Research AreaComputer Science
WOS SubjectComputer Science, Hardware & Architecture ; Computer Science, Software Engineering
WOS IDWOS:000730175900004
Scopus ID2-s2.0-85121394614
Fulltext Access
Citation statistics
Document TypeJournal article
CollectionDEPARTMENT OF COMPUTER AND INFORMATION SCIENCE
Corresponding AuthorZhu, Hui Biao
Affiliation1.Shanghai Key Laboratory of Trustworthy Computing, East China Normal University, Shanghai, 200062, China
2.Department of Computer and Information Science, Faculty of Science and Technology, University of Macau, Macau, China
Recommended Citation
GB/T 7714
Xiao, Li Li,Zhu, Hui Biao,Xu, Qi Wen. Trace Semantics and Algebraic Laws for Total Store Order Memory Model[J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2021, 36(6), 1269-1290.
APA Xiao, Li Li., Zhu, Hui Biao., & Xu, Qi Wen (2021). Trace Semantics and Algebraic Laws for Total Store Order Memory Model. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 36(6), 1269-1290.
MLA Xiao, Li Li,et al."Trace Semantics and Algebraic Laws for Total Store Order Memory Model".JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY 36.6(2021):1269-1290.
Files in This Item:
There are no files associated with this item.
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[Xiao, Li Li]'s Articles
[Zhu, Hui Biao]'s Articles
[Xu, Qi Wen]'s Articles
Baidu academic
Similar articles in Baidu academic
[Xiao, Li Li]'s Articles
[Zhu, Hui Biao]'s Articles
[Xu, Qi Wen]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[Xiao, Li Li]'s Articles
[Zhu, Hui Biao]'s Articles
[Xu, Qi Wen]'s Articles
Terms of Use
No data!
Social Bookmark/Share
All comments (0)
No comment.
 

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.