config/arch/powerpc.in
changeset 1761 88020b2c3246
parent 1345 27fec561af53
child 2112 0b83ab44a914
     1.1 --- a/config/arch/powerpc.in	Wed May 20 20:13:13 2009 +0000
     1.2 +++ b/config/arch/powerpc.in	Tue Jan 12 19:24:03 2010 +0100
     1.3 @@ -1,6 +1,9 @@
     1.4  # powerpc specific configuration file
     1.5  
     1.6  config ARCH_powerpc
     1.7 +    select ARCH_SUPPORTS_32
     1.8 +    select ARCH_SUPPORTS_64 if EXPERIMENTAL
     1.9 +    select ARCH_DEFAULT_32
    1.10      select ARCH_USE_MMU
    1.11      select ARCH_SUPPORT_ABI
    1.12      select ARCH_SUPPORT_CPU
    1.13 @@ -9,3 +12,18 @@
    1.14        The PowerPC architecture, as defined by:
    1.15          http://www.ibm.com/developerworks/eserver/articles/archguide.html
    1.16  
    1.17 +config ARCH_POWERPC_SPE
    1.18 +    bool
    1.19 +    prompt "Enable SPE support"
    1.20 +    default n
    1.21 +    help
    1.22 +      Add support for the Signal Processing Engine.  This will set up
    1.23 +      the toolchain so that it supports the SPE ABI extensions. This
    1.24 +      mainly targets Freescale e500 processors.
    1.25 +      
    1.26 +      Setting this option will append "spe" to the end of your target
    1.27 +      tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
    1.28 +      configure/build system will know to include SPE ABI support.
    1.29 +      It will also automatically add "-mabi=spe -mspe" to your
    1.30 +      TARGET_CFLAGS, and "--enable-e500_double" to your CC_EXTRA_CONFIG,
    1.31 +      so you do not need to explicitly add them.