Re: [PATCH] powerpc: memcpy optimization for 64bit LE

2014-05-05 Thread Philippe Bergheaud
Anton Blanchard wrote: Unaligned stores take alignment exceptions on POWER7 running in little-endian. This is a dumb little-endian base memcpy that prevents unaligned stores. Once booted the feature fixup code switches over to the VMX copy loops (which are already endian safe). The question is w

[PATCH] powerpc: memcpy optimization for 64bit LE

2014-04-29 Thread Anton Blanchard
From: Philippe Bergheaud Unaligned stores take alignment exceptions on POWER7 running in little-endian. This is a dumb little-endian base memcpy that prevents unaligned stores. Once booted the feature fixup code switches over to the VMX copy loops (which are already endian safe). The question is

[PATCH] powerpc: memcpy optimization for 64bit LE

2014-04-29 Thread Anton Blanchard
Unaligned stores take alignment exceptions on POWER7 running in little-endian. This is a dumb little-endian base memcpy that prevents unaligned stores. Once booted the feature fixup code switches over to the VMX copy loops (which are already endian safe). The question is what we do before that swi

Re: [PATCH] powerpc: memcpy optimization for 64bit LE

2013-11-06 Thread Michael Neuling
OK, can you add that and/or maybe antons description to the patch changelog? Mikey On Wed, Nov 6, 2013 at 9:21 PM, Philippe Bergheaud wrote: > Michael Neuling wrote: >> >> Philippe Bergheaud wrote: >> >> >>> Unaligned stores take alignment exceptions on POWER7 running in >>> little-endian. >>>

Re: [PATCH] powerpc: memcpy optimization for 64bit LE

2013-11-06 Thread Anton Blanchard
Hi, > > Unaligned stores take alignment exceptions on POWER7 running in > > little-endian. This is a dumb little-endian base memcpy that > > prevents unaligned stores. It is replaced by the VMX memcpy at boot. > > Is this any faster than the generic version? Once booted the feature fixup code s

Re: [PATCH] powerpc: memcpy optimization for 64bit LE

2013-11-06 Thread Philippe Bergheaud
Michael Neuling wrote: Philippe Bergheaud wrote: Unaligned stores take alignment exceptions on POWER7 running in little-endian. This is a dumb little-endian base memcpy that prevents unaligned stores. It is replaced by the VMX memcpy at boot. Is this any faster than the generic version?

Re: [PATCH] powerpc: memcpy optimization for 64bit LE

2013-11-05 Thread Michael Neuling
Philippe Bergheaud wrote: > Unaligned stores take alignment exceptions on POWER7 running in little-endian. > This is a dumb little-endian base memcpy that prevents unaligned stores. > It is replaced by the VMX memcpy at boot. Is this any faster than the generic version? Mikey > > Signed-off-b

[PATCH] powerpc: memcpy optimization for 64bit LE

2013-11-05 Thread Philippe Bergheaud
Unaligned stores take alignment exceptions on POWER7 running in little-endian. This is a dumb little-endian base memcpy that prevents unaligned stores. It is replaced by the VMX memcpy at boot. Signed-off-by: Philippe Bergheaud --- arch/powerpc/include/asm/string.h |4 arch/powerpc/kern