Revision 36aa55dc target-ppc/translate.c

b/target-ppc/translate.c
5300 5300
#if defined(TARGET_PPC64)
5301 5301
    tcg_gen_mov_i64(t, cpu_gpr[reg]);
5302 5302
#else
5303
    tcg_gen_extu_i32_i64(t, cpu_gprh[reg]);
5304
    tcg_gen_shli_i64(t, t, 32);
5305
    TCGv tmp = tcg_temp_local_new(TCG_TYPE_I64);
5306
    tcg_gen_extu_i32_i64(tmp, cpu_gpr[reg]);
5307
    tcg_gen_or_i64(t, t, tmp);
5308
    tcg_temp_free(tmp);
5303
    tcg_gen_concat_i32_i64(t, cpu_gpr[reg], cpu_gprh[reg]);
5309 5304
#endif
5310 5305
}
5311 5306

  

Also available in: Unified diff