From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51912 invoked by alias); 24 Oct 2015 21:15:54 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 51895 invoked by uid 89); 24 Oct 2015 21:15:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mail2-relais-roc.national.inria.fr Received: from mail2-relais-roc.national.inria.fr (HELO mail2-relais-roc.national.inria.fr) (192.134.164.83) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 24 Oct 2015 21:15:52 +0000 Received: from 81-65-28-201.rev.numericable.fr (HELO laptop-mg.local) ([81.65.28.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2015 23:15:45 +0200 Date: Sat, 24 Oct 2015 21:37:00 -0000 From: Marc Glisse To: "Hurugalawadi, Naveen" cc: Richard Biener , "gcc-patches@gcc.gnu.org" Subject: Re: Move some bit and binary optimizations in simplify and match In-Reply-To: Message-ID: References: , User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-SW-Source: 2015-10/txt/msg02596.txt.bz2 On Fri, 23 Oct 2015, Hurugalawadi, Naveen wrote: + (minus (bit_and:cs @0 (bit_not @1)) (bit_and:s @0 @1)) I am not sure why we have :c on one bit_and but not the other. + (bit_ior:c (bit_and:c @0 (bit_not @1)) (bit_and:c (bit_not @0) @1)) Here on the other hand, I believe the :c on bit_ior is redundant. -- Marc Glisse