[PATCH] D97510: [AArch64][Docs] Release notes 12.x on outline atomics

Pavel Iliin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 16:07:51 PST 2021


ilinpv created this revision.
ilinpv added reviewers: willlovett, ktkachov.
Herald added subscribers: danielkiss, jfb, kristof.beyls.
ilinpv requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Description for AArch64 -moutline-atomics, -mno-outline-atomics
options added to release notes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97510

Files:
  clang/docs/ReleaseNotes.rst


Index: clang/docs/ReleaseNotes.rst
===================================================================
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -73,6 +73,15 @@
 
 - ...
 
+- 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 compilation target supports LSE. Atomic instruction are used directly in
+  that case. The options 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97510.326545.patch
Type: text/x-patch
Size: 1006 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210226/f5326b40/attachment.bin>


More information about the cfe-commits mailing list