Commit 055dd007 by David Edelsohn Committed by David Edelsohn

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
parent 3a7491fb
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.
......
......@@ -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: \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment