Re: [Qemu-devel] [PATCH 4/5] target-tricore: Add instructions of BRR opcode format

2014-10-29 Thread Richard Henderson
On 10/29/2014 06:22 AM, Bastian Koppelmann wrote: > +case OPCM_32_BRR_LOOP: > +if (MASK_OP_BRR_OP2(ctx->opcode) == OPC2_32_BRR_LOOP) { > +gen_loop(ctx, r1, offset * 2); > +} else { > +gen_save_pc(ctx->pc + offset * 2); > +} gen_goto_tb. Also wor

[Qemu-devel] [PATCH 4/5] target-tricore: Add instructions of BRR opcode format

2014-10-29 Thread Bastian Koppelmann
Add instructions of BRR opcode format. Add MASK_OP_BRR_DISP15_SEXT. Signed-off-by: Bastian Koppelmann --- target-tricore/translate.c | 89 +++- target-tricore/tricore-opcodes.h | 1 + 2 files changed, 88 insertions(+), 2 deletions(-) diff --git a/targe