From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3876 invoked by alias); 7 Oct 2007 09:01:52 -0000 Received: (qmail 3868 invoked by uid 22791); 7 Oct 2007 09:01:52 -0000 X-Spam-Check-By: sourceware.org Received: from province.act-europe.fr (HELO province.act-europe.fr) (212.157.227.214) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 07 Oct 2007 09:01:43 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-province.act-europe.fr (Postfix) with ESMTP id A8B9916620D; Sun, 7 Oct 2007 11:01:27 +0200 (CEST) Received: from province.act-europe.fr ([127.0.0.1]) by localhost (province.act-europe.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ncUVzLxgYarG; Sun, 7 Oct 2007 11:01:27 +0200 (CEST) Received: from [192.168.1.3] (dyn-83-152-125-19.ppp.tiscali.fr [83.152.125.19]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by province.act-europe.fr (Postfix) with ESMTP id 5E502166207; Sun, 7 Oct 2007 11:01:27 +0200 (CEST) From: Eric Botcazou To: Alexandre Oliva Subject: Re: SRA bit-field optimization Date: Sun, 07 Oct 2007 09:01:00 -0000 User-Agent: KMail/1.7.1 Cc: gcc-patches@gcc.gnu.org, Roman Zippel , Bernd Schmidt , Diego Novillo , Daniel Berlin , Andrew Pinski References: <200710050826.23560.ebotcazou@adacore.com> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200710071103.33807.ebotcazou@adacore.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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: 2007-10/txt/msg00352.txt.bz2 > What pessimization? The complex calculation now introduced by SRA: SR.135_147 = SR.128_80 & 4294967295; SR.138_83 = SR.130_124 >> 32; SR.136_141 = (p__sm___XDLU_1__10) SR.138_83; SR.139_140 = (UNSIGNED_64) SR.136_141; SR.140_138 = SR.139_140 << 32; SR.128_92 = SR.135_147 | SR.140_138; SR.141_201 = SR.128_92 & 0x0ffffffff00000000; SR.142_200 = (p__sm___XDLU_1__10) SR.130_124; SR.144_199 = (UNSIGNED_64) SR.142_200; SR.128_137 = SR.141_201 | SR.144_199; It turns out that SR.128_137 is dead so the whole stuff is eliminated by the first subsequent DCE pass, but I'm worried that it might not always be so. I confirm that the verification failure of c37213b is fixed by the patch you posted in your previous message, thanks! -- Eric Botcazou