From d4c6dfec80b6faeeb4e13b7034a80ed02b95b381 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 26 Oct 1993 17:39:52 +0000 Subject: [PATCH] (init_expmed): Use register 10000, not FIRST_PSEUDO_REGISTER that gets special treatment in rtx_cost. (init_expmed): Use register 10000, not FIRST_PSEUDO_REGISTER that gets special treatment in rtx_cost. (expand_mult): Decrease max cost to 8. From-SVN: r5897 --- gcc/expmed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/expmed.c b/gcc/expmed.c index 16c2500..8c6edd8 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -70,7 +70,7 @@ init_expmed () char *free_point; /* This is "some random pseudo register" for purposes of calling recog to see what insns exist. */ - rtx reg = gen_rtx (REG, word_mode, FIRST_PSEUDO_REGISTER); + rtx reg = gen_rtx (REG, word_mode, 10000); rtx shift_insn, shiftadd_insn, shiftsub_insn; int dummy; int m; @@ -2100,7 +2100,7 @@ expand_mult (mode, op0, op1, target, unsignedp) vice versa. */ mult_cost = rtx_cost (gen_rtx (MULT, mode, op0, op1), SET); - mult_cost = MIN (12 * add_cost, mult_cost); + mult_cost = MIN (8 * add_cost, mult_cost); synth_mult (&alg, val, mult_cost); synth_mult (&neg_alg, - val, -- 2.7.4