diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-01 08:47:37 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-01 08:47:37 +0000 |
commit | cff08c81107ae1c8b1581b5e0a534938fd67fc45 (patch) | |
tree | ec76e6e96ba1b0f8695796be0a9d8e63bd193052 /nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S | |
parent | b7fe377cbaef61115deb7dbac1b92eb41e07f380 (diff) | |
download | glibc-cff08c81107ae1c8b1581b5e0a534938fd67fc45.tar glibc-cff08c81107ae1c8b1581b5e0a534938fd67fc45.tar.gz glibc-cff08c81107ae1c8b1581b5e0a534938fd67fc45.tar.bz2 glibc-cff08c81107ae1c8b1581b5e0a534938fd67fc45.zip |
Update.
2004-03-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
(__pthread_cond_timedwait): Optimize wakeup test.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S
(__pthread_cond_wait): Likewise.
* sysdeps/pthread/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
* sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait):
Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S index 8e6e4bfdf5..b1c32ea4b1 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S @@ -190,16 +190,14 @@ __pthread_cond_timedwait: movl wakeup_seq+4(%ebx), %edx cmpl 16(%esp), %edx - ja 7f - jb 15f + jne 7f cmpl 12(%esp), %edi - jbe 15f + je 15f 7: cmpl %ecx, %edx - ja 9f - jb 15f + jne 9f cmp %eax, %edi - ja 9f + jne 9f 15: cmpl $-ETIMEDOUT, %esi jne 8b |