segher at kernel.crashing.org
Fri Jul 23 23:10:21 EST 2004
> Can you explain to me why/when stswi/lswi would get alignment
> exceptions. I think I'm missing something :) The reason I ask is we
> are working on some emulation handlers but are not doing anything with
> regards to alignment for e500.
CPU dependent; one example is stswi to cache-inhibited memory, on
some CPUs; another is trying to execute any string insn while in
little-endian mode, on some other CPUs.
On the 601, which is what Stef is using, a word-aligned string insn
that crosses a 256MB boundary causes an alignement exception (as
does *any* insn that does this); and a not-word-aligned string insn
that crosses a 4kB boundary, does, too.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev