diff options
author | Duane Sand <duane.sand@imgtec.com> | 2014-07-09 13:30:52 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2014-08-05 12:39:28 -0700 |
commit | 02f285208ca817e3d405d4786d05e0d3127325fa (patch) | |
tree | 7a59a2d5fc4f3fd4fc9f182e7eb16fbe8ed599b2 /core/combo/arch | |
parent | 1d04a53ba31488f7e60f34620e569ce1716792e6 (diff) | |
download | build-02f285208ca817e3d405d4786d05e0d3127325fa.zip build-02f285208ca817e3d405d4786d05e0d3127325fa.tar.gz build-02f285208ca817e3d405d4786d05e0d3127325fa.tar.bz2 |
[MIPSR6] Add mips64r6 and mips32r6 targets
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.
(cherry picked from commit 6bab974cdc90cb3a7514c7255b6e6adfb9c98e2b)
Change-Id: I447337ce56c15e86cec505d68a6b45294fc3ba77
Diffstat (limited to 'core/combo/arch')
-rw-r--r-- | core/combo/arch/mips/mips32r6.mk | 12 | ||||
-rw-r--r-- | core/combo/arch/mips64/mips64r6.mk | 7 |
2 files changed, 19 insertions, 0 deletions
diff --git a/core/combo/arch/mips/mips32r6.mk b/core/combo/arch/mips/mips32r6.mk new file mode 100644 index 0000000..315aa60 --- /dev/null +++ b/core/combo/arch/mips/mips32r6.mk @@ -0,0 +1,12 @@ +# Configuration for Android on MIPS. +# Generating binaries for MIPS32R6/hard-float/little-endian + +ARCH_MIPS_REV6 := true +arch_variant_cflags := \ + -mips32r6 \ + -mfp64 \ + -mno-odd-spreg \ + -msynci + +arch_variant_ldflags := \ + -Wl,-melf32ltsmip diff --git a/core/combo/arch/mips64/mips64r6.mk b/core/combo/arch/mips64/mips64r6.mk new file mode 100644 index 0000000..443de20 --- /dev/null +++ b/core/combo/arch/mips64/mips64r6.mk @@ -0,0 +1,7 @@ +# Configuration for Android on mips64r6. + +ARCH_MIPS_REV6 := true +arch_variant_cflags := \ + -mips64r6 \ + -msynci + |