diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-02 16:25:43 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-02 16:25:43 +0000 |
commit | 01540a73c79099cdfd45a090628c1652f5c8defe (patch) | |
tree | c64665d76b37c46abbbd56979fdb71448778196f /gcc/config/rs6000 | |
parent | 91a366503b1b60d403e3670acf323a4337e123cc (diff) | |
download | gcc-01540a73c79099cdfd45a090628c1652f5c8defe.tar.gz |
PR optimize/7067
* config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
small if optimizing for size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55991 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 647e5b045fb..35e9f098cc6 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -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: \ |