Skip to content

Demonstration of strong memory ordering (TSO) in x86 CPUs.

Notifications You must be signed in to change notification settings

kssuraaj28/Store-load-fence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Source code adapted from: https://preshing.com/20120515/memory-reordering-caught-in-the-act/

  • Compile using make. You can also compile after defining USE_CPU_FENCE or USE_SINGLE_HW_THREAD in ordering.c. This will prevent run-time reordering.
  • Run using ./ordering. This will display the reordering count. You can only exit by killing the process.

About

Demonstration of strong memory ordering (TSO) in x86 CPUs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published