Re: FENV_ACCESS status

2020-08-07 Thread Marc Glisse
On Fri, 7 Aug 2020, Richard Biener wrote: I was mostly thinking of storing information like: * don't care about the rounding mode for this operation * may drop exceptions produced by this operation * may produce extra exceptions * don't care about signed zero * may contract into FMA * don't care

Re: FENV_ACCESS status

2020-08-07 Thread Richard Biener via Gcc-patches
On Fri, Aug 7, 2020 at 12:45 PM Marc Glisse wrote: > > Thank you for your comments. > > On Fri, 7 Aug 2020, Richard Biener wrote: > > >> Conversions look like > >> .FENV_CONVERT (arg, (target_type*)0, 0) > >> the pointer is there so we know the target type, even if the lhs > >> disappears at some

Re: FENV_ACCESS status

2020-08-07 Thread Marc Glisse
Thank you for your comments. On Fri, 7 Aug 2020, Richard Biener wrote: Conversions look like .FENV_CONVERT (arg, (target_type*)0, 0) the pointer is there so we know the target type, even if the lhs disappears at some point. The last 0 is the same as for all the others, a place to store options

Re: FENV_ACCESS status

2020-08-07 Thread Richard Biener via Gcc-patches
On Wed, Aug 5, 2020 at 8:02 PM Marc Glisse wrote: > > Hello, > > I updated the patch discussed in > https://patchwork.ozlabs.org/project/gcc/patch/alpine.deb.2.02.1906221743430.16...@grove.saclay.inria.fr/ > and pushed it as something like refs/users/glisse/heads/fenv (first user > branch in gcc's

FENV_ACCESS status

2020-08-05 Thread Marc Glisse
Hello, I updated the patch discussed in https://patchwork.ozlabs.org/project/gcc/patch/alpine.deb.2.02.1906221743430.16...@grove.saclay.inria.fr/ and pushed it as something like refs/users/glisse/heads/fenv (first user branch in gcc's git, I hope it worked). I am also attaching the diff here.