am 50c5ce01: Merge "Force ARMv7 builds to use only 16 FP registers." into eclair

Merge commit '50c5ce01ca7985b6a76ef67cf171a6eb29c69b80' into eclair-plus-aosp

* commit '50c5ce01ca7985b6a76ef67cf171a6eb29c69b80':
  Force ARMv7 builds to use only 16 FP registers.
This commit is contained in:
David Turner
2010-01-29 14:52:17 -08:00
committed by Android Git Automerger
2 changed files with 6 additions and 6 deletions

View File

@@ -39,8 +39,8 @@ TARGET_CFLAGS.common := \
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
TARGET_ARCH_CFLAGS := -march=armv7-a \ TARGET_ARCH_CFLAGS := -march=armv7-a \
-mfloat-abi=softfp \ -mfloat-abi=softfp \
-mfpu=neon -mfpu=vfp
TARGET_ARCH_LDFLAGS := -Wl,--fix-cortex-a8 TARGET_ARCH_LDFLAGS := -Wl,--fix-cortex-a8
else else
TARGET_ARCH_CFLAGS := -march=armv5te \ TARGET_ARCH_CFLAGS := -march=armv5te \

View File

@@ -93,12 +93,12 @@ Each supported ABI is identified by a unique name.
- The Thumb-2 instruction set extension. - The Thumb-2 instruction set extension.
- The VFP hardware FPU instructions. - The VFP hardware FPU instructions.
More specifically, VFPv3-D32 is being used, which corresponds to 32 More specifically, VFPv3-D16 is being used, which corresponds to 16
dedicated 64-bit floating point registers provided by the CPU. dedicated 64-bit floating point registers provided by the CPU.
Other extensions described by the v7-a ARM like Advanced SIMD (a.k.a. NEON) Other extensions described by the v7-a ARM like Advanced SIMD (a.k.a. NEON),
or ThumbEE are optional to this ABI, which means that developers should VFPv3-D32 or ThumbEE are optional to this ABI, which means that developers
check *at* *runtime* whether the extensions are available and provide should check *at* *runtime* whether the extensions are available and provide
alternative code paths if this is not the case. alternative code paths if this is not the case.
(Just like one typically does on x86 systems to check/use MMX/SSE2/etc... (Just like one typically does on x86 systems to check/use MMX/SSE2/etc...