• Max Filippov's avatar
    xtensa: rearrange unaligned exception handler · 651d4aff
    Max Filippov authored
    - extract initialization part of the exception handler into a separate
      function.
    - use single label for invalid instruction instead of two labels, one
      for load and one for store, at one place.
    - use sext instruction for sign extension when available.
    - store SAR on the stack instead of in a0.
    - replace numeric labels for load and store writeback with .Lload_w and
      .Lstore_w respectively.
    Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    651d4aff
align.S 12.1 KB