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]

Re: List of simplifications we should perform




moene@knmi.nl said:
> 
> > Then it looks like a bug, since clearly
> >
> >       x + !!j != x + j
> >
> > Just consider j = 2 

Unless, this simplification is just for if (!!j).
With Andy's remarks, it makes sense to add another
simplification to the list:

if (j?1:0)  --> if (j)

Can simplify-rtx do this ??

	Theo.

--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
 --------------------------------------------------------------------


PGP signature


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