[PATCH 1/2] powerpc: Add new CPU feature: CPU_FTR_UNALIGNED_LD_STD

Kumar Gala galak at kernel.crashing.org
Tue Oct 28 00:44:48 EST 2008


On Oct 27, 2008, at 5:43 AM, Mark Nelson wrote:

> Add a new CPU feature bit, CPU_FTR_UNALIGNED_LD_STD, to be added
> to the 64bit powerpc chips that can do unaligned load double and
> store double (and not take a performance hit from it).
>
> This is added to Power6 and Cell and will be used in an upcoming
> patch to do the alignment in memcpy() only on CPUs that require
> it.
>
> Signed-off-by: Mark Nelson <markn at au1.ibm.com>
> ---
> arch/powerpc/include/asm/cputable.h |    6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)

not that I have anything against this patch but is there anything we  
can do about the CPU_FTR_ usage for one of things like this?

- k



More information about the Linuxppc-dev mailing list