[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 11/15] target-tricore: Add instructions of SBC a
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 11/15] target-tricore: Add instructions of SBC and SBRN opcode format |
Date: |
Mon, 07 Jul 2014 21:47:28 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 07/07/2014 11:13 AM, Bastian Koppelmann wrote:
> +/* SBRN-format jumps */
> + case OPC1_16_SBRN_JZ_T:
> + temp = tcg_temp_new();
> + tcg_gen_andi_tl(temp, cpu_gpr_d[15], 0x1u << constant);
> + gen_branch_condi(ctx, TCG_COND_NE, temp, 0x1 << constant, offset);
> + tcg_temp_free(temp);
> + break;
> + case OPC1_16_SBRN_JNZ_T:
> + temp = tcg_temp_new();
> + tcg_gen_andi_tl(temp, cpu_gpr_d[15], 0x1u << constant);
> + gen_branch_condi(ctx, TCG_COND_EQ, temp, 0x1 << constant, offset);
> + tcg_temp_free(temp);
> + break;
Compare vs zero after the andi.
r~
- Re: [Qemu-devel] [PATCH 06/15] target-tricore: Add instructions of SRC opcode format, (continued)
- [Qemu-devel] [PATCH 13/15] target-tricore: Add instructions of SC opcode format, Bastian Koppelmann, 2014/07/07
- [Qemu-devel] [PATCH 05/15] target-tricore: Add masks and opcodes for decoding, Bastian Koppelmann, 2014/07/07
- [Qemu-devel] [PATCH 15/15] target-tricore: Add instructions of SR opcode format, Bastian Koppelmann, 2014/07/07
- [Qemu-devel] [PATCH 04/15] target-tricore: Add initialization for translation, Bastian Koppelmann, 2014/07/07
- [Qemu-devel] [PATCH 11/15] target-tricore: Add instructions of SBC and SBRN opcode format, Bastian Koppelmann, 2014/07/07
- Re: [Qemu-devel] [PATCH 11/15] target-tricore: Add instructions of SBC and SBRN opcode format,
Richard Henderson <=
- [Qemu-devel] [PATCH 12/15] target-tricore: Add instructions of SBR opcode format, Bastian Koppelmann, 2014/07/07
- [Qemu-devel] [PATCH 01/15] target-tricore: Add target stubs and qom-cpu, Bastian Koppelmann, 2014/07/07
- Re: [Qemu-devel] [PATCH 01/15] target-tricore: Add target stubs and qom-cpu, Richard Henderson, 2014/07/07
- Re: [Qemu-devel] [PATCH 01/15] target-tricore: Add target stubs and qom-cpu, Richard Henderson, 2014/07/07
- [Qemu-devel] [PATCH 08/15] target-tricore: Add instructions of SSR opcode format, Bastian Koppelmann, 2014/07/07