Revision 8777643e

b/target-i386/translate.c
6643 6643
            tcg_gen_bswap64_i64(cpu_T[0], cpu_T[0]);
6644 6644
            gen_op_mov_reg_T0(OT_QUAD, reg);
6645 6645
        } else
6646
        {
6647
            TCGv_i32 tmp0;
6648
            gen_op_mov_TN_reg(OT_LONG, 0, reg);
6649
            
6650
            tmp0 = tcg_temp_new_i32();
6651
            tcg_gen_trunc_i64_i32(tmp0, cpu_T[0]);
6652
            tcg_gen_bswap32_i32(tmp0, tmp0);
6653
            tcg_gen_extu_i32_i64(cpu_T[0], tmp0);
6654
            gen_op_mov_reg_T0(OT_LONG, reg);
6655
        }
6656
#else
6646
#endif
6657 6647
        {
6658 6648
            gen_op_mov_TN_reg(OT_LONG, 0, reg);
6659
            tcg_gen_bswap32_i32(cpu_T[0], cpu_T[0]);
6649
            tcg_gen_ext32u_tl(cpu_T[0], cpu_T[0]);
6650
            tcg_gen_bswap32_tl(cpu_T[0], cpu_T[0]);
6660 6651
            gen_op_mov_reg_T0(OT_LONG, reg);
6661 6652
        }
6662
#endif
6663 6653
        break;
6664 6654
    case 0xd6: /* salc */
6665 6655
        if (CODE64(s))

Also available in: Unified diff