Re: [PATCH, RS6000] improve builtin expansion of memcmp for p7

2016-10-06 Thread Segher Boessenkool
Hi Aaron, On Thu, Oct 06, 2016 at 04:12:31PM -0500, Aaron Sawdey wrote: > I've improved the builtin memcmp expansion so it avoids a couple of > things that p7 and previous processors don't like. Performance on > p7 is now never worse than glibc memcmp(). Bootstrap/regtest in progress > on power7

[PATCH, RS6000] improve builtin expansion of memcmp for p7

2016-10-06 Thread Aaron Sawdey
I've improved the builtin memcmp expansion so it avoids a couple of things that p7 and previous processors don't like. Performance on p7 is now never worse than glibc memcmp(). Bootstrap/regtest in progress on power7 ppc64 BE.  OK for trunk if testing passes? gcc/ChangeLog: 2016-10-06 Aaron S