Re: [PATCH] powerpc/lib: Remove .balign inside string functions for PPC32

2018-05-17 Thread Christophe LEROY
Le 17/05/2018 à 15:46, Michael Ellerman a écrit : Nicholas Piggin writes: On Thu, 17 May 2018 12:04:13 +0200 (CEST) Christophe Leroy wrote: commit 87a156fb18fe1 ("Align hot loops of some string functions") degraded the performance of string functions by adding useless nops A simple bench

Re: [PATCH] powerpc/lib: Remove .balign inside string functions for PPC32

2018-05-17 Thread Michael Ellerman
Nicholas Piggin writes: > On Thu, 17 May 2018 12:04:13 +0200 (CEST) > 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 mem

Re: [PATCH] powerpc/lib: Remove .balign inside string functions for PPC32

2018-05-17 Thread Nicholas Piggin
On Thu, 17 May 2018 12:04:13 +0200 (CEST) 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