diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-11-28 23:52:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-11-28 23:52:24 +0000 |
commit | c102b41c2bb29b8fe91875f7395c70f033ea7250 (patch) | |
tree | e160707c25e7c808f993c5c9756a7d934ac1731e /nptl/sysdeps/unix/sysv/linux/i386/i486 | |
parent | ddf4ffadf624d9aa4530f551d48d210e17713665 (diff) | |
download | glibc-c102b41c2bb29b8fe91875f7395c70f033ea7250.tar.gz glibc-c102b41c2bb29b8fe91875f7395c70f033ea7250.tar.xz glibc-c102b41c2bb29b8fe91875f7395c70f033ea7250.zip |
Define HAVE_CMOV.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/i486')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S index 2dde246d1f..8d682d94c0 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S @@ -537,8 +537,15 @@ __pthread_rwlock_unlock: movl $1, %ecx leal WRITERS_WAKEUP(%edi), %eax cmpl $0, WRITERS_QUEUED(%edi) - cmovne %ecx, %edx - cmovne %eax, %ebx +#ifdef HAVE_CMOV + cmovnel %ecx, %edx + cmovnel %eax, %ebx +#else + je 0f + movl %ecx, %edx + movl %eax, %ebx +0: +#endif movl $SYS_futex, %eax int $0x80 |