about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/hppa/fpu/feholdexcpt.c10
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 288d41c7fa..49c079c0e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-19  Carlos O'Donell  <carlos@baldric.uwo.ca>
+
+	* sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Fix order of fp
+	status register loads.
+
 2004-02-20  Thorsten Kukuk  <kukuk@suse.de>
 
 	* nscd/nscd.c (termination_handler): Use _exit instead of exit
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;
 }