This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: disabling branch probability guessing (patch)


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]