[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 09/17] target/mips: convert to TranslatorOps
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2 09/17] target/mips: convert to TranslatorOps |
Date: |
Tue, 10 Apr 2018 14:02:27 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
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_NEXT.
>
> - Added an assert in translate_insn, before exiting due to an exception,
> to make sure that is_jmp is set to DISAS_EXCP (the exception generation
> function always sets it.)
>
> - Added an assert for the default case in is_jmp's switch.
>
> Cc: Aurelien Jarno <address@hidden>
> Cc: Yongbok Kim <address@hidden>
> Signed-off-by: Emilio G. Cota <address@hidden>
> ---
> target/mips/translate.c | 227
> ++++++++++++++++++++++++------------------------
> 1 file changed, 113 insertions(+), 114 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- Re: [Qemu-devel] [PATCH v2 06/17] target/mips: convert to DisasJumpType, (continued)
[Qemu-devel] [PATCH v2 08/17] target/mips: use *ctx for DisasContext, Emilio G. Cota, 2018/04/06
[Qemu-devel] [PATCH v2 11/17] target/s390x: convert to DisasContextBase, Emilio G. Cota, 2018/04/06
[Qemu-devel] [PATCH v2 01/17] translator: merge max_insns into DisasContextBase, Emilio G. Cota, 2018/04/06
[Qemu-devel] [PATCH v2 09/17] target/mips: convert to TranslatorOps, Emilio G. Cota, 2018/04/06
- Re: [Qemu-devel] [PATCH v2 09/17] target/mips: convert to TranslatorOps,
Richard Henderson <=
[Qemu-devel] [PATCH v2 15/17] target/riscv: convert to DisasJumpType, Emilio G. Cota, 2018/04/06
[Qemu-devel] [PATCH v2 17/17] target/riscv: convert to TranslatorOps, Emilio G. Cota, 2018/04/06
Re: [Qemu-devel] [PATCH v2 17/17] target/riscv: convert to TranslatorOps, Richard Henderson, 2018/04/13
[Qemu-devel] [PATCH v2 12/17] target/s390x: convert to TranslatorOps, Emilio G. Cota, 2018/04/06