From 3273832c67441e2edf8e5b2e4262533c5748aca1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 11 Mar 2003 00:49:38 +0000 Subject: [PATCH] Update. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S (__lll_timedwait_tid): Remove one unnecessary instruction. --- nptl/ChangeLog | 3 +++ nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 895d552ce5..7775de7feb 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,8 @@ 2003-03-10 Ulrich Drepper + * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S + (__lll_timedwait_tid): Remove one unnecessary instruction. + * sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: Define __lll_mutex_timedlock_wait only for NOT_IN_libc. * sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: Include diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S index 611eb335b5..adb18e6e33 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S @@ -162,8 +162,6 @@ __lll_timedwait_tid: movl $SYS_futex, %eax ENTER_KERNEL - movl %eax, %edx - cmpl $0, (%ebx) jne 1f 4: xorl %eax, %eax @@ -175,7 +173,7 @@ __lll_timedwait_tid: popl %edi ret -1: cmpl $-ETIMEDOUT, %edx +1: cmpl $-ETIMEDOUT, %eax jne 2b 6: movl $ETIMEDOUT, %eax jmp 3b