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]
Other format: [Raw text]

Re: [PATCH] DFP internal support for FP exceptions


On Fri, Dec 01, 2006 at 10:14:07AM -0800, Andrew Pinski wrote:

> > +  if (DFP_EXCEPTIONS_ENABLED && context.status != 0)
> 
> Hmm, I would also use __builtin_expect here as I hope exceptions are
> rare.  Right now IIRC != 0 makes this branch a 50/50 change of going
> either way so it would be useful to mark this branch with
> __builtin_expect.

Ah, yes.  Please include this suggested change, Janis.

Cheers, Ben


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