Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2019 06:14:00 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r351473 - in stable/12: share/man/man9 sys/i386/include
Message-ID:  <201908250614.x7P6E0gR052894@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Aug 25 06:14:00 2019
New Revision: 351473
URL: https://svnweb.freebsd.org/changeset/base/351473

Log:
  MFC r351190:
  i386: Implement atomic_load_64(9) and atomic_store_64(9).

Modified:
  stable/12/share/man/man9/atomic.9
  stable/12/sys/i386/include/atomic.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/share/man/man9/atomic.9
==============================================================================
--- stable/12/share/man/man9/atomic.9	Sun Aug 25 05:13:15 2019	(r351472)
+++ stable/12/share/man/man9/atomic.9	Sun Aug 25 06:14:00 2019	(r351473)
@@ -23,7 +23,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 22, 2017
+.Dd August 18, 2019
 .Dt ATOMIC 9
 .Os
 .Sh NAME
@@ -478,7 +478,7 @@ and do not have any variants with memory barriers at t
 .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

Modified: stable/12/sys/i386/include/atomic.h
==============================================================================
--- stable/12/sys/i386/include/atomic.h	Sun Aug 25 05:13:15 2019	(r351472)
+++ stable/12/sys/i386/include/atomic.h	Sun Aug 25 06:14:00 2019	(r351473)
@@ -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) \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908250614.x7P6E0gR052894>