unicorn/qemu/target/m68k
Alex Bennée 8e973e762d
target/*helper: don't check retaddr before calling cpu_restore_state
cpu_restore_state officially supports being passed an address it can't
resolve the state for. As a result the checks in the helpers are
superfluous and can be removed. This makes the code consistent with
other users of cpu_restore_state.

Of course this does nothing to address what to do if cpu_restore_state
can't resolve the state but so far it seems this is handled elsewhere.

The change was made with included coccinelle script.

Backports commit 65255e8efdd5fca602bcc4ff61a879939ff75f4f from qemu
2018-03-05 14:47:41 -05:00
..
cpu-qom.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
cpu.c qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00
cpu.h target/m68k: fix set_cc_op() 2018-03-05 14:44:38 -05:00
fpu_helper.c target/m68k: Switch fpu_rom from make_floatx80() to make_floatx80_init() 2018-03-04 23:05:01 -05:00
helper.c target-m68k: move FPU helpers to fpu_helper.c 2018-03-03 15:04:05 -05:00
helper.h target/m68k: add fmovem 2018-03-03 21:05:56 -05:00
Makefile.objs target-m68k: move FPU helpers to fpu_helper.c 2018-03-03 15:04:05 -05:00
op_helper.c target/*helper: don't check retaddr before calling cpu_restore_state 2018-03-05 14:47:41 -05:00
qregs.def target-m68k: use floatx80 internally 2018-03-03 19:35:17 -05:00
translate.c target/m68k: fix set_cc_op() 2018-03-05 14:44:38 -05:00
unicorn.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
unicorn.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00