RE: https://mas.to/@gabrielesvelto/116658062009629445
Modern CPUs are complex. Interactions between userspace software, CPU internals and operating systems can expose some really weird stuff. I just tripped over one of the things I mentioned in this post (unaligned accesses straddling two […]
In the short thread I wrote this morning I dropped a comment about always being able to do an unaligned 16-bit write on x86 (and ARM64). That kind of handwaves away just how complex that is in hardware. Because memory accesses that aren't aligned on natural boundaries are *ridiculously hard* […]