This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: disabling branch probability guessing (patch)
- To: Jeffrey A Law <law at redhat dot com>
- Subject: Re: disabling branch probability guessing (patch)
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 15 Jan 2001 21:52:28 -0800
- Cc: Aldy Hernandez <aldyh at redhat dot com>, gcc-patches at gcc dot gnu dot org, wilson at redhat dot com
- References: <20010115181006.A8129@redhat.com> <12330.979623230@upchuck.cygnus.com>
On Mon, Jan 15, 2001 at 10:33:50PM -0700, Jeffrey A Law wrote:
> Err. umm. It seems to me like __builtin_expect ought to just override the
> guessed probability for any particular branch.
It does.
But the customer in question expected no other branches to have
the prediction bit set. I personally thought this was silly,
but Jim had some arguments (on our internal list) for being able
to disable this pass.
r~