re PR rtl-optimization/7067 (-Os with -mcpu=powerpc optimizes for speed (?) instead of space)

PR optimize/7067
        * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
        small if optimizing for size.

From-SVN: r55991
This commit is contained in:
David Edelsohn 2002-08-02 16:25:43 +00:00 committed by David Edelsohn
parent 3a7491fbb9
commit 055dd007b3
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2002-08-02 David Edelsohn <edelsohn@gnu.org>
PR optimize/7067
* config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
small if optimizing for size.
2002-08-02 Daniel Jacobowitz <drow@mvista.com>
* configure.in (FORBUILD): Use $build_alias.

View File

@ -2332,6 +2332,8 @@ do { \
? COSTS_N_INSNS (2) \
: COSTS_N_INSNS (1)); \
case MULT: \
if (optimize_size) \
return COSTS_N_INSNS (2); \
switch (rs6000_cpu) \
{ \
case PROCESSOR_RIOS1: \