Commit 5dee33ac by Torbjorn Granlund

Use GEN_INT.

From-SVN: r8871
parent 6500b83f
...@@ -1928,11 +1928,11 @@ ...@@ -1928,11 +1928,11 @@
else if (GET_CODE (op1) == CONST_DOUBLE) else if (GET_CODE (op1) == CONST_DOUBLE)
{ {
operands[0] = operand_subword (op0, 1, 0, DImode); operands[0] = operand_subword (op0, 1, 0, DImode);
operands[1] = gen_rtx (CONST_INT, VOIDmode, CONST_DOUBLE_LOW (op1)); operands[1] = GEN_INT (CONST_DOUBLE_LOW (op1));
output_asm_insn (\"ldil L'%1,%0\", operands); output_asm_insn (\"ldil L'%1,%0\", operands);
operands[0] = operand_subword (op0, 0, 0, DImode); operands[0] = operand_subword (op0, 0, 0, DImode);
operands[1] = gen_rtx (CONST_INT, VOIDmode, CONST_DOUBLE_HIGH (op1)); operands[1] = GEN_INT (CONST_DOUBLE_HIGH (op1));
output_asm_insn (singlemove_string (operands), operands); output_asm_insn (singlemove_string (operands), operands);
return \"\"; return \"\";
} }
...@@ -1987,7 +1987,7 @@ ...@@ -1987,7 +1987,7 @@
/* Don't output a 64 bit constant, since we can't trust the assembler to /* Don't output a 64 bit constant, since we can't trust the assembler to
handle it correctly. */ handle it correctly. */
if (GET_CODE (operands[2]) == CONST_DOUBLE) if (GET_CODE (operands[2]) == CONST_DOUBLE)
operands[2] = gen_rtx (CONST_INT, VOIDmode, CONST_DOUBLE_LOW (operands[2])); operands[2] = GEN_INT (CONST_DOUBLE_LOW (operands[2]));
if (which_alternative == 1) if (which_alternative == 1)
output_asm_insn (\"copy %1,%0\", operands); output_asm_insn (\"copy %1,%0\", operands);
return \"ldo R'%G2(%R1),%R0\"; return \"ldo R'%G2(%R1),%R0\";
......
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