kernel oops due to unaligned access with lswi

Paul Mackerras paulus at samba.org
Sun Nov 16 11:40:06 EST 2003


Olaf,

> 	lswi 9,31,8
> 	stswi 9,28,8
>
> s = r31. How can gcc be sure that s aligned?

What machine is this?  I looked at the manuals for 750, 7450, POWER4
and they all handle unaligned string ops in hardware.  The alignment
handler doesn't handle string ops, I believe, although it could.  And
which arch (ppc32 or ppc64)?

Paul.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list