qemu-e2k/target-mips
Richard Henderson 01ecaf438b tcg: Merge GETPC and GETRA
The return address argument to the softmmu template helpers was
confused.  In the legacy case, we wanted to indicate that there
is no return address, and so passed in NULL.  However, we then
immediately subtracted GETPC_ADJ from NULL, resulting in a non-zero
value, indicating the presence of an (invalid) return address.

Push the GETPC_ADJ subtraction down to the only point it's required:
immediately before use within cpu_restore_state_from_tb, after all
NULL pointer checks have been completed.

This makes GETPC and GETRA identical.  Remove GETRA as the lesser
used macro, replacing all uses with GETPC.

Signed-off-by: Richard Henderson <rth@twiddle.net>
2016-09-16 08:12:11 -07:00
..
cpu-qom.h
cpu.c
cpu.h
dsp_helper.c
gdbstub.c
helper.c target-mips: fix EntryHi.EHINV being cleared on TLB exception 2016-07-28 11:24:02 +01:00
helper.h
kvm_mips.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
kvm.c kvm-irqchip: i386: add hook for add/remove virq 2016-07-21 20:44:19 +03:00
lmi_helper.c
machine.c
Makefile.objs
mips-defs.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
mips-semi.c
msa_helper.c
op_helper.c tcg: Merge GETPC and GETRA 2016-09-16 08:12:11 -07:00
TODO
translate_init.c
translate.c