2011-11-05 Peter Dufault <dufault@hda.com>,
authorcorsepiu <corsepiu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Nov 2011 06:18:08 +0000 (06:18 +0000)
committercorsepiu <corsepiu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Nov 2011 06:18:08 +0000 (06:18 +0000)
    Sebastian Huber <sebastian.huber@embedded-brains.de>

* config/rs6000/rtems.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
Extend rs6000_spe handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181006 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/rtems.h

index 918e755..caa7e2e 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-05  Peter Dufault  <dufault@hda.com>,
+           Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * config/rs6000/rtems.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
+       Extend rs6000_spe handling.
+
 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
 
        * config/rs6000/t-rtems: Add -mcpu=8540/-mfloat-gprs=double multilib.
index 1125e83..7ffdd3e 100644 (file)
@@ -63,5 +63,9 @@
       {                                                                        \
         if (TARGET_HARD_FLOAT && !rs6000_explicit_options.float_gprs)  \
           rs6000_float_gprs = 1;                                       \
+        if (rs6000_float_gprs != 0 && !rs6000_explicit_options.spe)    \
+          rs6000_spe = 1;                                              \
+        if (rs6000_spe && !rs6000_explicit_options.spe_abi)            \
+          rs6000_spe_abi = 1;                                          \
       }                                                                        \
   } while(0)