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 

>     case OPC_LB:
>         save_cpu_state(ctx, 0);
>         op_ld_lb(t0, t0, ctx);
>         gen_store_gpr(t0, rt);


r~

Reply via email to