diff options
author | David Edelsohn <edelsohn@gnu.org> | 2002-11-02 21:55:55 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2002-11-02 16:55:55 -0500 |
commit | dff9f1b69e16f9ba752590a8c0a1daf906dbb8e5 (patch) | |
tree | 5e22ddf2e01d111dc735b1c60cd51d748e1ab04a /gcc | |
parent | 21140bebee684d332ed96118d08771ad5f60b25d (diff) | |
download | gcc-dff9f1b69e16f9ba752590a8c0a1daf906dbb8e5.zip gcc-dff9f1b69e16f9ba752590a8c0a1daf906dbb8e5.tar.gz gcc-dff9f1b69e16f9ba752590a8c0a1daf906dbb8e5.tar.bz2 |
rs6000.c (rs6000_override_options): Use string instructions when optimizing for size.
* config/rs6000/rs6000.c (rs6000_override_options): Use string
instructions when optimizing for size.
From-SVN: r58759
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7613357..3cef1df 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-02 David Edelsohn <edelsohn@gnu.org> + + * config/rs6000/rs6000.c (rs6000_override_options): Use string + instructions when optimizing for size. + 2002-11-02 Kazu Hirata <kazu@cs.umass.edu> * config/h8300/h8300.h: Fix comment typos. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index fe74ffd..4dd911e 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -558,10 +558,10 @@ rs6000_override_options (default_cpu) if (rs6000_cpu == PROCESSOR_PPC8540) rs6000_isel = 1; - /* If we are optimizing big endian systems for space, use the store - multiple instructions. */ + /* If we are optimizing big endian systems for space, use the load/store + multiple and string instructions. */ if (BYTES_BIG_ENDIAN && optimize_size) - target_flags |= MASK_MULTIPLE; + target_flags |= MASK_MULTIPLE | MASK_STRING; /* If -mmultiple or -mno-multiple was explicitly used, don't override with the processor default */ |