• Ben Avison's avatar
    Unaligned loads/stores optimised for ARMv6+ · 70865f8b
    Ben Avison authored
    Detail:
      Having scanned the kernel source for unaligned load code fragments which
      would abort on ARMv6 and v7 and not having found any, I took the opportunity
      to give them build-time switches to use unaligned LDR((S)H)/STR(H)
      instructions if built for a new enough platform. Also added a couple of
      cases of LDRSB that will benefit v4 CPUs and a few instances of the v6
      SXTH instruction, but since objasm doesn't yet understand it (and when it
      does, not everyone will have upgraded) they are currently written as
      DCI statements.
      Most of the changes are to OS_Word handlers, which are notorious in that
      their input/output block is not word-aligned.
    Admin:
      Not tested, but it should at least build.
    
    Version 5.35, 4.79.2.98.2.6. Tagged as 'Kernel-5_35-4_79_2_98_2_6'
    70865f8b
GetAll 5.9 KB