On 04/05/2012 15:20, Grant Edwards wrote:
> On 2012-05-04, David Brown<
da...@westcontrol.removethisbit.com> wrote:
>
>>> But will the arms be data alignment tolerant like the Intels are?
>>
>> It will probably be as tolerant as x86/amd64 - i.e., misaligned data
>> works for simple stuff, but at much lower performance, and completely
>> screws any difficult things like precise ordering for inter-process
>> and inter-thread communication.
>
> Finally! I've used a number ARM cores (ARM7, ARM9, StrongARM) and
> none of them ever support misaligned data. But, neither did the
> SPARC, 68K, PDP-11, and many others -- so it's not like anybody with a
> clue expected misaligned data access to work without checking the
> processor specs).
>
> It looks like the ARMv6 and ARMv7 do -- at least for simple load/store
> operations. There appear to still be alignment requirements for the
> fancy bits like multiple-register load/store operations.
>
for multiple register operations. I'd guess you also need to keep the
stack aligned. So Cortex M3 (and M4) and Cortex Ax can work with