From 64aa00b1710aaf321a6487e1bb4e8a2e25b4aae9 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Fri, 5 Feb 2010 14:47:34 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 35a10e6ac56..a627eaf1e66 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-02-05 Nathan Froyd + + * config/rs6000/rs6000.c (rs6000_override_options): Invert check + for rs6000_gen_cell_microcode. + 2010-02-04 Richard Guenther PR rtl-optimization/42952 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ee4eff6bb34..effde078736 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 -- 2.30.2