This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: powerpc: Incorrect results for pow when using FMA


On Mon, 9 Mar 2015, Adhemerval Zanella wrote:

> Right, but I think for GLIBC this is not usual way.  I would suggest the 
> followin fix:
> 
> diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
> index 35f545f..5557c75 100644
> --- a/sysdeps/ieee754/dbl-64/Makefile
> +++ b/sysdeps/ieee754/dbl-64/Makefile
> @@ -2,4 +2,5 @@ ifeq ($(subdir),math)
>  # branred depends on precise IEEE double rounding
>  CFLAGS-branred.c = $(config-cflags-nofma)
>  CFLAGS-e_sqrt.c = $(config-cflags-nofma)
> +CFLAGS-e_pow.c = $(config-cflags-nofma)
>  endif

OK (with ChangeLog entry and bug filed in Bugzilla as usual).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]