+2003-02-02 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
+ (__lll_lock_wait): Add branch predicition.
+ * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S
+ (__lll_lock_wait): Likewise.
+ (lll_unlock_wake_cb): Removed.
+
2003-01-31 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Remove
0:
#endif
xaddl %eax, (%ebx)
- jne 1b
+ jne,pn 1b
movl $-1, (%ebx)
.size __lll_lock_wait,.-__lll_lock_wait
- .type lll_unlock_wake_cb,@function
- .align 16
-lll_unlock_wake_cb:
- pushl %esi
- pushl %ebx
- pushl %ecx
- pushl %edx
-
- movl 20(%esp), %ebx
-#ifndef UP
- cmpl $0, %gs:MULTIPLE_THREADS_OFFSET
- je,pt 0f
- lock
-0:
-#endif
- incl (%ebx)
- jng 1f
-
- popl %edx
- popl %ecx
- popl %ebx
- popl %esi
- ret
- .size lll_unlock_wake_cb,.-lll_unlock_wake_cb
-
-
.globl __lll_unlock_wake
.type __lll_unlock_wake,@function
.hidden __lll_unlock_wake
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
orl $-1, %eax /* Load -1. */
LOCK
xaddl %eax, (%ebx)
- jne 1b
+ jne,pn 1b
movl $-1, (%ebx)