* sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.

* sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
	* sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
This commit is contained in:
Daniel Jacobowitz 2008-03-26 13:21:26 +00:00
parent b5186f3bba
commit af7eda0ff6
4 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2008-03-26 David Stephenson <david.stephenson@sicortex.com>
Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
* sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
* sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2008-03-09 Andreas Jaeger <aj@suse.de>
[BZ #5753]

View File

@ -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. */

View File

@ -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);

View File

@ -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);