Re: [Qemu-devel] [PATCH v6 09/11] target-avr: updating translate.c to use instructions translation

2016-06-13 Thread Richard Henderson
On 06/12/2016 12:01 PM, Michael Rolnik wrote: +/* target is defined as bigendian for push_ret/pop_ret +optimization. but my decode assumes instruction to be in little +endian format, hence bswap +*/ +inst->opcode = bswap32(inst->opcode); You don't

[Qemu-devel] [PATCH v6 09/11] target-avr: updating translate.c to use instructions translation

2016-06-12 Thread Michael Rolnik
From: Michael Rolnik Signed-off-by: Michael Rolnik --- target-avr/Makefile.objs | 4 +- target-avr/translate.c | 148 +-- 2 files changed, 69 insertions(+), 83 deletions(-) diff --git