static void tcg_opt_gen_movi(TCGContext *s, TCGOp *op, TCGArg *args,

                             TCGArg dst, TCGArg val)

{

    TCGOpcode new_op = op_to_movi(op->opc);

    tcg_target_ulong mask;



    op->opc = new_op;



    reset_temp(dst);

    temps[dst].state = TCG_TEMP_CONST;

    temps[dst].val = val;

    mask = val;

    if (TCG_TARGET_REG_BITS > 32 && new_op == INDEX_op_mov_i32) {

        /* High bits of the destination are now garbage.  */

        mask |= ~0xffffffffull;

    }

    temps[dst].mask = mask;



    args[0] = dst;

    args[1] = val;

}

static void tcg_opt_gen_movi(TCGContext *s, TCGOp *op, TCGArg *args,

                             TCGArg dst, TCGArg val)

{

    TCGOpcode new_op = op_to_movi(op->opc);

    tcg_target_ulong mask;



    op->opc = new_op;



    reset_temp(dst);

    temps[dst].state = TCG_TEMP_CONST;

    temps[dst].val = val;

    mask = val;

    if (TCG_TARGET_REG_BITS > 32 && new_op == INDEX_op_mov_i32) {

        

        mask |= ~0xffffffffull;

    }

    temps[dst].mask = mask;



    args[0] = dst;

    args[1] = val;

}

static void FUNC_0(TCGContext *VAR_0, TCGOp *VAR_1, TCGArg *VAR_2,

                             TCGArg VAR_3, TCGArg VAR_4)

{

    TCGOpcode new_op = op_to_movi(VAR_1->opc);

    tcg_target_ulong mask;



    VAR_1->opc = new_op;



    reset_temp(VAR_3);

    temps[VAR_3].state = TCG_TEMP_CONST;

    temps[VAR_3].VAR_4 = VAR_4;

    mask = VAR_4;

    if (TCG_TARGET_REG_BITS > 32 && new_op == INDEX_op_mov_i32) {

        

        mask |= ~0xffffffffull;

    }

    temps[VAR_3].mask = mask;



    VAR_2[0] = VAR_3;

    VAR_2[1] = VAR_4;

}

static void FUNC_0(TCGContext *VAR_0, TCGOp *VAR_1, TCGArg *VAR_2,
TCGArg VAR_3, TCGArg VAR_4)
{ TCGOpcode new_op = op_to_movi(VAR_1->opc); tcg_target_ulong mask; VAR_1->opc = new_op; reset_temp(VAR_3); temps[VAR_3].state = TCG_TEMP_CONST; temps[VAR_3].VAR_4 = VAR_4; mask = VAR_4; if (TCG_TARGET_REG_BITS > 32 && new_op == INDEX_op_mov_i32) { mask |= ~0xffffffffull; } temps[VAR_3].mask = mask; VAR_2[0] = VAR_3; VAR_2[1] = VAR_4; }