static int tcg_match_xori(TCGType type, tcg_target_long val)

{

    if ((s390_facilities & FACILITY_EXT_IMM) == 0) {

        return 0;

    }



    if (type == TCG_TYPE_I32) {

        /* All 32-bit XORs can be performed with 1 48-bit insn.  */

        return 1;

    }



    /* Look for negative values.  These are best to load with LGHI.  */

    if (val < 0 && val == (int32_t)val) {

        return 0;

    }



    return 1;

}

static int tcg_match_xori(TCGType type, tcg_target_long val)

{

    if ((s390_facilities & FACILITY_EXT_IMM) == 0) {

        return 0;

    }



    if (type == TCG_TYPE_I32) {

        

        return 1;

    }



    

    if (val < 0 && val == (int32_t)val) {

        return 0;

    }



    return 1;

}

static int FUNC_0(TCGType VAR_0, tcg_target_long VAR_1)

{

    if ((s390_facilities & FACILITY_EXT_IMM) == 0) {

        return 0;

    }



    if (VAR_0 == TCG_TYPE_I32) {

        

        return 1;

    }



    

    if (VAR_1 < 0 && VAR_1 == (int32_t)VAR_1) {

        return 0;

    }



    return 1;

}

static int FUNC_0(TCGType VAR_0, tcg_target_long VAR_1)
{ if ((s390_facilities & FACILITY_EXT_IMM) == 0) { return 0; } if (VAR_0 == TCG_TYPE_I32) { return 1; } if (VAR_1 < 0 && VAR_1 == (int32_t)VAR_1) { return 0; } return 1; }