[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 01/20] target/openrisc: Remove DISAS_JUMP & DISA
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH 01/20] target/openrisc: Remove DISAS_JUMP & DISAS_TB_JUMP |
Date: |
Sun, 27 May 2018 22:34:22 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 05/27/2018 11:13 AM, Richard Henderson wrote:
> These values are unused.
>
> Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> target/openrisc/translate.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c
> index e7c96ca990..f4f2f37e28 100644
> --- a/target/openrisc/translate.c
> +++ b/target/openrisc/translate.c
> @@ -41,9 +41,7 @@
> ## __VA_ARGS__)
>
> /* is_jmp field values */
> -#define DISAS_JUMP DISAS_TARGET_0 /* only pc was modified dynamically */
> #define DISAS_UPDATE DISAS_TARGET_1 /* cpu state was modified dynamically */
> -#define DISAS_TB_JUMP DISAS_TARGET_2 /* only pc was modified statically */
>
> typedef struct DisasContext {
> DisasContextBase base;
> @@ -1467,8 +1465,6 @@ static void openrisc_tr_tb_stop(DisasContextBase
> *dcbase, CPUState *cs)
> gen_goto_tb(dc, 0, dc->base.pc_next);
> break;
> case DISAS_NORETURN:
> - case DISAS_JUMP:
> - case DISAS_TB_JUMP:
> break;
> case DISAS_UPDATE:
> /* indicate that the hash table must be used
>
- [Qemu-devel] [PATCH 00/20] target/openrisc improvements, Richard Henderson, 2018/05/27
- [Qemu-devel] [PATCH 02/20] target/openrisc: Use exit_tb instead of CPU_INTERRUPT_EXITTB, Richard Henderson, 2018/05/27
- [Qemu-devel] [PATCH 01/20] target/openrisc: Remove DISAS_JUMP & DISAS_TB_JUMP, Richard Henderson, 2018/05/27
- [Qemu-devel] [PATCH 03/20] target/openrisc: Fix singlestep_enabled, Richard Henderson, 2018/05/27
- [Qemu-devel] [PATCH 05/20] target/openrisc: Split out is_user, Richard Henderson, 2018/05/27
- [Qemu-devel] [PATCH 04/20] target/openrisc: Link more translation blocks, Richard Henderson, 2018/05/27
- [Qemu-devel] [PATCH 08/20] target/openrisc: Merge tlb allocation into CPUOpenRISCState, Richard Henderson, 2018/05/27