2020-03-24 Jakub Jelinek <jakub@redhat.com>
+ PR target/94286
+ * config/arm/arm.md (subvdi4, usubvsi4, usubvdi4): Use gen_int_mode
+ instead of GEN_INT.
+
PR debug/94285
* tree-ssa-loop-manip.c (create_iv): If after, set stmt location to
e->goto_locus even if gsi_bb (*incr_pos) contains only debug stmts.
lo_op2 = force_reg (SImode, lo_op2);
if (CONST_INT_P (lo_op2))
emit_insn (gen_cmpsi2_addneg (lo_result, lo_op1, lo_op2,
- GEN_INT (-INTVAL (lo_op2))));
+ gen_int_mode (-INTVAL (lo_op2), SImode)));
else
emit_insn (gen_subsi3_compare1 (lo_result, lo_op1, lo_op2));
}
else if (CONST_INT_P (operands[2]))
emit_insn (gen_cmpsi2_addneg (operands[0], operands[1], operands[2],
- GEN_INT (-INTVAL (operands[2]))));
+ gen_int_mode (-INTVAL (operands[2]),
+ SImode)));
else if (CONST_INT_P (operands[1]))
{
mode = CC_RSBmode;
lo_op2 = force_reg (SImode, lo_op2);
if (CONST_INT_P (lo_op2))
emit_insn (gen_cmpsi2_addneg (lo_result, lo_op1, lo_op2,
- GEN_INT (-INTVAL (lo_op2))));
+ gen_int_mode (-INTVAL (lo_op2), SImode)));
else
emit_insn (gen_subsi3_compare1 (lo_result, lo_op1, lo_op2));