|
|
|
|
|
by ant6n
3353 days ago
|
|
Apparently ARM allows unaligned loads now (permitted in ARMv6, default in ARMv7). There seem to be some instructions that don't support it, like STM. Also, afaik code needs to be aligned properly, and function pointers need to be aligned properly lest you will switch between arm and thumb mode.
Apparently you can tell the ARM compiler to assume all memory accesses are unaligned. Under ARMv8, I think alignment is less of an issue. http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.... |
|