diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-08-24 09:58:14 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2020-09-01 07:43:35 -0700 |
commit | b9c58aabe62381fe736b6b4f9132986b90aa11cb (patch) | |
tree | ffca97eaee194c40799d4084f90c4a2e19ef59ff /target/microblaze/insns.decode | |
parent | ee8c7f9f9ab0c06b26e22d869cc12893e0c73bce (diff) |
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 'target/microblaze/insns.decode')
0 files changed, 0 insertions, 0 deletions