unicorn/qemu/target/m68k
Lucien Murray-Pitts 7d5dfd6b53 m68k: add MSP detection support for stack pointer swap helpers
On m68k there are two varities of stack pointers: USP with SSP or ISP/MSP.

Only the 68020/30/40 support the MSP register the stack swap helpers don't
support this feature.

This patch adds this support, as well as comments to CPUM68KState to
make it clear how stacks are handled

Backports 7525a9b94c0c5733b8450c9451ca1de334f71ed8
2021-03-12 14:53:48 -05:00
..
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 19:35:46 -04:00
cpu-qom.h m68k comments break patch submission due to being incorrectly formatted 2019-08-08 14:26:45 -04:00
cpu.c m68k: add MSP detection support for stack pointer swap helpers 2021-03-12 14:53:48 -05:00
cpu.h m68k: add MSP detection support for stack pointer swap helpers 2021-03-12 14:53:48 -05:00
fpu_helper.c target/m68k: implement opcode fetoxm1 2020-06-14 21:13:29 -04:00
helper.c m68k: add MSP detection support for stack pointer swap helpers 2021-03-12 14:53:48 -05:00
helper.h target/m68k: implement opcode fetoxm1 2020-06-14 21:13:29 -04:00
Makefile.objs target/m68k: add fmod/frem 2018-03-09 01:28:58 -05:00
op_helper.c target/m68k: don't set SSW ATC bit for physical bus errors 2021-03-12 14:29:37 -05:00
qregs.def target-m68k: use floatx80 internally 2018-03-03 19:35:17 -05:00
softfloat.c softfloat: merge floatx80_mod and floatx80_rem 2021-02-25 13:34:05 -05:00
softfloat.h softfloat: merge floatx80_mod and floatx80_rem 2021-02-25 13:34:05 -05:00
softfloat_fpsp_tables.h m68k comments break patch submission due to being incorrectly formatted 2019-08-08 14:26:45 -04:00
translate.c m68k: MOVEC insn. should generate exception if wrong CR is accessed 2021-03-12 14:50:16 -05:00
unicorn.c Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
unicorn.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00