This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Add branch prediction favouring normal numbers


On Thursday 27 December 2012 05:41:48 you wrote:
> On Wed, Dec 26, 2012 at 12:33:16PM -0500, Mike Frysinger wrote:
> > we have __glibc_unlikely & __glibc_likely now
> > -mike
> 
> We have __glibc_unlikely, but not glibc_likely (and I realized that I
> had added it ;) ).  So here's a patch to add __glibc_likely.

touche

Acked-by: Mike Frysinger <vapier@gentoo.org>

> +  if (__glibc_likely (EX> -42 || (EX==-42 && X[1]>=TWO10)))
> +    norm(x,y,p);
> +  else
> +    denorm(x,y,p);

should we fix the style while we're modifying the file ?  there's quite a number 
of spaces that are "missing" ...
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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