diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-16 03:49:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-16 03:49:51 +0000 |
commit | ad032aee17008c7799fee97679a6d20efdcd7bee (patch) | |
tree | ec3f8f4aa5b127536d7027ee6a75b1a6f6e5707e /nptl/sysdeps/unix/sysv/linux/x86_64 | |
parent | 8112cc70b47d8817630d1754dabcf83d3c1fbdc2 (diff) | |
download | glibc-ad032aee17008c7799fee97679a6d20efdcd7bee.tar.gz glibc-ad032aee17008c7799fee97679a6d20efdcd7bee.tar.xz glibc-ad032aee17008c7799fee97679a6d20efdcd7bee.zip |
Really use R12 and r13.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S index de9b934e3a..29bc1bcf46 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S @@ -56,11 +56,11 @@ sem_timedwait: pushq %r13 subq $16, %rsp - movq %rdi, %r8 - movq %rsi, %r9 + movq %rdi, %r12 + movq %rsi, %r13 /* Check for invalid nanosecond field. */ - cmpq $1000000000, 8(%r9) + cmpq $1000000000, 8(%r13) movl $EINVAL, %eax jae 6f @@ -73,8 +73,8 @@ sem_timedwait: movq 8(%rsp), %rax movq $1000, %rdi mul %rdi /* Milli seconds to nano seconds. */ - movq (%r9), %rdi - movq 8(%r9), %rdi + movq (%r13), %rdi + movq 8(%r13), %rdi subq (%rsp), %rdi subq %rax, %rdi jns 5f @@ -88,7 +88,7 @@ sem_timedwait: movq %rsi, 8(%rsp) movq %rsp, %r10 - movq %r8, %rdi + movq %r12, %rdi xorq %rsi, %rsi movq $SYS_futex, %rax xorl %edx, %edx |