diff options
author | Richard Stallman <rms@gnu.org> | 1992-05-18 05:34:36 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-05-18 05:34:36 +0000 |
commit | 66c1f88e8eef0f6e64ecc081ce967b45745662f8 (patch) | |
tree | dfd6ff33a6556ccdb551983b0c2876947cde4d2f /gcc | |
parent | 93e3ba4f76f03707689b847c6b96b1b17c14a5f5 (diff) | |
download | gcc-66c1f88e8eef0f6e64ecc081ce967b45745662f8.zip gcc-66c1f88e8eef0f6e64ecc081ce967b45745662f8.tar.gz gcc-66c1f88e8eef0f6e64ecc081ce967b45745662f8.tar.bz2 |
*** empty log message ***
From-SVN: r1007
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expmed.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index e7a9af1..2a02aa5 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -1961,7 +1961,11 @@ expand_mult (mode, op0, op1, target, unsignedp) const_op1 = gen_rtx (CONST_INT, VOIDmode, CONST_DOUBLE_LOW (op1)); } - if (GET_CODE (const_op1) == CONST_INT && ! mult_is_very_cheap && optimize) + /* We used to test optimize here, on the grounds that it's better to + produce a smaller program when -O is not used. + But this causes such a terrible slowdown sometimes + that it seems better to use synth_mult always. */ + if (GET_CODE (const_op1) == CONST_INT && ! mult_is_very_cheap) { struct algorithm alg; struct algorithm neg_alg; |