target/microblaze: Replace delayed_branch with tb_flags_to_set
commit1e521ce3b095ca9e324912cbd05391f00d37560a
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 22 Aug 2020 15:25:39 +0000 (22 08:25 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 1 Sep 2020 14:43:35 +0000 (1 07:43 -0700)
treedb66ddecb0b74f51cf8cf59211837b672fa975e6
parent6f9642d7d799c4774e9e04f95679d370d52633c6
target/microblaze: Replace delayed_branch with tb_flags_to_set

The multi-stage counter can be replaced by clearing D_FLAG,
the or'ing in tb_flags_to_set.  The jump then happens when
D_FLAG is finally cleared.

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>
target/microblaze/translate.c