3 ms·
Modern big ARMs let you play fast and loose with alignment as well. Hell, a CortexM3 lets you have unaligned loads and stores too.
by monocasa 8y ago
Modern big ARMs let you play fast and loose with alignment as well.
Hell, a CortexM3 lets you have unaligned loads and stores too.
- jschwartzi 8y agoEven if they don't you can just turn unaligned access emulation on in your OS kernel. This was a thing in QNX and is also a thing in Linux.
- monocasa 8y agoI think it's fair to not want to turn that on in the kernel on chips that don't support it in servers. It's really expensive on those kinds of cores to trap into the kernel (a KPTI makes it dramatically more expensive). That being said, server cores with their long me or pipelines are the most likely to not have an issue with unaligned access, so it's probably a moot point.