Re: [PATCH] mips: fix abort on integer overflow

2023-09-28 Thread Richard Henderson
On 9/24/23 07:16, Mikulas Patocka wrote: Qemu mips userspace emulation crashes with "qemu: unhandled CPU exception 0x15 - aborting" when one of the integer arithmetic instructions detects an overflow. This patch fixes it so that it delivers SIGFPE with FPE_INTOVF instead. Signed-off-by: Mikulas

[PATCH] mips: fix abort on integer overflow

2023-09-24 Thread Mikulas Patocka
Qemu mips userspace emulation crashes with "qemu: unhandled CPU exception 0x15 - aborting" when one of the integer arithmetic instructions detects an overflow. This patch fixes it so that it delivers SIGFPE with FPE_INTOVF instead. Signed-off-by: Mikulas Patocka Cc: qemu-sta...@nongnu.org ---