misaligned load/store in ppc32 memcpy

Mark Nelson markn at au1.ibm.com
Thu Jul 2 11:32:14 EST 2009


Hi Kumar,

On Wednesday 01 July 2009 07:56:31 Kumar Gala wrote:
> Mark,
> 
> Ben pointed me to you regarding my question if we should be expecting misaligned load/store operations in the ppc32 mempcy that exists in copy_32.S.
> 
> (To be more specific, I'm seeing this behavior and wondering if we really should have memcpy avoid doing word size ld/st if the addresses aren't also aligned)
> 

That's a good question; but because I don't really know very much about the
ppc32 cores that this memcpy routine was written and tested with (let alone
the newer embedded variations) I'll CC Paul and hopefully he can let us know :)

Thanks!
Mark


More information about the Linuxppc-dev mailing list