about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-21 02:10:52 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-21 02:10:52 +0000
commit6fadaea6a2854bbb20737ac199f8c4b85415d661 (patch)
tree2750dbcb18187d6f1b130f488a03eacdbeb5c177 /sysdeps
parent230c3e1e54e0a997ce70e110e0f423955bd4701b (diff)
downloadglibc-6fadaea6a2854bbb20737ac199f8c4b85415d661.tar.gz
glibc-6fadaea6a2854bbb20737ac199f8c4b85415d661.tar.xz
glibc-6fadaea6a2854bbb20737ac199f8c4b85415d661.zip
Update.
2004-02-19  Carlos O'Donell  <carlos@baldric.uwo.ca>

	* sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Fix order of fp
	status register loads.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/hppa/fpu/feholdexcpt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/hppa/fpu/feholdexcpt.c b/sysdeps/hppa/fpu/feholdexcpt.c
index db9fb409ae..5aec0151f8 100644
--- a/sysdeps/hppa/fpu/feholdexcpt.c
+++ b/sysdeps/hppa/fpu/feholdexcpt.c
@@ -46,11 +46,11 @@ feholdexcept (fenv_t *envp)
   /* Load the new environment. */
   _regs = &clear;
   __asm__ (
-	   "fldd,ma -8(%1),%%fr3\n"
-	   "fldd,ma -8(%1),%%fr2\n"
-	   "fldd,ma -8(%1),%%fr1\n"
-	   "fldd 0(%1),%%fr0\n"
-	   : "=m" (*_regs), "+r" (_regs));
+	   "fldd,ma 8(%0),%%fr0\n"
+	   "fldd,ma 8(%0),%%fr1\n"
+	   "fldd,ma 8(%0),%%fr2\n"
+	   "fldd 0(%0),%%fr3\n"
+	   : : "r" (_regs));
 
   return 0;
 }