diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-01-09 13:50:08 +0000 |
---|---|---|
committer | Sebastian Huber <sh@gcc.gnu.org> | 2015-01-09 13:50:08 +0000 |
commit | 3bfc2fa3f4d5c9f86fa811ae170bfd2bee875030 (patch) | |
tree | 2d71d5274c2475346555c86ef0cbbf1ea83474c7 /gcc/config | |
parent | 02f6062b4c88a6b432a56ba33a2954e0d95990ff (diff) | |
download | gcc-3bfc2fa3f4d5c9f86fa811ae170bfd2bee875030.zip gcc-3bfc2fa3f4d5c9f86fa811ae170bfd2bee875030.tar.gz gcc-3bfc2fa3f4d5c9f86fa811ae170bfd2bee875030.tar.bz2 |
RTEMS: Fix MPC8540 multilibs for PowerPC
GCC generates SPE instructions even if -msoft-float is specified.
Explicitly add -mno-spe to prevent generation of SPE instructions. This
multilib variant must not lead to a usage of the SPE.
gcc/ChangeLog
* config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
MPC8540.
From-SVN: r219385
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/t-rtems | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/rs6000/t-rtems b/gcc/config/rs6000/t-rtems index 911f24c..df1a88c 100644 --- a/gcc/config/rs6000/t-rtems +++ b/gcc/config/rs6000/t-rtems @@ -30,6 +30,9 @@ MULTILIB_DIRNAMES += m403 m505 m603e m604 m860 m7400 m8540 MULTILIB_OPTIONS += msoft-float/mfloat-gprs=double MULTILIB_DIRNAMES += nof gprsdouble +MULTILIB_OPTIONS += mno-spe +MULTILIB_DIRNAMES += nospe + MULTILIB_MATCHES += ${MULTILIB_MATCHES_ENDIAN} MULTILIB_MATCHES += ${MULTILIB_MATCHES_SYSV} # Map 405 to 403 @@ -66,6 +69,6 @@ MULTILIB_REQUIRED += mcpu=604/msoft-float MULTILIB_REQUIRED += mcpu=7400 MULTILIB_REQUIRED += mcpu=7400/msoft-float MULTILIB_REQUIRED += mcpu=8540 -MULTILIB_REQUIRED += mcpu=8540/msoft-float +MULTILIB_REQUIRED += mcpu=8540/msoft-float/mno-spe MULTILIB_REQUIRED += mcpu=8540/mfloat-gprs=double MULTILIB_REQUIRED += mcpu=860 |