Re: [Qemu-devel] [PATCH 09/10] target-tricore: add FRET instructions of the v1.6 ISA

2015-05-21 Thread Richard Henderson
On 05/13/2015 02:45 AM, Bastian Koppelmann wrote: > +static void gen_fret(DisasContext *ctx) > +{ > +tcg_gen_andi_tl(cpu_PC, cpu_gpr_a[11], ~0x1); > +tcg_gen_qemu_ld_tl(cpu_gpr_a[11], cpu_gpr_a[10], ctx->mem_idx, MO_LESL); > +tcg_gen_addi_tl(cpu_gpr_a[10], cpu_gpr_a[10], 4); > +tcg_

[Qemu-devel] [PATCH 09/10] target-tricore: add FRET instructions of the v1.6 ISA

2015-05-13 Thread Bastian Koppelmann
Signed-off-by: Bastian Koppelmann --- target-tricore/translate.c | 14 ++ target-tricore/tricore-opcodes.h | 2 ++ 2 files changed, 16 insertions(+) diff --git a/target-tricore/translate.c b/target-tricore/translate.c index 545cc06..4f517b3 100644 --- a/target-tricore/translat