enabled the support for unaligned memory access for ARMv7.
Previous ARM ISA implementations didn't support unaligned access, however ARMv7 ISA implementations made it mandatory to support so. In ARMv7 when SCTLR (system control register) has A=0, unaligned access is allowed for LDR, STR, LDRH, STRH instructions.
SCTLT.A = 0 is also the default setting for ARMv7.
Also, Linux and all modern Operating systems on ARMv7 always sets SCTLR.A = 0 to support unaligned access, so does many applications on ARMv7 assumes it and uses unaligned access. Hence, it is most efficient to turn on through the Macros defines in global.h, rather than using any kind of runtime detection, as done in this Issue for review.
Support has been added to enable unaligned access also in the ARM specific implementation of the regular expression engine.
Total comments: 2
Total comments: 3
Total messages: 7 (0 generated)