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
diff --git a/common/arch.go b/common/arch.go
index 70ac85c..08c570e 100644
--- a/common/arch.go
+++ b/common/arch.go
@@ -920,14 +920,14 @@
 		{"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