i386: Implement atomic_load_64(9) and atomic_store_64(9).

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2019-08-18 15:58:44 +00:00
parent 76eeda8557
commit 3a91d1062a
2 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd December 22, 2017
.Dd August 18, 2019
.Dt ATOMIC 9
.Os
.Sh NAME
@ -477,7 +477,7 @@ and do not have any variants with memory barriers at this time.
.Pp
The type
.Dq Li 64
is currently not implemented for any of the atomic operations on the
is currently not implemented for some of the atomic operations on the
.Tn arm ,
.Tn i386 ,
and

View File

@ -891,6 +891,8 @@ u_long atomic_swap_long(volatile u_long *p, u_long v);
#define atomic_add_rel_64 atomic_add_64
#define atomic_subtract_acq_64 atomic_subtract_64
#define atomic_subtract_rel_64 atomic_subtract_64
#define atomic_load_64 atomic_load_acq_64
#define atomic_store_64 atomic_store_rel_64
/* Operations on pointers. */
#define atomic_set_ptr(p, v) \