This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
re: branch probability hinting
- To: Eric Christopher <echristo at redhat dot com>
- subject: re: branch probability hinting
- From: matthew green <mrg at cygnus dot com>
- Date: Thu, 01 Mar 2001 12:04:14 +1100
- Cc: "Frank Ch. Eigler" <fche at redhat dot com>, cgen at sources dot redhat dot com, sid at sources dot redhat dot com
- organisation: Red Hat, Inc.
matthew green wrote:
>
> i like this, but i don't like the name very much. in NetBSD,
> we've added predict_true() and predict_false().
Well, builtin is the default name for compiler um.. well.. builtins.
It's been around for a while.
uh, i mean, we define predict_true() to make use of this feature :-)
Unless you meant the name that Frank chose, yeah, it could be better.
Personally, I like expect as a name for it, tells you what you are
telling the compiler to expect to happen.
i don't really care much either way, but "UNLIKELY" is very ugly to me.
.mrg.