* config/aarch64/aarch64-protos.h
authorMatthew Wahab <matthew.wahab@arm.com>
Thu, 13 Aug 2015 11:28:42 +0000 (11:28 +0000)
committerMatthew Wahab <mwahab@gcc.gnu.org>
Thu, 13 Aug 2015 11:28:42 +0000 (11:28 +0000)
commitb0770c0f18133105bddbc841f435a7cb5ccf9747
tree3bc09bb15618e9177907e536179a7f1bbec4a466
parent045c2d32d9f8c0338cfffb0152088447acaced5e
* config/aarch64/aarch64-protos.h
(aarch64_gen_atomic_cas): Declare.
* config/aarch64/aarch64.c (aarch64_expand_compare_and_swap):
Choose appropriate instruction pattern for the target.
(aarch64_gen_atomic_cas): New.
* config/aarch64/atomics.md (UNSPECV_ATOMIC_CAS): New.
(atomic_compare_and_swap<mode>_1): Rename to
aarch64_compare_and_swap<mode>.  Fix some indentation.
(aarch64_compare_and_swap<mode>_lse): New.
(aarch64_atomic_cas<mode>): New.

From-SVN: r226858
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/atomics.md