History log of /netbsd-src/common/lib/libc/arch/arm/atomic/sync_fetch_and_and_8.S (Results 1 – 6 of 6)
Revision Date Author Comments
# 8e8c0784 28-Jul-2021 skrll <skrll@NetBSD.org>

Remove memory barriers from the atomic_ops(3) atomic operations. They're
not needed for correctness.

Add the correct memory barriers to the gcc legacy __sync built-in
functions for atomic memory ac

Remove memory barriers from the atomic_ops(3) atomic operations. They're
not needed for correctness.

Add the correct memory barriers to the gcc legacy __sync built-in
functions for atomic memory access. From the gcc documentation:

In most cases, these built-in functions are considered a full barrier.
That is, no memory operand is moved across the operation, either forward
or backward. Further, instructions are issued as necessary to prevent the
processor from speculating loads across the operation and from queuing
stores after the operation.

type __sync_lock_test_and_set (type *ptr, type value, ...)

This built-in function is not a full barrier, but rather an acquire
barrier. This means that references after the operation cannot move to
(or be speculated to) before the operation, but previous memory stores
may not be globally visible yet, and previous memory loads may not yet
be satisfied.

void __sync_lock_release (type *ptr, ...)

This built-in function is not a full barrier, but rather a release
barrier. This means that all previous memory stores are globally
visible, and all previous memory loads have been satisfied, but
following memory reads are not prevented from being speculated to
before the barrier.

show more ...


# 75c54c21 17-May-2015 justin <justin@NetBSD.org>

Move arm sync_* changes to Makefile.inc


# b4bb7421 17-May-2015 justin <justin@NetBSD.org>

Do not build arm toolchain symbols in the rump kernel

These symbols will be provided at link time and will be
duplicate symbols in rump kernel and libc if defined.

Many have been fixed previously,

Do not build arm toolchain symbols in the rump kernel

These symbols will be provided at link time and will be
duplicate symbols in rump kernel and libc if defined.

Many have been fixed previously, but these were missed
as did not have a test.

show more ...


# 504e8e68 23-Jun-2014 joerg <joerg@NetBSD.org>

Add aliases for the builtins used to implement C11/C++11 atomics.


# 5ce8d6df 30-Nov-2013 joerg <joerg@NetBSD.org>

Use explicit form of register pair operations by specifying both.


# 918e319d 08-Nov-2013 matt <matt@NetBSD.org>

Add support for the gcc __sync builtins.
Note that these need earmv6 or later to get the ldrex/strex instructions