[PATCH] align.c

Segher Boessenkool segher at kernel.crashing.org
Wed Aug 4 21:36:59 EST 2004


>> While I was at it, Paulus asked me to handle stmw/lmw and stswx/lswx
>> as
>> well...
>
> Personnaly I disagree for stmw/lmw, they are specified to
> work only for word-aligned addresses.

That's what the PEM says, but the architecture Books disagree.  Don't
trust the PEM :-)

Also, in some implementations, lmw/stmw can fail for any number of
reasons (e.g., using them while in wrong-endian mode, etc.) so it's
nice to be able to emulate them.


Segher


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





More information about the Linuxppc-dev mailing list