From: Peter Dufault Date: Sat, 5 Nov 2011 06:18:08 +0000 (+0000) Subject: rtems.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Extend rs6000_spe handling. X-Git-Tag: releases/gcc-4.7.0~2463 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=da103f5aaf92b16fe7e74d65d576bafaef61d055;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 918e7557c2a1..caa7e2e0d0bd 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 1125e83f0d83..7ffdd3e4831f 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)