Skip to content
Commit 651d4aff authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: rearrange unaligned exception handler



- 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>
parent 3522bcfe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment