List of simplifications we should perform

Theodore Papadopoulo Theodore.Papadopoulo@sophia.inria.fr
Fri May 11 06:23:00 GMT 2001


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
 --------------------------------------------------------------------


-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Exmh version 2.2 06/23/2000

iD8DBQE6++epIzTj8qrxOU4RAslbAJ4oCZWqZ57ucLUg42+j5xdnbVtq7ACfXdCg
R+51EoRw/rwP1q+tU++H9Tk=
=/+iU
-----END PGP SIGNATURE-----


More information about the Gcc mailing list