3 ms·
> Quite a lot of CPUs would just trap here Or even worse -- for example, ARM CPUs usually round-down the misaligned address to the closest boundary when alignm
by bluetomcat 11y ago
> Quite a lot of CPUs would just trap here
Or even worse -- for example, ARM CPUs usually round-down the misaligned address to the closest boundary when alignment checking is disabled. This means that attempting to access a 4-byte int at location 11 will silently let the CPU access it at location 8. This can manifest in some very nasty bugs.
- stephencanon 11y agoIIRC this behavior went away in ARMv6.