aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Iliin <Pavel.Iliin@arm.com>2021-02-25 22:51:09 +0000
committerPavel Iliin <Pavel.Iliin@arm.com>2021-03-01 17:36:24 +0000
commit98f06b16a313ece593f5711778d7da9037f3a2ef (patch)
tree07818cf66f4ccac752eaa2edb9073b86de720d28
parente0e6b1e39e7e402cd74a8bf98a2728efbe38310e (diff)
downloadllvm-98f06b16a313ece593f5711778d7da9037f3a2ef.zip
llvm-98f06b16a313ece593f5711778d7da9037f3a2ef.tar.gz
llvm-98f06b16a313ece593f5711778d7da9037f3a2ef.tar.bz2
[AArch64][Docs] Release notes 12.x on outline atomics
Description for AArch64 -moutline-atomics, -mno-outline-atomics options added to release notes. Differential Revision: https://reviews.llvm.org/D97510
-rw-r--r--clang/docs/ReleaseNotes.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index a43cc33..64f737f 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -73,6 +73,15 @@ New Compiler Flags
- ...
+- AArch64 options ``-moutline-atomics``, ``-mno-outline-atomics`` to enable
+ and disable calls to helper functions implementing atomic operations. These
+ out-of-line helpers like '__aarch64_cas8_relax' will detect at runtime
+ AArch64 Large System Extensions (LSE) availability and either use their
+ atomic instructions, or falls back to LL/SC loop. These options do not apply
+ if the compilation target supports LSE. Atomic instructions are used directly
+ in that case. The option's behaviour mirrors GCC, the helpers are implemented
+ both in compiler-rt and libgcc.
+
- -fpch-codegen and -fpch-debuginfo generate shared code and/or debuginfo
for contents of a precompiled header in a separate object file. This object
file needs to be linked in, but its contents do not need to be generated