diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-07-31 09:25:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-07-31 09:25:54 +0000 |
commit | 1b26e9a566ce4729c0ce692f9aee1933e85c6d58 (patch) | |
tree | 5f43aa65cfd10c893db7739dc2dffde4aa1a3784 /nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S | |
parent | adc12574e555ec7d6ba3969eed4f829705c235ab (diff) | |
download | glibc-1b26e9a566ce4729c0ce692f9aee1933e85c6d58.tar.gz glibc-1b26e9a566ce4729c0ce692f9aee1933e85c6d58.tar.xz glibc-1b26e9a566ce4729c0ce692f9aee1933e85c6d58.zip |
Update.
2003-07-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S (__pthread_cond_timedwait): Don't use cmov unless HAVE_CMOV is defined. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Define HAVE_CMOV. Patch by Nicholas Miell <nmiell@attbi.com>.
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 | 6 |
1 files changed, 6 insertions, 0 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 f09be4403d..f88d2d33bb 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 @@ -226,7 +226,13 @@ __pthread_cond_timedwait: /* We return the result of the mutex_lock operation if it failed. */ testl %eax, %eax +#ifdef HAVE_CMOV cmovel %esi, %eax +#else + jne 22f + movl %esi, %eax +22: +#endif 18: popl %ebx .Lpop_ebx: |