Commit 9b38c2fa by Torbjorn Granlund

(output_mul_insn): Simplify, it is never called with UNSIGNEDP set.

From-SVN: r9542
parent c210e6ae
...@@ -3220,29 +3220,14 @@ output_mul_insn (unsignedp, insn) ...@@ -3220,29 +3220,14 @@ output_mul_insn (unsignedp, insn)
int unsignedp; int unsignedp;
rtx insn; rtx insn;
{ {
import_milli (mulI);
if (unsignedp) return output_call (insn, gen_rtx (SYMBOL_REF, SImode, "$$mulI"),
{ gen_rtx (REG, SImode, 31));
import_milli (mulU);
return output_call (insn, gen_rtx (SYMBOL_REF, SImode, "$$mulU"),
gen_rtx (REG, SImode, 31));
}
else
{
import_milli (mulI);
return output_call (insn, gen_rtx (SYMBOL_REF, SImode, "$$mulI"),
gen_rtx (REG, SImode, 31));
}
} }
/* If operands isn't NULL, then it's a CONST_INT with which we can do
something */
/* Emit the rtl for doing a division by a constant. */ /* Emit the rtl for doing a division by a constant. */
/* Do magic division millicodes exist for this value? */ /* Do magic division millicodes exist for this value? */
static int magic_milli[]= {0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, static int magic_milli[]= {0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0,
1, 1}; 1, 1};
......
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