Re: [v2] powerpc/lib: Adjust .balign inside string functions for PPC32

2018-06-04 Thread Michael Ellerman
On Fri, 2018-05-18 at 13:01:16 UTC, Christophe Leroy wrote: > commit 87a156fb18fe1 ("Align hot loops of some string functions") > degraded the performance of string functions by adding useless > nops > > A simple benchmark on an 8xx calling 10x a memchr() that > matches the first byte runs in

[PATCH v2] powerpc/lib: Adjust .balign inside string functions for PPC32

2018-05-18 Thread Christophe Leroy
commit 87a156fb18fe1 ("Align hot loops of some string functions") degraded the performance of string functions by adding useless nops A simple benchmark on an 8xx calling 10x a memchr() that matches the first byte runs in 41668 TB ticks before this patch and in 35986 TB ticks after this