This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: [PATCH] Don't lower MIN_EXPR and MAX_EXPR [was Re: GCC Benchmarks (coybench), AMD64 and i686, 14 August 2004]


On Thu, Aug 19, 2004 at 09:46:16AM +0200, Steven Bosscher wrote:
> On Thursday 19 August 2004 08:50, Paolo Bonzini wrote:
> > > I thought we had this discussion a while ago, and the result was "MIN
> > > and MAX are GIMPLE, but we might as well keep the early simplification"
> > > for some reason.
> >
> > Here is a patch to disable it.  I don't see any benefit in it.
> 
> IIRC the benefit of lowering is that it may allow you to propagate
> the condition and the assignment if you lower the {MIN,MAX}_EXPR.

I doubt there's any benefit at all from lowering MIN/MAX, since
for floating point it's much harder to recreate them.


r~


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