From 9c8e7bc6b006e2c6970e9598e89d3c80f3468029 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 28 Jul 2012 03:11:02 +0200 Subject: [PATCH] config/arch.*: add variable to specify SIMD support Signed-off-by: Stephan Raue --- config/arch.arm | 3 +++ config/arch.i386 | 3 +++ config/arch.x86_64 | 3 +++ 3 files changed, 9 insertions(+) diff --git a/config/arch.arm b/config/arch.arm index 768e9afdd..aec07365d 100644 --- a/config/arch.arm +++ b/config/arch.arm @@ -29,18 +29,21 @@ TARGET_ABI=eabi TARGET_EXTRA_FLAGS="-Wno-psabi -Wa,-mno-warn-deprecated" TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU" + SIMD_SUPPORT="no" ;; cortex-a8) TARGET_SUBARCH=armv7-a TARGET_ABI=eabi TARGET_EXTRA_FLAGS="-Wno-psabi -Wa,-mno-warn-deprecated" TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU" + SIMD_SUPPORT="yes" ;; cortex-a9) TARGET_SUBARCH=armv7-a TARGET_ABI=eabi TARGET_EXTRA_FLAGS="-Wno-psabi -Wa,-mno-warn-deprecated" TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU" + SIMD_SUPPORT="yes" ;; esac diff --git a/config/arch.i386 b/config/arch.i386 index 9b49f8178..0eb8172c0 100644 --- a/config/arch.i386 +++ b/config/arch.i386 @@ -9,3 +9,6 @@ # setup ARCH specific *FLAGS TARGET_CFLAGS="-march=$TARGET_CPU -m32" TARGET_LDFLAGS="-march=$TARGET_CPU -m32" + +# build with SIMD support ( yes / no ) + SIMD_SUPPORT="yes" diff --git a/config/arch.x86_64 b/config/arch.x86_64 index fa237258a..f5aab9bb7 100644 --- a/config/arch.x86_64 +++ b/config/arch.x86_64 @@ -9,3 +9,6 @@ # setup ARCH specific *FLAGS TARGET_CFLAGS="-march=$TARGET_CPU -m64" TARGET_LDFLAGS="-march=$TARGET_CPU -m64" + +# build with SIMD support ( yes / no ) + SIMD_SUPPORT="yes"