Commit 8131413b by Richard Kenner

(umulsi3_highpart): Pass correct number of arguments to const_uint32_operand.

(smulsi3_highpart): Likewise.

From-SVN: r9858
parent d8f1376c
...@@ -3023,7 +3023,7 @@ ...@@ -3023,7 +3023,7 @@
if (GET_CODE (operands[2]) == CONST_INT if (GET_CODE (operands[2]) == CONST_INT
|| GET_CODE (operands[2]) == CONST_DOUBLE) || GET_CODE (operands[2]) == CONST_DOUBLE)
{ {
if (! const_uint32_operand (operands[2])) if (! const_uint32_operand (operands[2], VOIDmode))
abort (); abort ();
/* We have to adjust the operand order for the matching constraints. */ /* We have to adjust the operand order for the matching constraints. */
emit_insn (gen_const_umulsi3_highpart (operands[0], operands[3], emit_insn (gen_const_umulsi3_highpart (operands[0], operands[3],
...@@ -3070,7 +3070,7 @@ ...@@ -3070,7 +3070,7 @@
if (GET_CODE (operands[2]) == CONST_INT if (GET_CODE (operands[2]) == CONST_INT
|| GET_CODE (operands[2]) == CONST_DOUBLE) || GET_CODE (operands[2]) == CONST_DOUBLE)
{ {
if (! const_sint32_operand (operands[2])) if (! const_sint32_operand (operands[2], VOIDmode))
abort (); abort ();
/* We have to adjust the operand order for the matching constraints. */ /* We have to adjust the operand order for the matching constraints. */
emit_insn (gen_const_smulsi3_highpart (operands[0], operands[3], emit_insn (gen_const_smulsi3_highpart (operands[0], operands[3],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment