diff options
author | Martin Liska <mliska@suse.cz> | 2020-05-21 12:45:47 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-05-21 12:46:23 +0200 |
commit | 9e02b45ffc60e0078bde3c56a14f00c54b7f8039 (patch) | |
tree | 30a5b984ae4b8c782d9a111a889ac13cdfd9c89b /gcc/doc | |
parent | 62b5b53e94dc0314d86d9729733b0c65dff3b53e (diff) | |
download | gcc-9e02b45ffc60e0078bde3c56a14f00c54b7f8039.zip gcc-9e02b45ffc60e0078bde3c56a14f00c54b7f8039.tar.gz gcc-9e02b45ffc60e0078bde3c56a14f00c54b7f8039.tar.bz2 |
Add outline-atomics to target attribute.
* common/config/aarch64/aarch64-common.c (aarch64_handle_option):
Handle OPT_moutline_atomics.
* config/aarch64/aarch64.c: Add outline-atomics to
aarch64_attributes.
* doc/extend.texi: Document the newly added target attribute.
* gcc.target/aarch64/target_attr_20.c: New test.
* gcc.target/aarch64/target_attr_21.c: New test.
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/extend.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index c80848e..a2ebef8 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -4066,6 +4066,12 @@ Select the function scope on which branch protection will be applied. The behavior and permissible arguments are the same as for the command-line option @option{-mbranch-protection=}. The default value is @code{none}. +@item outline-atomics +@cindex @code{outline-atomics} function attribute, AArch64 +Enable or disable calls to out-of-line helpers to implement atomic operations. +This corresponds to the behavior of the command line options +@option{-moutline-atomics} and @option{-mno-outline-atomics}. + @end table The above target attributes can be specified as follows: |