Message ID | alpine.DEB.2.00.1511251906120.16168@tp.orcam.me.uk |
---|---|
State | Accepted |
Headers | show |
On Fri, 27 Nov 2015, Maciej W. Rozycki wrote: > sysdeps/mips/ > * fpu_control.h (_FPU_RESERVED): Include ABS2008. > (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008. > --- > > OK to apply? OK, but all ChangeLog entries should be relative to the toplevel directory and go in the toplevel ChangeLog; there is no sysdeps/mips/ChangeLog.
On Fri, 27 Nov 2015, Joseph Myers wrote: > > sysdeps/mips/ > > * fpu_control.h (_FPU_RESERVED): Include ABS2008. > > (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008. > > --- > > > > OK to apply? > > OK, but all ChangeLog entries should be relative to the toplevel directory > and go in the toplevel ChangeLog; there is no sysdeps/mips/ChangeLog. Committed, with the corrections requested applied. Thanks for your review. Maciej
Index: glibc/sysdeps/mips/fpu_control.h =================================================================== --- glibc.orig/sysdeps/mips/fpu_control.h 2015-05-20 23:10:41.000000000 +0100 +++ glibc/sysdeps/mips/fpu_control.h 2015-07-07 22:52:20.728281676 +0100 @@ -93,20 +93,20 @@ extern fpu_control_t __fpu_control; /* Mask for rounding control. */ #define _FPU_RC_MASK 0x3 -#define _FPU_RESERVED 0xfe840000 /* Reserved bits in cw, incl NAN2008. */ +#define _FPU_RESERVED 0xfe8c0000 /* Reserved bits in cw, incl ABS/NAN2008. */ /* The fdlibm code requires strict IEEE double precision arithmetic, and no interrupts for exceptions, rounding to nearest. */ #ifdef __mips_nan2008 -# define _FPU_DEFAULT 0x00040000 +# define _FPU_DEFAULT 0x000C0000 #else # define _FPU_DEFAULT 0x00000000 #endif /* IEEE: same as above, but exceptions. */ #ifdef __mips_nan2008 -# define _FPU_IEEE 0x00040F80 +# define _FPU_IEEE 0x000C0F80 #else # define _FPU_IEEE 0x00000F80 #endif