Re: [Qemu-devel] [PATCH v2 09/17] target/mips: convert to TranslatorOps

2018-04-09 Thread Richard Henderson
On 04/07/2018 04:19 AM, Emilio G. Cota wrote: > Notes: > > - DISAS_TOO_MANY replaces the former "break" in the translation loop. > However, care must be taken not to overwrite a previous condition > in is_jmp; that's why in translate_insn we first check is_jmp and > return if it's != DISAS_N

[Qemu-devel] [PATCH v2 09/17] target/mips: convert to TranslatorOps

2018-04-06 Thread Emilio G. Cota
Notes: - DISAS_TOO_MANY replaces the former "break" in the translation loop. However, care must be taken not to overwrite a previous condition in is_jmp; that's why in translate_insn we first check is_jmp and return if it's != DISAS_NEXT. - Added an assert in translate_insn, before exiting