Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90ce4534 authored by Pete Delaney's avatar Pete Delaney
Browse files

[MIPS] Disabled madd support for Ingenic Xburst CPUs.



1. Added xburst ARCH_VARIANT file 'mips32r2-fp-xburst.mk'.
   a) Added -mno-fused-madd GCC option.

2. Removing -mno-fused-madd GCC option for LLVM.


Change-Id: I947a74eb89c05ae321417533c3c40241abc6f965
Signed-off-by: default avatarPete Delaney <piet.delaney@imgtec.com>
parent 1d0608f9
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
# 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
+2 −1
Original line number Diff line number Diff line
@@ -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 += \