]> granicus.if.org Git - libatomic_ops/commit
Fix assembly comment prefix and identify memory clobbers for AArch64
authorYvan Roux <yvan.roux@linaro.org>
Sat, 9 Mar 2013 13:00:43 +0000 (17:00 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 9 Mar 2013 13:00:43 +0000 (17:00 +0400)
commit5d6e9433c5edd91e21919536ea4a1ea6bb940122
tree63fa6d669fa0ddfdc32d9624e5ea2d1fb8ff54fa
parent1ce472e50783c92a0b4c0d8b966bd7cc04f4cbe5
Fix assembly comment prefix and identify memory clobbers for AArch64

* src/atomic_ops/sysdeps/gcc/aarch64.h: Revert comments beginning
marker to '//' (since '@' is not supported for A64 assembler).
* src/atomic_ops/sysdeps/gcc/aarch64.h (AO_double_load): Add comment
about the need for STXP instruction; remove TODO item.
* src/atomic_ops/sysdeps/gcc/aarch64.h (AO_double_store): Add comment
about absence of "cc" in clobber lists; remove TODO item.
* src/atomic_ops/sysdeps/gcc/aarch64.h (AO_double_load,
AO_double_load_acquire, AO_double_store, AO_double_store_release,
AO_double_compare_and_swap, AO_double_compare_and_swap_acquire,
AO_double_compare_and_swap_release): Use Q constraint (instead of "r")
for 'addr' argument to instruct the compiler about memory clobbers.
src/atomic_ops/sysdeps/gcc/aarch64.h