On 08/11/2014 09:23 AM, Tom Musta wrote:
>      tcg_gen_muls2_i32(t0, t1, t0, t1);
>      tcg_gen_ext_i32_tl(cpu_gpr[rD(ctx->opcode)], t0);
> +#if defined(TARGET_PPC64)
> +    tcg_gen_ext_i32_tl(t2, t1);
> +    tcg_gen_deposit_i64(cpu_gpr[rD(ctx->opcode)],
> +                        cpu_gpr[rD(ctx->opcode)], t2, 32, 32);
> +    tcg_temp_free(t2);
> +#endif

This is

  tcg_gen_muls2_i32(t0, t0, t0, t1);
#if defined(TARGET_PPC64)
  tcg_gen_concat_i32_i64(cpu_gpr[rD(ctx->opcode)], t0, t1);
#else
  tcg_gen_mov_i32(cpu_gpr[rD(ctx->opcode)], t0);
#endif


r~

Reply via email to