aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPeter Dufault <dufault@hda.com>2011-11-05 06:18:08 +0000
committerRalf Corsepius <corsepiu@gcc.gnu.org>2011-11-05 07:18:08 +0100
commitda103f5aaf92b16fe7e74d65d576bafaef61d055 (patch)
tree0f6dad9bc322198c39f2b909501096f2fbcc6328 /gcc
parentbce15ee8460192caf7702fa46758156b95b8cfa6 (diff)
downloadgcc-da103f5aaf92b16fe7e74d65d576bafaef61d055.zip
gcc-da103f5aaf92b16fe7e74d65d576bafaef61d055.tar.gz
gcc-da103f5aaf92b16fe7e74d65d576bafaef61d055.tar.bz2
rtems.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Extend rs6000_spe handling.
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rtems.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 918e755..caa7e2e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h
index 1125e83..7ffdd3e 100644
--- a/gcc/config/rs6000/rtems.h
+++ b/gcc/config/rs6000/rtems.h
@@ -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)