qemu-e2k/target/microblaze
Richard Henderson b9c58aabe6 target/microblaze: Reorganize branching
Remove the btaken variable, and simplify things by always computing
the full branch destination into btarget.  This avoids all need for
sync_jmpstate().

Retain the direct branch behaviour by remembering the jump destination
in jmp_dest, discarding btarget.  In the normal case, where the branch
delay slot cannot trap (e.g. arithmetic), tcg will remove the computation
into btarget, leaving us with just the tcg direct branching at the end.

Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2020-09-01 07:43:35 -07:00
..
cpu-param.h
cpu-qom.h cpu: Use DeviceClass reset instead of a special CPUClass reset 2020-03-17 19:48:10 -04:00
cpu.c target/microblaze: Use cc->do_unaligned_access 2020-09-01 07:43:35 -07:00
cpu.h target/microblaze: Reorganize branching 2020-09-01 07:43:35 -07:00
gdbstub.c target/microblaze: Split out MSR[C] to its own variable 2020-09-01 07:41:38 -07:00
helper.c target/microblaze: Convert brk and brki to decodetree 2020-09-01 07:43:35 -07:00
helper.h target/microblaze: Use cc->do_unaligned_access 2020-09-01 07:43:35 -07:00
insns.decode target/microblaze: Convert mbar to decodetree 2020-09-01 07:43:35 -07:00
meson.build target/microblaze: Add decodetree infrastructure 2020-09-01 07:41:38 -07:00
microblaze-decode.h
mmu.c target/microblaze: Fix width of PC and BTARGET 2020-09-01 07:41:38 -07:00
mmu.h
op_helper.c target/microblaze: Use cc->do_unaligned_access 2020-09-01 07:43:35 -07:00
translate.c target/microblaze: Reorganize branching 2020-09-01 07:43:35 -07:00