Commit 3f6d0a8c by Richard Kenner

(output_387_binary_op): Use AS2C instead of AS2 with null first arg.

From-SVN: r8186
parent 3520fbfe
...@@ -2540,9 +2540,9 @@ output_387_binary_op (insn, operands) ...@@ -2540,9 +2540,9 @@ output_387_binary_op (insn, operands)
return strcat (buf, AS2 (p,%2,%0)); return strcat (buf, AS2 (p,%2,%0));
if (STACK_TOP_P (operands[0])) if (STACK_TOP_P (operands[0]))
return strcat (buf, AS2 (,%y2,%0)); return strcat (buf, AS2C (%y2,%0));
else else
return strcat (buf, AS2 (,%2,%0)); return strcat (buf, AS2C (%2,%0));
case MINUS: case MINUS:
case DIV: case DIV:
...@@ -2575,12 +2575,12 @@ output_387_binary_op (insn, operands) ...@@ -2575,12 +2575,12 @@ output_387_binary_op (insn, operands)
if (STACK_TOP_P (operands[0])) if (STACK_TOP_P (operands[0]))
{ {
if (STACK_TOP_P (operands[1])) if (STACK_TOP_P (operands[1]))
return strcat (buf, AS2 (,%y2,%0)); return strcat (buf, AS2C (%y2,%0));
else else
return strcat (buf, AS2 (r,%y1,%0)); return strcat (buf, AS2 (r,%y1,%0));
} }
else if (STACK_TOP_P (operands[1])) else if (STACK_TOP_P (operands[1]))
return strcat (buf, AS2 (,%1,%0)); return strcat (buf, AS2C (%1,%0));
else else
return strcat (buf, AS2 (r,%2,%0)); return strcat (buf, AS2 (r,%2,%0));
......
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