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 to use __builtin_expect in fp-bit.c


Joseph S. Myers wrote:
> This patch slightly speeds up fp-bit.c by using __builtin_expect to
> optimize for numbers that are not NaNs or infinities.  It yields a
> 0.4% improvement (geometric mean) in EEMBC results on IBM PowerPC 440
> (--with-cpu=440 compiler).
> 
> Tested with no regressions with cross-compilers (--with-cpu=440) to
> powerpc-ibm-linux-gnu.  Applied to csl-ppc4xx-branch.  OK to commit to
> mainline?

OK.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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