SIGBUS due to unaligned access on armv7 (GCC 9)
asheplyakov opened this issue · 1 comments
asheplyakov commented
(Sort of a duplicate of #30, sorry for that, I was unable to re-open that issue).
Basically armv7 unaligned access means that it's possible to read and write 16- and 32-bit values from addresses that are not 16- or 32-bit aligned (more details). However (as far as I understand) t1ha uses unaligned 64-bit access, and that requires 8-byte alignment (or should be replaced with two 32-bit reads/writes).
Also nothing guarantees that unaligned access is efficient.
erthink commented
@asheplyakov, thank you for the report.
Please check the fix.
I can't do it myself, as I don't have convenient access to the ARM platform right now.