[PATCH] D31516: Separate {Min, Max}AtomicLockFreeWidth from MaxAtomicInlineWidth

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 17:54:32 PDT 2017


efriedma added a comment.

Not sure what MIPS reference you're looking at; the ones I can find say something like this: "If either of the following events occurs between the execution of LL and SC, the SC fails: A coherent store is completed by another processor or coherent I/O module into the block of synchronizable physical memory containing the word. The size and alignment of the block is implementation-dependent, but it is at least one word and at most the minimum page size. [...]"

The ARM architecture reference has a detailed description of semantics of the local and global monitors; the global monitor protects a block of memory of at least 8 bytes.


Repository:
  rL LLVM

https://reviews.llvm.org/D31516





More information about the llvm-commits mailing list