From da103f5aaf92b16fe7e74d65d576bafaef61d055 Mon Sep 17 00:00:00 2001 From: Peter Dufault Date: Sat, 5 Nov 2011 06:18:08 +0000 Subject: [PATCH] rtems.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Extend rs6000_spe handling. 2011-11-05 Peter Dufault , Sebastian Huber * config/rs6000/rtems.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Extend rs6000_spe handling. Co-Authored-By: Sebastian Huber From-SVN: r181006 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rtems.h | 4 ++++ 2 files changed, 10 insertions(+) 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 , + Sebastian Huber + + * config/rs6000/rtems.h (SUBSUBTARGET_OVERRIDE_OPTIONS): + Extend rs6000_spe handling. + 2011-11-05 Ralf Corsépius * 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) -- 2.7.4