Message ID | 000b01cf3367$439c5280$cad4f780$@arm.com |
---|---|
State | New |
Headers | show |
Thanks, Joseph. As I don't have permission, will you please commit it? Thanks, Joey > -----Original Message----- > From: Joseph Myers [mailto:joseph@codesourcery.com] > Sent: 27 February 2014 11:24 > To: Joey Ye > Cc: libc-alpha@sourceware.org > Subject: Re: [PATCH] Fix ARM NAN fraction bits > > On Thu, 27 Feb 2014, Joey Ye wrote: > > > 2014-02-27 Joey Ye <joey.ye@arm.com> > > * sysdeps/arm/soft-fp/sfp-machine.h > > (_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): > > Set to zero. > > OK. (This does of course only affect fma, as nothing else uses soft-fp for > ARM in glibc.) > > -- > Joseph S. Myers > joseph@codesourcery.com
On Fri, 16 May 2014, Maciej W. Rozycki wrote: > 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com> > > PR libgcc/60166 > * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D) > (_FP_NANSIGN_Q): Set the quiet bit. OK for glibc.
On Fri, 16 May 2014, Joseph S. Myers wrote: > > 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com> > > > > PR libgcc/60166 > > * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D) > > (_FP_NANSIGN_Q): Set the quiet bit. > > OK for glibc. Joseph, thanks for your review, this is now in. Richard, you wrote yesterday that pushing changes to 4.8 would require explicit approval from release managers, however it is not clear to me who they are for that branch. This fix corrects a regression introduced after 4.8.2. Can you approve it? If not, then who can? Maciej
On May 17, 2014 12:22:23 AM CEST, "Maciej W. Rozycki" <macro@codesourcery.com> wrote: >On Fri, 16 May 2014, Joseph S. Myers wrote: > >> > 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com> >> > >> > PR libgcc/60166 >> > * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D) >> > (_FP_NANSIGN_Q): Set the quiet bit. >> >> OK for glibc. > > Joseph, thanks for your review, this is now in. > >Richard, you wrote yesterday that pushing changes to 4.8 would require >explicit approval from release managers, however it is not clear to me >who >they are for that branch. This fix corrects a regression introduced >after >4.8.2. Can you approve it? If not, then who can? If it's not broken in 4.8.2 but broken on the branch head then it's OK for the branch. Thanks, Richard. > Maciej
diff --git a/sysdeps/arm/soft-fp/sfp-machine.h b/sysdeps/arm/soft-fp/sfp-machine.h index 52a08b5..32697fe 100644 --- a/sysdeps/arm/soft-fp/sfp-machine.h +++ b/sysdeps/arm/soft-fp/sfp-machine.h @@ -21,9 +21,9 @@ #define _FP_DIV_MEAT_D(R,X,Y) _FP_DIV_MEAT_2_udiv(D,R,X,Y) #define _FP_DIV_MEAT_Q(R,X,Y) _FP_DIV_MEAT_4_udiv(Q,R,X,Y) -#define _FP_NANFRAC_S ((_FP_QNANBIT_S << 1) - 1) -#define _FP_NANFRAC_D ((_FP_QNANBIT_D << 1) - 1), -1 -#define _FP_NANFRAC_Q ((_FP_QNANBIT_Q << 1) - 1), -1, -1, -1 +#define _FP_NANFRAC_S 0 +#define _FP_NANFRAC_D 0, 0 +#define _FP_NANFRAC_Q 0, 0, 0, 0 #define _FP_NANSIGN_S 0 #define _FP_NANSIGN_D 0 #define _FP_NANSIGN_Q 0