]> Git Repo - qemu.git/commit
target/microblaze: Reorganize branching
authorRichard Henderson <[email protected]>
Mon, 24 Aug 2020 16:58:14 +0000 (09:58 -0700)
committerRichard Henderson <[email protected]>
Tue, 1 Sep 2020 14:43:35 +0000 (07:43 -0700)
commitb9c58aabe62381fe736b6b4f9132986b90aa11cb
treeffca97eaee194c40799d4084f90c4a2e19ef59ff
parentee8c7f9f9ab0c06b26e22d869cc12893e0c73bce
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 <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
target/microblaze/cpu.h
target/microblaze/translate.c
This page took 0.025972 seconds and 4 git commands to generate.