[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 03/19] target/hppa: Convert move to/from system
From: |
Bastian Koppelmann |
Subject: |
Re: [Qemu-devel] [PATCH 03/19] target/hppa: Convert move to/from system registers |
Date: |
Fri, 6 Apr 2018 15:14:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 02/17/2018 09:31 PM, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> target/hppa/translate.c | 57
> +++++++++++++++++++++---------------------------
> target/hppa/insns.decode | 15 +++++++++++++
> 2 files changed, 40 insertions(+), 32 deletions(-)
>
[...]
> @@ -2267,24 +2265,26 @@ static void trans_ssm(DisasContext *ctx, uint32_t
> insn, const DisasInsn *di)
> ctx->base.is_jmp = DISAS_IAQ_N_STALE_EXIT;
> nullify_end(ctx);
> }
> +#endif /* !CONFIG_USER_ONLY */
This seems to not belong to this patch.
>
> -static void trans_mtsm(DisasContext *ctx, uint32_t insn, const DisasInsn *di)
> +static void trans_mtsm(DisasContext *ctx, arg_mtsm *a, uint32_t insn)
> {
> - unsigned rr = extract32(insn, 16, 5);
> - TCGv_reg tmp, reg;
> -
> CHECK_MOST_PRIVILEGED(EXCP_PRIV_OPR);
> +#ifndef CONFIG_USER_ONLY
Why do you need to make this softmmu only in a simple convert patch?
This makes it at least confusing for the reviewer.
Otherwise it looks good to me.
Reviewed-by: Bastian Koppelmann <address@hidden>
Cheers,
Bastian
- Re: [Qemu-devel] [PATCH 03/19] target/hppa: Convert move to/from system registers,
Bastian Koppelmann <=