From 7497cfcfcba20e1afbfcae5c5d9f946ca852a0a9 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 16 Nov 2015 23:21:24 -0800 Subject: [PATCH] PowerPC: Add detection of SPE (found on e500) and VSX Poky (Yocto's reference distro) has a special build for the e500v2, so I'm guessing this ABI is somewhat important. Change-Id: I14839ba5678944c2864bffff14176c4d61b8799f Reviewed-by: Oswald Buddenhagen Reviewed-by: Thiago Macieira --- config.tests/arch/arch.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.tests/arch/arch.cpp b/config.tests/arch/arch.cpp index c8e6cb335bd..f99c5ca1189 100644 --- a/config.tests/arch/arch.cpp +++ b/config.tests/arch/arch.cpp @@ -275,6 +275,12 @@ const char msg2[] = "==Qt=magic=Qt== Sub-architecture:" // -- POWER, PowerPC -- #ifdef __ALTIVEC__ " altivec" +#endif +#ifdef __SPE__ +" spe" +#endif +#ifdef __VSX__ +" vsx" #endif "";