summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2016-11-18 18:22:00 +0300
committerIvan Maidanski <ivmai@mail.ru>2016-11-18 18:22:00 +0300
commit8c34424b3a10eef507655b3304297d96ad71f804 (patch)
tree51185ee95c774fefb7acff8074907e6e28b112db
parentb6bfe95a4e215d2db19f26ba5a8cb8b0726e2afe (diff)
downloadlibatomic_ops-8c34424b3a10eef507655b3304297d96ad71f804.tar.gz
Refine AO_nop_write comment for ARM big.LITTLE architecture
* src/atomic_ops/sysdeps/gcc/arm.h [!AO_UNIPROCESSOR && AO_ARM_HAVE_DMB && !AO_PREFER_BUILTIN_ATOMICS] (AO_nop_write): Refine comment about "dmb ishst" for big.LITTLE architecture.
-rw-r--r--src/atomic_ops/sysdeps/gcc/arm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/atomic_ops/sysdeps/gcc/arm.h b/src/atomic_ops/sysdeps/gcc/arm.h
index f548aa1..633ed3b 100644
--- a/src/atomic_ops/sysdeps/gcc/arm.h
+++ b/src/atomic_ops/sysdeps/gcc/arm.h
@@ -108,7 +108,8 @@
{
/* AO_THUMB_GO_ARM is empty. */
/* This will target the system domain and thus be overly */
- /* conservative as the CPUs will occupy the inner shareable domain. */
+ /* conservative as the CPUs (even in case of big.LITTLE SoC) will */
+ /* occupy the inner shareable domain. */
/* The plain variant (dmb st) is theoretically slower, and should */
/* not be needed. That said, with limited experimentation, a CPU */
/* implementation for which it actually matters has not been found */