m68k: fix exception stack frame for 68000
commit000761dc0c97d70e7314db3e8f52783880325a22
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Fri, 13 Apr 2018 13:30:41 +0000 (13 16:30 +0300)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 15 Apr 2018 09:37:58 +0000 (15 11:37 +0200)
tree8899a58ee758c62079e2f2053b9a390a48c1b1e1
parent38e83a71d02e026d4a6d0ab1ef9855c4924c2c68
m68k: fix exception stack frame for 68000

68000 CPUs do not save format in the exception stack frame.
This patch adds feature checking to prevent format saving for 68000.
m68k_ret() already includes this modification, this patch fixes
the exception processing function too.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180413133041.29509.59064.stgit@pasha-VirtualBox>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
target/m68k/op_helper.c