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

xtensa: support artificial division by 0 exception



On xtensa cores wihout hardware division option division support
functions from libgcc react to division by 0 attempt by executing
illegal instruction followed by the characters 'DIV0'. Recognize this
pattern in illegal instruction exception handler and convert it to
division by 0.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 408b1d3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment