On Thu, Jun 09, 2022 at 09:24:00AM +0800, HAO CHEN GUI wrote:
> On 8/6/2022 下午 9:24, Segher Boessenkool wrote:
> > But it regresses the code quality generated with -ffast-math (because
> > the new unspecs arent't optimised like standard rtl is).  This can be
> > follow-up work of course -- and the best direction is to make fmin/fmax
> > generic, even!  :-)
> 
> fmin/max will be folded to MIN/MAX_EXPR when fast-math is set. So the
> behavior doesn't change when fast-math is set.

Ah, good.  Should we then have an assert that there is no fast-math if
we ever get the rtl fmin/fmax stuff?


Segher

Reply via email to