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:
parent
3a7491fbb9
commit
055dd007b3
|
@ -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.
|
||||
|
|
|
@ -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: \
|
||||
|
|
Loading…
Reference in New Issue