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

xtensa: make fast_unaligned store restartable



fast_unaligned may encounter DTLB miss or SEGFAULT during the store
emulation. Don't update epc1 and lcount until after the store emulation
is complete, so that the faulting store instruction could be replayed.
Remove duplicate code handling zero overhead loops and calculate new
epc1 and lcount in one place.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent c3ef1f4d
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