config/arch/powerpc-powerpc64.in-common
changeset 1337 7f742f73c2d1
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/arch/powerpc-powerpc64.in-common	Wed May 13 20:55:15 2009 +0000
     1.3 @@ -0,0 +1,21 @@
     1.4 +# powerpc and powerpc64 common options
     1.5 +
     1.6 +if ARCH_powerpc || ARCH_powerpc64
     1.7 +
     1.8 +config ARCH_POWERPC_SPE
     1.9 +    bool
    1.10 +    prompt "Enable SPE support"
    1.11 +    default n
    1.12 +    help
    1.13 +      Add support for the Signal Processing Engine.  This will set up
    1.14 +      the toolchain so that it supports the SPE ABI extensions. This
    1.15 +      mainly targets Freescale e500 processors.
    1.16 +
    1.17 +      Setting this option will append "spe" to the end of your target
    1.18 +      tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
    1.19 +      configure/build system will know to include SPE ABI support.
    1.20 +      It will also automatically add "-mabi=spe -mspe" to your
    1.21 +      TARGET_CFLAGS, and "--enable-e500_double" to your CC_EXTRA_CONFIG,
    1.22 +      so you do not need to explicitly add them.
    1.23 +
    1.24 +endif # ARCH_powerpc || ARCH_powerpc64