diff options
author | Richard Henderson <rth@redhat.com> | 2012-01-24 09:55:29 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2012-01-24 09:55:29 -0800 |
commit | f8a27aa6319931d0d5317d8cd860e24a607cd442 (patch) | |
tree | 37935401c64c355f48100c4ca42caf17bfd2154e /gcc/final.c | |
parent | 3b547557aade5a4f4f0d261d508a9b3d32b13a92 (diff) | |
download | gcc-f8a27aa6319931d0d5317d8cd860e24a607cd442.zip gcc-f8a27aa6319931d0d5317d8cd860e24a607cd442.tar.gz gcc-f8a27aa6319931d0d5317d8cd860e24a607cd442.tar.bz2 |
atomic: Create and use maybe_emit_atomic_test_and_set.
* optabs.c (CODE_FOR_atomic_test_and_set): Provide default.
(maybe_emit_atomic_test_and_set): New.
(expand_sync_lock_test_and_set): Use it.
(expand_atomic_test_and_set): Likewise.
* doc/extend.texi (__atomic_test_and_set): Adjust the docs to match
the implementation; clarify implementation defined details.
* doc/md.texi (atomic_test_and_set): Document.
From-SVN: r183483
Diffstat (limited to 'gcc/final.c')
0 files changed, 0 insertions, 0 deletions