Searched hist:be0e3d7a1e148180fe1b89c7f93720db0607614e (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/target/sh4/ |
H A D | translate.c | diff be0e3d7a1e148180fe1b89c7f93720db0607614e Fri Jun 01 18:55:52 CDT 2018 Richard Henderson <richard.henderson@linaro.org> target/sh4: Fix translator.c assertion failure for gUSA
The translator loop does not allow the tb_start hook to set dc->base.is_jmp; the only hook allowed to do that is translate_insn.
Split the work between init_disas_context where we validate the gUSA parameters, and translate_insn where we emit code.
Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|