Searched hist:d74862007e0849fad8ba86447e6f05928f920640 (Results 1 – 1 of 1) sorted by relevance
/linux/arch/xtensa/kernel/ |
H A D | traps.c | diff d74862007e0849fad8ba86447e6f05928f920640 Fri May 13 17:11:14 CEST 2022 Max Filippov <jcmvbkbc@gmail.com> 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: Max Filippov <jcmvbkbc@gmail.com>
|