]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rtems.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Extend rs6000_spe handling.
authorPeter Dufault <dufault@hda.com>
Sat, 5 Nov 2011 06:18:08 +0000 (06:18 +0000)
committerRalf Corsepius <corsepiu@gcc.gnu.org>
Sat, 5 Nov 2011 06:18:08 +0000 (07:18 +0100)
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.

Co-Authored-By: Sebastian Huber <sebastian.huber@embedded-brains.de>
From-SVN: r181006

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

index 918e7557c2a1b40bbc56d49daf56f9f8cebc5b5e..caa7e2e0d0bd0088c554b779aa2d0421b7fd7a7c 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 1125e83f0d83ad635c7ae4043f6cd7dec34b0d5b..7ffdd3e4831fe69f29150e0b70229de1fe84f12b 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)