allanjude andrew emaste gnn
- R10:6605a2a1634f: Teach DTrace that unaligned accesses are OK on aarch64, not just x86.
R10:ba08ba5226ff: Teach DTrace that unaligned accesses are OK on aarch64, not just x86.
R10:fb581531c1a0: Teach DTrace that unaligned accesses are OK on aarch64, not just x86.
Hmm. I didn't know that existed.
I think it is the right goal, but I don't think we should aim for it in this patch. Not least, I'm not easily set up to test the various other cases covered by that define currently.
Note that the architecture must be truly totally alignment-agnostic for __NO_STRICT_ALIGNMENT to work. If aarch64 still has restrictions on some instructions (such as ldm/stm) the compiler may generate those for accessing network data in unaligned packet headers (I ran into this on arm32, where ipv6 address accesses got optimized into ldm instructions to load all 16 bytes at once).