This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: List of simplifications we should perform
- To: Daniel Berlin <dan at www dot cgsoftware dot com>
- Subject: Re: List of simplifications we should perform
- From: Andi Kleen <ak at suse dot de>
- Date: 11 May 2001 10:14:28 +0200
- Cc: gcc at gcc dot gnu dot org
- References: <Pine.LNX.4.33.0105110203310.7485-100000@www.cgsoftware.com.suse.lists.egcs>
Daniel Berlin <dan@www.cgsoftware.com> writes:
If this is supposed to be C...
> Simplifications for ~ and !:
>
> ! ! j j
!!j is not j, it is j?1:0.
> Simplifications for && (with control flow)
>
> j && 1 j
j?1:0 again
> 1 && j j
Same.
-Andi