Re: [Qemu-devel] [PATCH v3 05/13] target/mips: Add emulation of MMI instruction PEXCW

2019-03-04 Thread Richard Henderson
On 3/4/19 7:13 AM, Mateja Marjanovic wrote: > +} else if (rt == rd) { > +TCGv_i64 t0 = tcg_temp_new(); > +TCGv_i64 t1 = tcg_temp_new(); > +uint64_t mask0 = (1ULL << 32) - 1; > +uint64_t mask1 = mask0 << 32; > + > +tcg_gen_andi_i64(t0, cpu_gpr[rt], mask1);

Re: [Qemu-devel] [PATCH v3 05/13] target/mips: Add emulation of MMI instruction PEXCW

2019-03-04 Thread Aleksandar Markovic
> From: Mateja Marjanovic > Subject: [PATCH v3 05/13] target/mips: Add emulation of MMI instruction PEXCW > > From: Mateja Marjanovic > > Add emulation of MMI instruction PEXCW. The emulation is implemented > using TCG front end operations directly to achieve better performance. > > Signed-off-by

[Qemu-devel] [PATCH v3 05/13] target/mips: Add emulation of MMI instruction PEXCW

2019-03-04 Thread Mateja Marjanovic
From: Mateja Marjanovic Add emulation of MMI instruction PEXCW. The emulation is implemented using TCG front end operations directly to achieve better performance. Signed-off-by: Mateja Marjanovic --- target/mips/translate.c | 73 - 1 file change