Re: [PATCH 3/4] powerpc32: memset(0): use cacheable_memzero

2015-05-14 Thread Scott Wood
On Thu, 2015-05-14 at 10:50 +0200, christophe leroy wrote: Le 14/05/2015 02:55, Scott Wood a écrit : On Tue, 2015-05-12 at 15:32 +0200, Christophe Leroy wrote: cacheable_memzero uses dcbz instruction and is more efficient than memset(0) when the destination is in RAM This patch

Re: [PATCH 3/4] powerpc32: memset(0): use cacheable_memzero

2015-05-14 Thread christophe leroy
Le 14/05/2015 02:55, Scott Wood a écrit : On Tue, 2015-05-12 at 15:32 +0200, Christophe Leroy wrote: cacheable_memzero uses dcbz instruction and is more efficient than memset(0) when the destination is in RAM This patch renames memset as generic_memset, and defines memset as a prolog to

Re: [PATCH 3/4] powerpc32: memset(0): use cacheable_memzero

2015-05-13 Thread Scott Wood
On Tue, 2015-05-12 at 15:32 +0200, Christophe Leroy wrote: cacheable_memzero uses dcbz instruction and is more efficient than memset(0) when the destination is in RAM This patch renames memset as generic_memset, and defines memset as a prolog to cacheable_memzero. This prolog checks if the