linux-user/sparc: Handle floating-point exceptions
commit4ea3af392f85dc2e66059855266b3817b321dc90
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 16 Feb 2023 05:45:15 +0000 (15 19:45 -1000)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 10 Mar 2023 19:45:47 +0000 (10 20:45 +0100)
treeb5ecde2626d54ae6e503d38be4779060d5f02b0c
parent81f04cd34ccd3dab6c796a5fbc439a8061b04ef3
linux-user/sparc: Handle floating-point exceptions

Raise SIGFPE for ieee exceptions.

The other types, such as FSR_FTT_UNIMPFPOP, should not appear,
because we enable normal emulation of missing insns at the
start of sparc_cpu_realizefn().

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230216054516.1267305-15-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/sparc/cpu_loop.c
target/sparc/cpu.h