https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82820 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ldm/stm should not be used with unaligned memory. Yes it was emulated when using the arm kernel but the arm64 kernel does not emulate them.