mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Define HAVE_CMOV.
This commit is contained in:
parent
ddf4ffadf6
commit
c102b41c2b
@ -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
|
||||
|
||||
|
@ -17,4 +17,5 @@
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307 USA. */
|
||||
|
||||
#define HAVE_CMOV 1
|
||||
#include "../i486/lowlevelrwlock.S"
|
||||
|
Loading…
Reference in New Issue
Block a user