about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2013-01-23 11:27:24 -0800
committerDavid S. Miller <davem@davemloft.net>2013-01-23 11:27:24 -0800
commitbae8e7f5ed0cdc8a81ae9b32efc77285d2f5bc7a (patch)
treeb2deb8c9c341212727f5c04750c5cc6401635698 /ChangeLog
parent67b3f58c83d4ffc29ab939e3d0bbeb9fb38103e7 (diff)
downloadglibc-bae8e7f5ed0cdc8a81ae9b32efc77285d2f5bc7a.tar.gz
glibc-bae8e7f5ed0cdc8a81ae9b32efc77285d2f5bc7a.tar.xz
glibc-bae8e7f5ed0cdc8a81ae9b32efc77285d2f5bc7a.zip
Add a minor 'cas' atomic optimization on sparc.
	* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
	(__arch_compare_and_exchange_val_32_acq): Use %g0 as second
	argument of CAS if possible.
	* sysdeps/sparc/sparc64/bits/atomic.h
	(__arch_compare_and_exchange_val_32_acq): Likewise.
	(__arch_compare_and_exchange_val_64_acq): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 418b9320d1..00f702735e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2013-01-23  David S. Miller  <davem@davemloft.net>
+
+	* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
+	(__arch_compare_and_exchange_val_32_acq): Use %g0 as second
+	argument of CAS if possible.
+	* sysdeps/sparc/sparc64/bits/atomic.h
+	(__arch_compare_and_exchange_val_32_acq): Likewise.
+	(__arch_compare_and_exchange_val_64_acq): Likewise.
+
 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
 
 	* sysdeps/unix/sysv/linux/ulimit.c: Moved to ...