On Mon, 2021-02-22 at 19:54 +0000, Barry Scott wrote:
On 22 Feb 2021, at 12:40, Michał Górny email@example.com wrote:
I'm talking about 16-bit memory alignment which causes SIGBUS if it's not respected on m68k.
I don't understand why you consider this to be a problem. After all, x86 has stronger (32-bit) alignment requirements, so m68k is actually less likely to break.
On x86 you can make unaligned access to memory. Alignment is a nice to have for performance.
Except that modern compilers can emit optimized instructions that rely on aligned memory (e.g. SSE2), so a badly written program can crash on x86 as well.