This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-903-gd9754f5
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 15 May 2012 20:39:42 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-903-gd9754f5
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via d9754f5572a0bde769804157cf2e47a47fd65b9c (commit)
from 2953ec750f08b58aa2197cd222e3763014536b58 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d9754f5572a0bde769804157cf2e47a47fd65b9c
commit d9754f5572a0bde769804157cf2e47a47fd65b9c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue May 15 13:39:25 2012 -0700
Use LP_OP(cmp) and RCX_LP on dep_mutex pointer
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 3927717..133af22 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,10 @@
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
+ * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Use
+ LP_OP(cmp) and RCX_LP on dep_mutex pointer.
+
+2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
+
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Use LP_OP(op)
on NWAITERS.
(__gcc_personality_v0): Replace 8-byte data alignment with
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
index bb9a813..a77b7d5 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
@@ -55,14 +55,14 @@ __pthread_cond_signal:
addl $1, (%rdi)
/* Wake up one thread. */
- cmpq $-1, dep_mutex(%r8)
+ LP_OP(cmp) $-1, dep_mutex(%r8)
movl $FUTEX_WAKE_OP, %esi
movl $1, %edx
movl $SYS_futex, %eax
je 8f
/* Get the address of the mutex used. */
- movq dep_mutex(%r8), %rcx
+ mov dep_mutex(%r8), %RCX_LP
movl MUTEX_KIND(%rcx), %r11d
andl $(ROBUST_BIT|PI_BIT), %r11d
cmpl $PI_BIT, %r11d
@@ -134,7 +134,7 @@ __pthread_cond_signal:
#if cond_lock != 0
addq $cond_lock, %rdi
#endif
- cmpq $-1, dep_mutex-cond_lock(%rdi)
+ LP_OP(cmp) $-1, dep_mutex-cond_lock(%rdi)
movl $LLL_PRIVATE, %eax
movl $LLL_SHARED, %esi
cmovne %eax, %esi
@@ -150,7 +150,7 @@ __pthread_cond_signal:
#if cond_lock != 0
addq $cond_lock, %rdi
#endif
- cmpq $-1, dep_mutex-cond_lock(%rdi)
+ LP_OP(cmp) $-1, dep_mutex-cond_lock(%rdi)
movl $LLL_PRIVATE, %eax
movl $LLL_SHARED, %esi
cmovne %eax, %esi
-----------------------------------------------------------------------
Summary of changes:
nptl/ChangeLog | 5 +++++
.../unix/sysv/linux/x86_64/pthread_cond_signal.S | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources