[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/5] target-tricore: Add instructions of BRN opc
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 3/5] target-tricore: Add instructions of BRN opcode format |
Date: |
Wed, 29 Oct 2014 18:56:34 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 10/29/2014 06:22 AM, Bastian Koppelmann wrote:
> + if (MASK_OP_BRN_OP2(ctx->opcode) == OPC2_32_BRN_JNZ_T) {
> + tcg_gen_brcondi_tl(TCG_COND_NE, temp, 0, l1);
> + } else {
> + tcg_gen_brcondi_tl(TCG_COND_EQ, temp, 0, l1);
> + }
> + gen_goto_tb(ctx, 0, ctx->next_pc);
> + gen_set_label(l1);
> + gen_goto_tb(ctx, 1, ctx->pc + offset * 2);
This looks like gen_branch_condi.
r~
- [Qemu-devel] [PATCH 0/5] Add TriCore BOL, BRC, BRN, BRR and RC instructions, Bastian Koppelmann, 2014/10/29
- [Qemu-devel] [PATCH 1/5] target-tricore: Add instructions of BOL opcode format, Bastian Koppelmann, 2014/10/29
- [Qemu-devel] [PATCH 2/5] target-tricore: Add instructions of BRC opcode format, Bastian Koppelmann, 2014/10/29
- [Qemu-devel] [PATCH 3/5] target-tricore: Add instructions of BRN opcode format, Bastian Koppelmann, 2014/10/29
- Re: [Qemu-devel] [PATCH 3/5] target-tricore: Add instructions of BRN opcode format,
Richard Henderson <=
- [Qemu-devel] [PATCH 5/5] target-tricore: Add instructions of RC opcode format, Bastian Koppelmann, 2014/10/29
- [Qemu-devel] [PATCH 4/5] target-tricore: Add instructions of BRR opcode format, Bastian Koppelmann, 2014/10/29