aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-26 17:39:52 +0000
committerRichard Stallman <rms@gnu.org>1993-10-26 17:39:52 +0000
commitd4c6dfec80b6faeeb4e13b7034a80ed02b95b381 (patch)
tree2c284a5ff002417b44e93de4161567d636830d3e
parentad96180a1120945d0bb6e308873c5c9d225109a6 (diff)
downloadgcc-d4c6dfec80b6faeeb4e13b7034a80ed02b95b381.zip
gcc-d4c6dfec80b6faeeb4e13b7034a80ed02b95b381.tar.gz
gcc-d4c6dfec80b6faeeb4e13b7034a80ed02b95b381.tar.bz2
(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
-rw-r--r--gcc/expmed.c4
1 files 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,