Skip to content

Commit 98f06b1

Browse files
committed
[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
1 parent e0e6b1e commit 98f06b1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@ New Compiler Flags
7373

7474
- ...
7575

76+
- AArch64 options ``-moutline-atomics``, ``-mno-outline-atomics`` to enable
77+
and disable calls to helper functions implementing atomic operations. These
78+
out-of-line helpers like '__aarch64_cas8_relax' will detect at runtime
79+
AArch64 Large System Extensions (LSE) availability and either use their
80+
atomic instructions, or falls back to LL/SC loop. These options do not apply
81+
if the compilation target supports LSE. Atomic instructions are used directly
82+
in that case. The option's behaviour mirrors GCC, the helpers are implemented
83+
both in compiler-rt and libgcc.
84+
7685
- -fpch-codegen and -fpch-debuginfo generate shared code and/or debuginfo
7786
for contents of a precompiled header in a separate object file. This object
7887
file needs to be linked in, but its contents do not need to be generated

0 commit comments

Comments
 (0)