summary refs log tree commit diff stats
path: root/scripts/qapi
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-08-24 09:58:14 -0700
committerRichard Henderson <richard.henderson@linaro.org>2020-09-01 07:43:35 -0700
commitb9c58aabe62381fe736b6b4f9132986b90aa11cb (patch)
treeffca97eaee194c40799d4084f90c4a2e19ef59ff /scripts/qapi
parentee8c7f9f9ab0c06b26e22d869cc12893e0c73bce (diff)
downloadfocaccia-qemu-b9c58aabe62381fe736b6b4f9132986b90aa11cb.tar.gz
focaccia-qemu-b9c58aabe62381fe736b6b4f9132986b90aa11cb.zip
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>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions