public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Richard Henderson <rth@redhat.com>
Cc: Richard Guenther <richard.guenther@gmail.com>,
	       gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: RFA: Avoiding unprofitable speculation
Date: Fri, 19 Aug 2011 16:49:00 -0000	[thread overview]
Message-ID: <4E4E8355.7090206@redhat.com> (raw)
In-Reply-To: <4E4D8B54.1050409@redhat.com>

-----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-----

  reply	other threads:[~2011-08-19 15:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 22:00 Jeff Law
2011-08-17  9:34 ` Richard Guenther
2011-08-17 22:50   ` Jeff Law
2011-08-18 22:59   ` Richard Henderson
2011-08-19 16:49     ` Jeff Law [this message]
2011-09-27  0:11     ` Jeff Law
2011-09-27 13:51       ` Richard Guenther

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E4E8355.7090206@redhat.com \
    --to=law@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=richard.guenther@gmail.com \
    --cc=rth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).