about summary refs log tree commit diff
path: root/sysdeps/alpha/divq.S
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-07-30 18:15:57 +0000
committerRichard Henderson <rth@redhat.com>2004-07-30 18:15:57 +0000
commit80574c92d70da99607ba25f734b30852c64d4208 (patch)
tree477e986da45fde72607b689b55ada36075c5acff /sysdeps/alpha/divq.S
parentd1091a21f5ce582e2c9c8cd60378634563d0cc98 (diff)
downloadglibc-80574c92d70da99607ba25f734b30852c64d4208.tar.gz
glibc-80574c92d70da99607ba25f734b30852c64d4208.tar.xz
glibc-80574c92d70da99607ba25f734b30852c64d4208.zip
* sysdeps/alpha/divq.S: Save t3 before it gets clobbered. * sysdeps/alpha/remq.S: Likewise. * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the new division algorithms in divl.S and divq.S respectively.
2004-07-30  Richard Henderson  <rth@redhat.com>

	* sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
	* sysdeps/alpha/remq.S: Likewise.
	* sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
	new division algorithms in divl.S and divq.S respectively.
Diffstat (limited to 'sysdeps/alpha/divq.S')
-rw-r--r--sysdeps/alpha/divq.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/alpha/divq.S b/sysdeps/alpha/divq.S
index 4df79829f9..cab6c34ad1 100644
--- a/sysdeps/alpha/divq.S
+++ b/sysdeps/alpha/divq.S
@@ -115,16 +115,16 @@ $fix_sign_in_ret1:
 	_FTOIT	$f0, Q, 8
 	.align	3
 $fix_sign_in_ret2:
+	ldt	$f0, 0(sp)
+	stq	t3, 0(sp)
+	cfi_restore ($f0)
+	cfi_rel_offset (t3, 0)
+
 	mulq	Q, Y, QY
+	unop
 	stq	t4, 8(sp)
-
-	ldt	$f0, 0(sp)
 	unop
 	cfi_rel_offset (t4, 8)
-	cfi_restore ($f0)
-	stq	t3, 0(sp)
-	unop
-	cfi_rel_offset (t3, 0)
 
 	subq	QY, X, R
 	mov	Y, SY