target/cris: Add DISAS_DBRANCH
commit3173715195a2cb7c92e89ca478a6ee86fe9551f0
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 20 Jun 2021 20:43:35 +0000 (20 13:43 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jun 2021 17:04:56 +0000 (29 10:04 -0700)
tree3e4499aaa36a7b97ee83ee6ad48bdfc3f46cf67f
parentc96747521c5142ea3c2cba687ff09be405d4054a
target/cris: Add DISAS_DBRANCH

Move delayed branch handling to tb_stop, where we can re-use other
end-of-tb code, e.g. the evaluation of flags.  Honor single stepping.
Validate that we aren't losing state by overwriting is_jmp.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/cris/translate.c