aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gnu.org>1995-04-29 10:07:29 +0000
committerTorbjorn Granlund <tege@gnu.org>1995-04-29 10:07:29 +0000
commit9b38c2fa8e7bc5e049f4b0e17f03585fe288a1ee (patch)
treee4fef2f91118de969b2c754776862b6b5537e591 /gcc/config/pa/pa.c
parentc210e6aeae17eef5a46918c6357980f1ece37cdc (diff)
downloadgcc-9b38c2fa8e7bc5e049f4b0e17f03585fe288a1ee.zip
gcc-9b38c2fa8e7bc5e049f4b0e17f03585fe288a1ee.tar.gz
gcc-9b38c2fa8e7bc5e049f4b0e17f03585fe288a1ee.tar.bz2
(output_mul_insn): Simplify, it is never called with UNSIGNEDP set.
From-SVN: r9542
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r--gcc/config/pa/pa.c23
1 files changed, 4 insertions, 19 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index dfdca72..ab43981 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -3220,29 +3220,14 @@ output_mul_insn (unsignedp, insn)
int unsignedp;
rtx insn;
{
-
- if (unsignedp)
- {
- 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));
- }
+ 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. */
- /* 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,
1, 1};