Bug#789612:
YunQiang Su <[email protected]>
| Newsgroups | gmane.linux.debian.ports.mips |
|---|---|
| Message-ID | <CAKcpw6WbOigfGhDoYOt=goSc+ZpSbZiJorsPg3fR0KAdLJfOAQ__16030.2125303589$1434991544$gmane$org@mail.gmail.com> |
Package: gcc-5 Version: 5.1.1-11 X-Debbugs-CC: [email protected], [email protected], [email protected], [email protected] We are proposed to configure gcc with --with-fp-32=xx option for mips O32 ABI. The three primary reasons for extending the current O32 ABI are the introduction of the MSA ASE, the desire to exploit the FR=1 mode of current FPUs and the new MIPS32r6 architecture revision which only supports the ‘FR=1’ mode. A modeless O32 ABI extension will be defined to allow code to run on MIPS processor in either FR=0 or FR=1 mode. This ABI extension is referred to as O32 FPXX ABI. For more details about FR mode, please see: https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking -- YunQiang Su
0001-gcc-5-mips-32-fpxx.patch
(application/octet-stream, 2.7 KB)
From 3741e0583f1791d91ad7109e7a88f22555988398 Mon Sep 17 00:00:00 2001 From: root <[email protected]> Date: Thu, 18 Jun 2015 12:11:17 +0000 Subject: [PATCH 1/2] gcc-5 mips 32 fpxx --- debian/rules2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/rules2 b/debian/rules2 index 0a548c7..6a052db 100644 --- a/debian/rules2 +++ b/debian/rules2 @@ -567,7 +567,7 @@ ifneq (,$(filter $(DEB_TARGET_ARCH), amd64 i386 hurd-i386 kfreebsd-i386 kfreebsd endif ifneq (,$(findstring mips-linux,$(DEB_TARGET_GNU_TYPE))) - CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 + CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx ifeq ($(multilib),yes) ifeq ($(biarchn32)-$(biarch64),yes-yes) CONFARGS += --enable-targets=all @@ -577,7 +577,7 @@ ifneq (,$(findstring mips-linux,$(DEB_TARGET_GNU_TYPE))) endif ifneq (,$(findstring mipsel-linux,$(DEB_TARGET_GNU_TYPE))) - CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 + CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx ifeq ($(multilib),yes) ifeq ($(biarchn32)-$(biarch64),yes-yes) CONFARGS += --enable-targets=all @@ -593,7 +593,7 @@ ifneq (,$(findstring mips64el-linux-gnuabin32,$(DEB_TARGET_GNU_TYPE))) ifeq ($(biarchn32)-$(biarch32),yes-yes) CONFARGS += --enable-targets=all CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64 - CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 + CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx endif endif endif @@ -604,7 +604,7 @@ ifneq (,$(findstring mips64-linux-gnuabin32,$(DEB_TARGET_GNU_TYPE))) ifeq ($(biarchn32)-$(biarch32),yes-yes) CONFARGS += --enable-targets=all CONFARGS += --with-arch-64=mips3 --with-tune-64=mips64 - CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 + CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx endif endif endif @@ -615,7 +615,7 @@ ifneq (,$(findstring mips64el-linux-gnuabi64,$(DEB_TARGET_GNU_TYPE))) ifeq ($(multilib),yes) ifeq ($(biarchn32)-$(biarch32),yes-yes) CONFARGS += --enable-targets=all - CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 + CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx endif endif endif @@ -626,7 +626,7 @@ ifneq (,$(findstring mips64-linux-gnuabi64,$(DEB_TARGET_GNU_TYPE))) ifeq ($(multilib),yes) ifeq ($(biarchn32)-$(biarch32),yes-yes) CONFARGS += --enable-targets=all - CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 + CONFARGS += --with-arch-32=mips2 --with-tune-32=mips32 --with-fp-32=xx endif endif endif -- 2.1.4