From 98f06b16a313ece593f5711778d7da9037f3a2ef Mon Sep 17 00:00:00 2001 From: Pavel Iliin Date: Thu, 25 Feb 2021 22:51:09 +0000 Subject: [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 --- clang/docs/ReleaseNotes.rst | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.1