This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


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

Re: branch probability hinting


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.

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.

-eric


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