On Mon, 2021-02-22 at 19:54 +0000, Barry Scott wrote:
> 
> > On 22 Feb 2021, at 12:40, Michał Górny <mgo...@gentoo.org> 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.

-- 
Best regards,
Michał Górny

_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/GCRBLCAK3OBP466QPNLD5KFH5ATBOBWP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to