qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 5/5] target-tricore: Add instructions of BO o


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2 5/5] target-tricore: Add instructions of BO opcode format
Date: Wed, 01 Oct 2014 09:02:06 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

On 10/01/2014 02:35 AM, Bastian Koppelmann wrote:
> +    case OPC2_32_BO_ST_A_PREINC:
> +        tcg_gen_addi_tl(cpu_gpr_a[r2], cpu_gpr_a[r2], off10);
> +        tcg_gen_qemu_st_tl(cpu_gpr_a[r1], cpu_gpr_a[r2], ctx->mem_idx,
> +                           MO_LESL);
> +        break;

The writeback to A[r2] should not happen until after the memory operation, so
that if a memory exception occurs, A[r2] is not adjusted.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]