Re: powerpc and unaligned accesses

2011-07-27 Thread Dale Rahn
On Wed, Jul 27, 2011 at 05:45:56PM +0200, Christian Weisgerber wrote: > Can PowerPC do unaligned accesses or not? > > I'm bringing this up *again*, because the fragmentary dialog on ICB > about how powerpc is supposed to behave doesn't agree with observable > reality. > > | some models can affor

Re: powerpc and unaligned accesses

2011-07-27 Thread Christiano F. Haesbaert
On 27 July 2011 12:45, Christian Weisgerber wrote: > Can PowerPC do unaligned accesses or not? > I'm far from an expert but I know at least some power pc can do unalign access, like those MPC8xxx, so the socppc port can do unaligned accesses. > I'm bringing this up *again*, because the fragment

Re: powerpc and unaligned accesses

2011-07-27 Thread Theo de Raadt
> Can PowerPC do unaligned accesses or not? We support two kinds of architectures: unaligned strict alignment In reality, we could write kernel emulators and make every architecture be unaligned. In the worst cases of access, it would be extremely expensive. Making a powerpc act truly un

powerpc and unaligned accesses

2011-07-27 Thread Christian Weisgerber
Can PowerPC do unaligned accesses or not? I'm bringing this up *again*, because the fragmentary dialog on ICB about how powerpc is supposed to behave doesn't agree with observable reality. | some models can afford unaligned access with a msr setting, | but we frown upon this and won't enable thi