diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-01-09 13:57:55 +0000 |
---|---|---|
committer | Sebastian Huber <sh@gcc.gnu.org> | 2015-01-09 13:57:55 +0000 |
commit | 887974fda22e2040ad8956488aa738b0bb9ad728 (patch) | |
tree | 8b6806d0b2c01863ca5a223ca5431df260dcb5f7 /gcc/config | |
parent | 3bfc2fa3f4d5c9f86fa811ae170bfd2bee875030 (diff) | |
download | gcc-887974fda22e2040ad8956488aa738b0bb9ad728.zip gcc-887974fda22e2040ad8956488aa738b0bb9ad728.tar.gz gcc-887974fda22e2040ad8956488aa738b0bb9ad728.tar.bz2 |
RTEMS: Add e6500 multilibs for PowerPC
Use 32-bit instructions only since currently there is no demand for a
larger address space. Provide one multilib with FPU and AltiVec support
and one without.
gcc/ChangeLog
* config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
for -mcpu=e6500.
* config/rs6000/t-rtems: Add e6500 multilibs.
From-SVN: r219387
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/rtems.h | 3 | ||||
-rw-r--r-- | gcc/config/rs6000/t-rtems | 13 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h index 9753de9..b3ee387 100644 --- a/gcc/config/rs6000/rtems.h +++ b/gcc/config/rs6000/rtems.h @@ -52,7 +52,8 @@ %{mcpu=750: %{!Dppc*: %{!Dmpc*: -Dmpc750} } } \ %{mcpu=821: %{!Dppc*: %{!Dmpc*: -Dmpc821} } } \ %{mcpu=860: %{!Dppc*: %{!Dmpc*: -Dmpc860} } } \ -%{mcpu=8540: %{!Dppc*: %{!Dmpc*: -Dppc8540} } }" +%{mcpu=8540: %{!Dppc*: %{!Dmpc*: -Dppc8540} } } \ +%{mcpu=e6500: -D__PPC_CPU_E6500__}" #undef SUBSUBTARGET_EXTRA_SPECS #define SUBSUBTARGET_EXTRA_SPECS \ diff --git a/gcc/config/rs6000/t-rtems b/gcc/config/rs6000/t-rtems index df1a88c..8933216 100644 --- a/gcc/config/rs6000/t-rtems +++ b/gcc/config/rs6000/t-rtems @@ -24,14 +24,17 @@ MULTILIB_MATCHES = MULTILIB_EXCEPTIONS = MULTILIB_REQUIRED = -MULTILIB_OPTIONS += mcpu=403/mcpu=505/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 -MULTILIB_DIRNAMES += m403 m505 m603e m604 m860 m7400 m8540 +MULTILIB_OPTIONS += mcpu=403/mcpu=505/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540/mcpu=e6500 +MULTILIB_DIRNAMES += m403 m505 m603e m604 m860 m7400 m8540 me6500 + +MULTILIB_OPTIONS += m32 +MULTILIB_DIRNAMES += m32 MULTILIB_OPTIONS += msoft-float/mfloat-gprs=double MULTILIB_DIRNAMES += nof gprsdouble -MULTILIB_OPTIONS += mno-spe -MULTILIB_DIRNAMES += nospe +MULTILIB_OPTIONS += mno-spe/mno-altivec +MULTILIB_DIRNAMES += nospe noaltivec MULTILIB_MATCHES += ${MULTILIB_MATCHES_ENDIAN} MULTILIB_MATCHES += ${MULTILIB_MATCHES_SYSV} @@ -72,3 +75,5 @@ MULTILIB_REQUIRED += mcpu=8540 MULTILIB_REQUIRED += mcpu=8540/msoft-float/mno-spe MULTILIB_REQUIRED += mcpu=8540/mfloat-gprs=double MULTILIB_REQUIRED += mcpu=860 +MULTILIB_REQUIRED += mcpu=e6500/m32 +MULTILIB_REQUIRED += mcpu=e6500/m32/msoft-float/mno-altivec |