diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-02-05 14:47:34 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-02-05 14:47:34 +0000 |
commit | 64aa00b1710aaf321a6487e1bb4e8a2e25b4aae9 (patch) | |
tree | 343c7a4d7129472b5e04a7d49aba3bb05c59ef05 /gcc | |
parent | 004a809c4d28939a1f85fd1626cdbbc19e025131 (diff) | |
download | gcc-64aa00b1710aaf321a6487e1bb4e8a2e25b4aae9.zip gcc-64aa00b1710aaf321a6487e1bb4e8a2e25b4aae9.tar.gz gcc-64aa00b1710aaf321a6487e1bb4e8a2e25b4aae9.tar.bz2 |
rs6000.c (rs6000_override_options): Invert check for rs6000_gen_cell_microcode.
* config/rs6000/rs6000.c (rs6000_override_options): Invert check
for rs6000_gen_cell_microcode.
From-SVN: r156518
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 35a10e6..a627eaf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-02-05 Nathan Froyd <froydnj@codesourcery.com> + + * config/rs6000/rs6000.c (rs6000_override_options): Invert check + for rs6000_gen_cell_microcode. + 2010-02-04 Richard Guenther <rguenther@suse.de> PR rtl-optimization/42952 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ee4eff6..effde07 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2382,10 +2382,10 @@ rs6000_override_options (const char *default_cpu) rs6000_gen_cell_microcode = !(rs6000_cpu == PROCESSOR_CELL && !optimize_size); - /* If we are optimizing big endian systems for space, use the load/store - multiple and string instructions unless we are not generating - Cell microcode. */ - if (BYTES_BIG_ENDIAN && optimize_size && !rs6000_gen_cell_microcode) + /* If we are optimizing big endian systems for space and it's OK to + use instructions that would be microcoded on the Cell, use the + load/store multiple and string instructions. */ + if (BYTES_BIG_ENDIAN && optimize_size && rs6000_gen_cell_microcode) target_flags |= ~target_flags_explicit & (MASK_MULTIPLE | MASK_STRING); /* Don't allow -mmultiple or -mstring on little endian systems |