Add mips64r6 target and corresponding mips32r6 target. Defaults remain as mips64r2 and mips32r2. Apply -FP64A codegen subsetting to mips32r6 only. Access FR=0 odd-numbered 32-bit float regs only via double-prec even-numbered regs, not by single-prec ops. Change-Id: I1740a6c658304b6c41242be58d68753e6f171658
29 lines
609 B
Makefile
29 lines
609 B
Makefile
# Clang flags for mips arch, target or host.
|
|
|
|
CLANG_CONFIG_mips_EXTRA_ASFLAGS :=
|
|
CLANG_CONFIG_mips_EXTRA_CFLAGS :=
|
|
CLANG_CONFIG_mips_EXTRA_LDFLAGS :=
|
|
|
|
# Include common unknown flags
|
|
CLANG_CONFIG_mips_UNKNOWN_CFLAGS := \
|
|
$(CLANG_CONFIG_UNKNOWN_CFLAGS) \
|
|
-mips32 \
|
|
-mips32r2 \
|
|
-mips32r6 \
|
|
-mfp32 \
|
|
-mfp64 \
|
|
-mfpxx \
|
|
-modd-spreg \
|
|
-mno-odd-spreg \
|
|
-fno-strict-volatile-bitfields \
|
|
-fgcse-after-reload \
|
|
-frerun-cse-after-loop \
|
|
-frename-registers \
|
|
-msynci \
|
|
-mno-fused-madd
|
|
|
|
# We don't have any mips flags to substitute yet.
|
|
define subst-clang-incompatible-mips-flags
|
|
$(1)
|
|
endef
|