Permalink
Browse files

config/arch.*: add variable to specify SIMD support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
  • Loading branch information...
1 parent b99ed5d commit 9c8e7bc6b006e2c6970e9598e89d3c80f3468029 @sraue sraue committed Jul 28, 2012
Showing with 9 additions and 0 deletions.
  1. +3 −0 config/arch.arm
  2. +3 −0 config/arch.i386
  3. +3 −0 config/arch.x86_64
View
@@ -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
View
@@ -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"
View
@@ -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"

0 comments on commit 9c8e7bc

Please sign in to comment.