OpenGrok
Cross Reference: atomic_load.c
xref
: /
src
/
common
/
lib
/
libc
/
atomic
/
atomic_load.c
Home
|
History
|
Annotate
|
Download
|
only in
atomic
History log of
/src/common/lib/libc/atomic/atomic_load.c
Revision
Date
Author
Comments
1.5
14-Feb-2024
christos
sprinkle unused.
1.4
09-Apr-2022
riastradh
libc/atomic: Fix membars in __atomic_load/store_* stubs.
- membar_enter/exit ordering was backwards.
- membar_enter doesn't make any sense for load anyway.
- Switch to membar_release for store and membar_acquire for load.
The only sensible orderings for a simple load or store are acquire or
release, respectively, or sequential consistency. This never
provided correct sequential consistency before -- we should really
make it conditional on memmodel but I don't know offhand what the
values of memmodel might be and this is at least better than before.
1.3
07-Sep-2020
mrg
make some prototypes match the builtin properly. GCC 9 complains
with the old version, GCC 8 is happy with this version.
tested on sparc.
1.2
06-Jul-2014
joerg
branches: 1.2.2; 1.2.6; 1.2.28;
Add unused memory model argument to make GCC happy.
1.1
05-Jul-2014
joerg
Provide a basic implementation of __atomic_load_* and __atomic_store_*,
used by GCC and LLVM as backing for C11/C++11 atomics, if the hardware
is not known to have corresponding features. Include it on ARM as LLVM
and libc++ hit it when compiled for ARMv4.
1.2.28.2
21-Apr-2020
martin
Ooops, restore accidently removed files from merge mishap
1.2.28.1
21-Apr-2020
martin
Sync with HEAD
1.2.6.2
19-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.2.6.1
06-Jul-2014
tls
file atomic_load.c was added on branch tls-maxphys on 2014-08-19 23:45:14 +0000
1.2.2.2
10-Aug-2014
tls
Rebase.
1.2.2.1
06-Jul-2014
tls
file atomic_load.c was added on branch tls-earlyentropy on 2014-08-10 06:47:06 +0000
Indexes created Tue Sep 30 07:10:03 GMT 2025