From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3998 invoked by alias); 18 Aug 2011 22:00:12 -0000 Received: (qmail 3982 invoked by uid 22791); 18 Aug 2011 22:00:10 -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,TW_CF,TW_FC 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; Thu, 18 Aug 2011 21:59:49 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7ILxmY0029943 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Aug 2011 17:59:48 -0400 Received: from pebble.twiddle.home (vpn-229-76.phx2.redhat.com [10.3.229.76]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p7ILxmES013127; Thu, 18 Aug 2011 17:59:48 -0400 Message-ID: <4E4D8B54.1050409@redhat.com> Date: Thu, 18 Aug 2011 22:59:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Thunderbird/3.1.11 MIME-Version: 1.0 To: Richard Guenther CC: Jeff Law , gcc-patches Subject: Re: RFA: Avoiding unprofitable speculation References: <4E4ADDAC.4090006@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/msg01535.txt.bz2 On 08/17/2011 12:21 AM, Richard Guenther wrote: > The patch itself looks sensible, though I am surprised ifcvt doesn't run in > cfglayout mode (so you have to use reg notes to find probabilities ...) It does run in cfglayout mode. Jeff, I believe you're supposed to get the probabilities from some combination of bb->frequency edge->probability EDGE_FREQUENCY(edge) r~