From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19192 invoked by alias); 19 Aug 2011 15:38:15 -0000 Received: (qmail 19109 invoked by uid 22791); 19 Aug 2011 15:38:14 -0000 X-SWARE-Spam-Status: No, hits=-7.3 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; Fri, 19 Aug 2011 15:37:59 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7JFbxxN026871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 19 Aug 2011 11:37:59 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p7JFbw6Z027993; Fri, 19 Aug 2011 11:37:58 -0400 Received: from [10.3.113.132] (ovpn-113-132.phx2.redhat.com [10.3.113.132]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p7JFbv0u020290; Fri, 19 Aug 2011 11:37:57 -0400 Message-ID: <4E4E8355.7090206@redhat.com> Date: Fri, 19 Aug 2011 16:49:00 -0000 From: Jeff Law User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 MIME-Version: 1.0 To: Richard Henderson CC: Richard Guenther , gcc-patches Subject: Re: RFA: Avoiding unprofitable speculation References: <4E4ADDAC.4090006@redhat.com> <4E4D8B54.1050409@redhat.com> In-Reply-To: <4E4D8B54.1050409@redhat.com> 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/msg01605.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/18/11 15:59, Richard Henderson wrote: > 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) I was just utilizing code that was already sprinkled all over ifcvt.c to get the probabilities. Changing it to edge->probability should be trivial. Jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOToNVAAoJEBRtltQi2kC7VJwH/itfjDUdJW+JavPAzXAOsMO2 JjSEGVtmokaxQoj2aVpF2uV8y0LyRY2eWQK2kNu9JC6B5BPXiWKknqJmDkAUTLO4 TAjbXrYcghcFoqQMBCC9yolyhbi5LxbIcFs7KT72s3vigOD6TSFRJZk/a02uyLNb JxW3X8lB+K81LQKzLqNgJEW7k2FmbFYXDEJp0MZq+Y+un3vUTWytyX0Zbm6/caJc cFxG+qi4HDCKCMBxwkuoxV+T+bEpW+VhIJecIVbIIU/GbzXJO9O+IgAJUMOPGIsh lj239VeinlwE+4SGdwZQWTfJnmZRkDR3qS3xL67QlSLWpaM393D6uoUhRUfZlyg= =uFvC -----END PGP SIGNATURE-----