Merge "[MIPS] Disabled madd support for Ingenic Xburst CPUs."

This commit is contained in:
Ying Wang 2013-05-21 18:33:31 +00:00 committed by Gerrit Code Review
commit fa29872ae0
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,17 @@
# Configuration for Android on Ingenic xb4780/Xburst MIPS CPU.
# Generating binaries for MIPS32R2/hard-float/little-endian without
# support for the Madd family of instructions.
ARCH_MIPS_HAS_FPU :=true
ARCH_HAVE_ALIGNED_DOUBLES :=true
arch_variant_cflags := \
-EL \
-march=mips32r2 \
-mtune=mips32r2 \
-mips32r2 \
-mhard-float \
-msynci \
-mno-fused-madd
arch_variant_ldflags := \
-EL

View File

@ -60,7 +60,8 @@ ifeq ($(TARGET_ARCH),mips)
-mtune=mips32r2 \
-march=mips32 \
-mtune=mips32 \
-msynci
-msynci \
-mno-fused-madd
endif
ifeq ($(TARGET_ARCH),x86)
CLANG_CONFIG_EXTRA_CFLAGS += \