aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-01-13 23:25:19 -0800
committerDan Willemsen <dwillemsen@google.com>2016-01-13 23:34:15 -0800
commit468cc315846c61fded49d7a753770b62f244501f (patch)
treee362a871d837c8d8612923af4229656ce51d11fa
parent768e5b49e159c0f388cebb56bf7286f669f61c1c (diff)
downloadbuild_soong-468cc315846c61fded49d7a753770b62f244501f.tar.gz
build_soong-468cc315846c61fded49d7a753770b62f244501f.tar.bz2
build_soong-468cc315846c61fded49d7a753770b62f244501f.zip
Mips builds in the megadevice now
Some of the dsp variants still have problems, but they also don't build under make. Change-Id: Ied9b4a1766de5d8a61d74a0ec629e0e68bfe3bc4
-rw-r--r--common/arch.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/common/arch.go b/common/arch.go
index 70ac85c2..08c570e7 100644
--- a/common/arch.go
+++ b/common/arch.go
@@ -920,14 +920,14 @@ func decodeMegaDevice() ([]Arch, error) {
{"arm", "armv7-a-neon", "krait", []string{"armeabi-v7a"}},
{"arm64", "", "cortex-a53", []string{"arm64-v8a"}},
{"arm64", "", "denver64", []string{"arm64-v8a"}},
- // mips is missing __popcountsi2 from libc
- //{"mips", "mips32-fp", "", []string{"mips"}},
- //{"mips", "mips32r2-fp", "", []string{"mips"}},
- //{"mips", "mips32r2-fp-xburst", "", []string{"mips"}},
- //{"mips", "mips32r6", "", []string{"mips32r6"}},
- // mips32r2dsp[r2]-fp also fails in the assembler for dmisc.c in libc:
- // Error: invalid operands `mtlo $ac0,$8'
- // Error: invalid operands `mthi $ac0,$3'
+ {"mips", "mips32-fp", "", []string{"mips"}},
+ {"mips", "mips32r2-fp", "", []string{"mips"}},
+ {"mips", "mips32r2-fp-xburst", "", []string{"mips"}},
+ {"mips", "mips32r6", "", []string{"mips32r6"}},
+ // mips32r2dsp[r2]-fp fails in the assembler for divdf3.c in compiler-rt:
+ // (same errors in make and soong)
+ // Error: invalid operands `mtlo $ac0,$11'
+ // Error: invalid operands `mthi $ac0,$12'
//{"mips", "mips32r2dsp-fp", "", []string{"mips"}},
//{"mips", "mips32r2dspr2-fp", "", []string{"mips"}},
// mips64r2 is mismatching 64r2 and 64r6 libraries during linking to libgcc