Lines Matching refs:cmp1
3054 mips_relational_operand_ok_p (enum rtx_code code, rtx cmp1)
3060 return reg_or_0_operand (cmp1, VOIDmode);
3064 return !TARGET_MIPS16 && cmp1 == const1_rtx;
3068 return arith_operand (cmp1, VOIDmode);
3071 return sle_operand (cmp1, VOIDmode);
3074 return sleu_operand (cmp1, VOIDmode);
3086 mips_canonicalize_comparison (enum rtx_code *code, rtx *cmp1,
3091 if (GET_CODE (*cmp1) != CONST_INT)
3094 original = INTVAL (*cmp1);
3103 *cmp1 = force_reg (mode, GEN_INT (plus_one));
3112 *cmp1 = force_reg (mode, GEN_INT (plus_one));
3132 rtx target, rtx cmp0, rtx cmp1)
3139 if (mips_relational_operand_ok_p (code, cmp1))
3140 mips_emit_binary (code, target, cmp0, cmp1);
3141 else if (mips_canonicalize_comparison (&code, &cmp1, GET_MODE (target)))
3142 mips_emit_binary (code, target, cmp0, cmp1);
3146 if (!mips_relational_operand_ok_p (inv_code, cmp1))
3148 cmp1 = force_reg (GET_MODE (cmp0), cmp1);
3149 mips_emit_int_relational (code, invert_ptr, target, cmp0, cmp1);
3154 mips_emit_binary (inv_code, inv_target, cmp0, cmp1);
3160 mips_emit_binary (inv_code, target, cmp0, cmp1);
3169 mips_zero_if_equal (rtx cmp0, rtx cmp1)
3171 if (cmp1 == const0_rtx)
3174 if (uns_arith_operand (cmp1, VOIDmode))
3176 cmp0, cmp1, 0, 0, OPTAB_DIRECT);
3179 cmp0, cmp1, 0, 0, OPTAB_DIRECT);