linux-user/sparc64: Fix the handling of window spill trap
authorGiuseppe Musacchio <thatlemon@gmail.com>
Thu, 25 Jun 2020 09:12:04 +0000 (11:12 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 29 Jun 2020 11:00:23 +0000 (13:00 +0200)
commitd43624c400597aec18dff917c1424b807bbb473d
tree29cc1a586b7d21ebc561a53201764eb56f40cf97
parentaa04c9d9ef962d516af5ca89667de4282d1c22ef
linux-user/sparc64: Fix the handling of window spill trap

Fix the handling of window spill traps by keeping cansave into account
when calculating the new CWP.

Signed-off-by: Giuseppe Musacchio <thatlemon@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200625091204.3186186-3-laurent@vivier.eu>
bsd-user/main.c
linux-user/sparc/cpu_loop.c