[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r5693 - in /branches/eglibc-2_6/ports: ./ sysdeps/mips/fpu/



Author: dan
Date: Fri Mar 28 11:10:25 2008
New Revision: 5693

Log:
	* sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
	* sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
	* sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.

Modified:
    branches/eglibc-2_6/ports/ChangeLog.eglibc
    branches/eglibc-2_6/ports/sysdeps/mips/fpu/fesetround.c
    branches/eglibc-2_6/ports/sysdeps/mips/fpu/fgetexcptflg.c
    branches/eglibc-2_6/ports/sysdeps/mips/fpu/fsetexcptflg.c

Modified: branches/eglibc-2_6/ports/ChangeLog.eglibc
==============================================================================
--- branches/eglibc-2_6/ports/ChangeLog.eglibc (original)
+++ branches/eglibc-2_6/ports/ChangeLog.eglibc Fri Mar 28 11:10:25 2008
@@ -1,3 +1,10 @@
+2008-03-26  David Stephenson  <david.stephenson@xxxxxxxxxxxx>
+	    Daniel Jacobowitz  <dan@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
+	* sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
+	* sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
+
 2007-08-29  Daniel Jacobowitz  <dan@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/powerpc/powerpc32/e500/fpu/fsetexcptflg.c

Modified: branches/eglibc-2_6/ports/sysdeps/mips/fpu/fesetround.c
==============================================================================
--- branches/eglibc-2_6/ports/sysdeps/mips/fpu/fesetround.c (original)
+++ branches/eglibc-2_6/ports/sysdeps/mips/fpu/fesetround.c Fri Mar 28 11:10:25 2008
@@ -24,7 +24,7 @@
 int
 fesetround (int round)
 {
-  unsigned short int cw;
+  fpu_control_t cw;
 
   if ((round & ~0x3) != 0)
     /* ROUND is no valid rounding mode.  */

Modified: branches/eglibc-2_6/ports/sysdeps/mips/fpu/fgetexcptflg.c
==============================================================================
--- branches/eglibc-2_6/ports/sysdeps/mips/fpu/fgetexcptflg.c (original)
+++ branches/eglibc-2_6/ports/sysdeps/mips/fpu/fgetexcptflg.c Fri Mar 28 11:10:25 2008
@@ -24,7 +24,7 @@
 int
 fegetexceptflag (fexcept_t *flagp, int excepts)
 {
-  fexcept_t temp;
+  fpu_control_t temp;
 
   /* Get the current exceptions.  */
   _FPU_GETCW (temp);

Modified: branches/eglibc-2_6/ports/sysdeps/mips/fpu/fsetexcptflg.c
==============================================================================
--- branches/eglibc-2_6/ports/sysdeps/mips/fpu/fsetexcptflg.c (original)
+++ branches/eglibc-2_6/ports/sysdeps/mips/fpu/fsetexcptflg.c Fri Mar 28 11:10:25 2008
@@ -24,7 +24,7 @@
 int
 fesetexceptflag (const fexcept_t *flagp, int excepts)
 {
-  fexcept_t temp;
+  fpu_control_t temp;
 
   /* Get the current exceptions.  */
   _FPU_GETCW (temp);