This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c/26367] multiple levels of __builtin_expect



------- Comment #4 from acahalan at gmail dot com  2006-02-20 04:11 -------
It's interesting that you say "__builtin_expect gives the same probability on
all targets". I'm not exactly sure what you mean, but I'll guess that you mean
it states that the condition will be true X% of the time.

If so, X should be documented. Also: approximately X% or minimum X%?

BTW, it seems that this X value might not be correct for all architectures. I
guess that would be a different bug though, and the problem may have been fixed
by now.

It would be nice to have more than one level, including at least "100% certain"
and two other levels.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26367


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