Re: [Qemu-devel] [PATCH V4 04/11] Add MIPS DSP Load instructions Support

2012-03-30 Thread Richard Henderson
On 03/29/2012 11:17 PM, Jia Liu wrote: > +save_cpu_state(ctx, 1); > +gen_op_addr_add(ctx, addr, cpu_gpr[rs], cpu_gpr[rt]); > +op_ld_lh(cpu_gpr[rd], addr, ctx); You should't need to save pc state in these; this should be comparable to >

[Qemu-devel] [PATCH V4 04/11] Add MIPS DSP Load instructions Support

2012-03-29 Thread Jia Liu
Add MIPS DSP Load instructions Support. Signed-off-by: Jia Liu --- target-mips/translate.c | 47 +++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index 8f8daf2..608f6de 100644 --- a