about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-16 03:49:51 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-16 03:49:51 +0000
commitad032aee17008c7799fee97679a6d20efdcd7bee (patch)
treeec3f8f4aa5b127536d7027ee6a75b1a6f6e5707e /nptl/sysdeps
parent8112cc70b47d8817630d1754dabcf83d3c1fbdc2 (diff)
downloadglibc-ad032aee17008c7799fee97679a6d20efdcd7bee.tar.gz
glibc-ad032aee17008c7799fee97679a6d20efdcd7bee.tar.xz
glibc-ad032aee17008c7799fee97679a6d20efdcd7bee.zip
Really use R12 and r13.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S12
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