[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~
- [Qemu-devel] [PATCH v2 0/5] Add TriCore ABS, ABSB, B, BIT, BO instructions, Bastian Koppelmann, 2014/10/01
- [Qemu-devel] [PATCH v2 3/5] target-tricore: Add instructions of B opcode format, Bastian Koppelmann, 2014/10/01
- [Qemu-devel] [PATCH v2 2/5] target-tricore: Add instructions of ABS, ABSB opcode format, Bastian Koppelmann, 2014/10/01
- [Qemu-devel] [PATCH v2 1/5] target-tricore: Cleanup and Bugfixes, Bastian Koppelmann, 2014/10/01
- [Qemu-devel] [PATCH v2 4/5] target-tricore: Add instructions of BIT opcode format, Bastian Koppelmann, 2014/10/01
- [Qemu-devel] [PATCH v2 5/5] target-tricore: Add instructions of BO opcode format, Bastian Koppelmann, 2014/10/01
- Re: [Qemu-devel] [PATCH v2 5/5] target-tricore: Add instructions of BO opcode format,
Richard Henderson <=