]> gcc.gnu.org Git - gcc.git/commitdiff
*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Mon, 18 May 1992 05:34:36 +0000 (05:34 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 18 May 1992 05:34:36 +0000 (05:34 +0000)
From-SVN: r1007

gcc/expmed.c

index e7a9af1a0135beb1241cd5f4680cbc6d1416ea32..2a02aa58f6ab6fddf2023cb6e35c6884bdd32e18 100644 (file)
@@ -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;
This page took 0.066072 seconds and 5 git commands to generate.