From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10476 invoked by alias); 26 Jul 2010 09:42:54 -0000 Received: (qmail 10462 invoked by uid 22791); 26 Jul 2010 09:42:53 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Jul 2010 09:42:49 +0000 Received: (qmail 27450 invoked from network); 26 Jul 2010 09:42:47 -0000 Received: from unknown (HELO ?84.152.240.34?) (bernds@127.0.0.2) by mail.codesourcery.com with ESMTPA; 26 Jul 2010 09:42:47 -0000 Message-ID: <4C4D588A.6000404@codesourcery.com> Date: Mon, 26 Jul 2010 09:42:00 -0000 From: Bernd Schmidt User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100724 Thunderbird/3.1.1 MIME-Version: 1.0 To: Eric Botcazou CC: gcc-patches@gcc.gnu.org, Steven Bosscher , Jim Wilson Subject: Re: ifcvt/crossjump patch: Fix PR 42496, 21803 References: <4BB3CCCA.7000600@codesourcery.com> <201007240005.55586.ebotcazou@adacore.com> <4C4A13B9.7020905@codesourcery.com> <201007241507.13063.ebotcazou@adacore.com> In-Reply-To: <201007241507.13063.ebotcazou@adacore.com> Content-Type: text/plain; charset=UTF-8 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: 2010-07/txt/msg02013.txt.bz2 On 07/24/2010 03:07 PM, Eric Botcazou wrote: >> Please be more specific about what you envision. > > See try_crossjump_to_edge and try_crossjump_bb: no code is actually moved, > blocks are split and edges redirected instead. Yeah, but that can't work for this optimization. I don't see how you can do it without moving insns across jumps. Please give an example of how you would transform code. Bernd