Re: [Qemu-devel] [PATCH v3 2/8] target-sh4: Split out T from SR

2015-06-03 Thread Richard Henderson
On 05/24/2015 04:37 PM, Aurelien Jarno wrote: @@ -174,6 +176,16 @@ void superh_cpu_dump_state(CPUState *cs, FILE *f, env->delayed_pc); } } +static void gen_read_sr(TCGv dst) +{ +tcg_gen_or_i32(dst, cpu_sr, cpu_sr_t); +} Watch the spacing. /* MOVCO.L @

[Qemu-devel] [PATCH v3 2/8] target-sh4: Split out T from SR

2015-05-24 Thread Aurelien Jarno
In preparation for more efficient setting of this field. Signed-off-by: Aurelien Jarno --- target-sh4/cpu.h | 14 +++- target-sh4/gdbstub.c | 4 +- target-sh4/helper.c| 2 +- target-sh4/op_helper.c | 32 ++-- target-sh4/translate.c | 212