From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29833 invoked by alias); 23 Aug 2011 15:43:04 -0000 Received: (qmail 29814 invoked by uid 22791); 23 Aug 2011 15:43:03 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Aug 2011 15:42:47 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7NFgQa1011318 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Aug 2011 11:42:26 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (tyan-ft48-01.lab.bos.redhat.com [10.16.42.4]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p7NFgP1V028383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Aug 2011 11:42:26 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (localhost.localdomain [127.0.0.1]) by tyan-ft48-01.lab.bos.redhat.com (8.14.4/8.14.4) with ESMTP id p7NFgPVn002933; Tue, 23 Aug 2011 17:42:25 +0200 Received: (from jakub@localhost) by tyan-ft48-01.lab.bos.redhat.com (8.14.4/8.14.4/Submit) id p7NFgOGP002931; Tue, 23 Aug 2011 17:42:24 +0200 Date: Tue, 23 Aug 2011 15:58:00 -0000 From: Jakub Jelinek To: Bernd Schmidt Cc: Eric Botcazou , Richard Sandiford , Richard Henderson , GCC Patches Subject: Re: [PATCH] For FFS/CLZ/CTZ/CLRSB/POPCOUNT/PARITY/BSWAP require operand mode equal to operation mode (or VOIDmode) (PR middle-end/50161) Message-ID: <20110823154224.GJ2687@tyan-ft48-01.lab.bos.redhat.com> Reply-To: Jakub Jelinek References: <4DF9FA9A.8040505@codesourcery.com> <4DFA2E85.2030601@redhat.com> <4DFFA1AE.7070405@codesourcery.com> <20110823090549.GC2687@tyan-ft48-01.lab.bos.redhat.com> <4E53744B.6040502@codesourcery.com> <20110823095243.GD2687@tyan-ft48-01.lab.bos.redhat.com> <4E5379A6.1020905@codesourcery.com> <20110823120605.GE2687@tyan-ft48-01.lab.bos.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110823120605.GE2687@tyan-ft48-01.lab.bos.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 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 X-SW-Source: 2011-08/txt/msg01909.txt.bz2 On Tue, Aug 23, 2011 at 02:06:05PM +0200, Jakub Jelinek wrote: > We can remove that restriction again once CONST_INTs are no longer VOIDmode. > > Here is an untested patch, will bootstrap/regtest it now on x86_64-linux > and i686-linux, on c6x it should make no difference IMHO (looked like a typo > in the expander which wasn't used anyway), can somebody test it on AVR and > BFIN? My grepping through *.md didn't find any other places where the > operand wouldn't have the same mode as operation. Now successfully bootstrapped/regtested on x86_64-linux and i686-linux and tested on AVR by Georg-Johann, ok for trunk? Jakub