qemu-devel
[Top][All Lists]
Advanced

[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~



reply via email to

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