[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#742617: Please downgrade optimize for mips64/n32 to mips3/mips64(32)



Package: gcc-4.9
Version: 4.9-20140322-1

Hi,
After talk with lots of mips folks, now I believe that compatible is
quilt import even more than some performance improve.

diff -ur gcc-4.9-4.9-20140322/debian/rules2
gcc-4.9-4.9-20140322-new/debian/rules2

--- gcc-4.9-4.9-20140322/debian/rules2  2014-03-25 12:55:13.000000000 +0000
+++ gcc-4.9-4.9-20140322-new/debian/rules2      2014-03-25
12:57:57.425930186 +0000
@@ -552,8 +552,8 @@
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all
-      CONFARGS += --with-arch-64=mips64r2 --with-tune-64=loongson3a
-      CONFARGS += --with-arch-32=mips32 --with-tune-32=mips32r2
+      CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
+      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32
     endif
   endif
 endif
@@ -563,15 +563,15 @@
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all
-      CONFARGS += --with-arch-64=mips64r2 --with-tune-64=octeon+
-      CONFARGS += --with-arch-32=mips32 --with-tune-32=mips32r2
+      CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
+      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32
     endif
   endif
 endif

 ifneq (,$(findstring mips64el-linux-gnuabi64,$(DEB_TARGET_GNU_TYPE)))
   CONFARGS += --with-mips-plt
-  CONFARGS += --with-arch-64=mips64r2 --with-tune-64=loongson3a
+  CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all
@@ -582,7 +582,7 @@

 ifneq (,$(findstring mips64-linux-gnuabi64,$(DEB_TARGET_GNU_TYPE)))
   CONFARGS += --with-mips-plt
-  CONFARGS += --with-arch-64=mips64r2 --with-tune-64=octeon+
+  CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all


-- 
Yunqiang Su
diff -ur gcc-4.9-4.9-20140322/debian/rules2 gcc-4.9-4.9-20140322-new/debian/rules2
--- gcc-4.9-4.9-20140322/debian/rules2  2014-03-25 12:55:13.000000000 +0000
+++ gcc-4.9-4.9-20140322-new/debian/rules2      2014-03-25 12:57:57.425930186 +0000
@@ -552,8 +552,8 @@
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all
-      CONFARGS += --with-arch-64=mips64r2 --with-tune-64=loongson3a
-      CONFARGS += --with-arch-32=mips32 --with-tune-32=mips32r2
+      CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
+      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32
     endif
   endif
 endif
@@ -563,15 +563,15 @@
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all
-      CONFARGS += --with-arch-64=mips64r2 --with-tune-64=octeon+
-      CONFARGS += --with-arch-32=mips32 --with-tune-32=mips32r2
+      CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
+      CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32
     endif
   endif
 endif

 ifneq (,$(findstring mips64el-linux-gnuabi64,$(DEB_TARGET_GNU_TYPE)))
   CONFARGS += --with-mips-plt
-  CONFARGS += --with-arch-64=mips64r2 --with-tune-64=loongson3a
+  CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all
@@ -582,7 +582,7 @@

 ifneq (,$(findstring mips64-linux-gnuabi64,$(DEB_TARGET_GNU_TYPE)))
   CONFARGS += --with-mips-plt
-  CONFARGS += --with-arch-64=mips64r2 --with-tune-64=octeon+
+  CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64
   ifeq ($(multilib),yes)
     ifeq ($(biarchn32)-$(biarch32),yes-yes)
       CONFARGS += --enable-targets=all

Reply to: