This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
PowerPC - load FPU regs
- From: Gary Thomas <gary at chez-thomas dot org>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 05 Aug 2002 06:49:10 -0600
- Subject: PowerPC - load FPU regs
Index: hal/powerpc/arch/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/arch/current/ChangeLog,v
retrieving revision 1.42
diff -u -5 -p -r1.42 ChangeLog
--- hal/powerpc/arch/current/ChangeLog 23 May 2002 23:04:11 -0000 1.42
+++ hal/powerpc/arch/current/ChangeLog 5 Aug 2002 12:46:10 -0000
@@ -1,5 +1,10 @@
+2002-08-05 Gary Thomas <gary@chez-thomas.org>
+2002-08-05 Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be>
+
+ * include/arch.inc: hal_fpu_load regs was not loading registers!
+
2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
* src/vectors.S:
Don't use .file as it can confuse debugging since the .file
doesn't contain the path and therefore the debugger will never
Index: hal/powerpc/arch/current/include/arch.inc
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/arch/current/include/arch.inc,v
retrieving revision 1.3
diff -u -5 -p -r1.3 arch.inc
--- hal/powerpc/arch/current/include/arch.inc 23 May 2002 23:04:12 -0000 1.3
+++ hal/powerpc/arch/current/include/arch.inc 5 Aug 2002 12:44:58 -0000
@@ -180,11 +180,11 @@ name:
.macro hal_fpu_load regs
#ifdef CYGHWR_HAL_POWERPC_FPU
.set _freg, 0
.rept MAX_SAVE_FREG+1
- stfd _freg,(CYGARC_PPCREG_FREGS+_freg*8)(\regs)
+ lfd _freg,(CYGARC_PPCREG_FREGS+_freg*8)(\regs)
.set _freg, _freg+1
.endr
#endif
.endm