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

[glibc] 01/01: debian/sysdeps/mips64el.mk: change the ISA back to MIPS3 to fix math FMA tests on some CPUs.



This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch glibc-2.23
in repository glibc.

commit 2ca99992bf3802649ea03121b56ab34e6f890bb2
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Tue Jun 28 00:41:15 2016 +0200

    debian/sysdeps/mips64el.mk: change the ISA back to MIPS3 to fix math FMA tests on some CPUs.
---
 debian/changelog           | 2 ++
 debian/sysdeps/mips64el.mk | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f6bb1a3..0e191c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ glibc (2.23-0experimental3) UNRELEASED; urgency=medium
   * debian/rules.d/build.mk: reduce TIMEOUTFACTOR to 15 from 50. That
     corresponds to a 5 minutes default, which should be more than enough even
     on slow architectures.
+  * debian/sysdeps/mips64el.mk: change the ISA back to MIPS3 to fix math FMA
+    tests on some CPUs.
 
  -- Aurelien Jarno <aurel32@debian.org>  Thu, 14 Apr 2016 15:08:27 +0200
 
diff --git a/debian/sysdeps/mips64el.mk b/debian/sysdeps/mips64el.mk
index b46ba29..359d981 100644
--- a/debian/sysdeps/mips64el.mk
+++ b/debian/sysdeps/mips64el.mk
@@ -3,16 +3,16 @@ extra_cflags = -mno-plt
 
 # main library
 libc_rtlddir = /lib64
-libc_CC = $(CC) -march=mips64 -mtune=mips64r2
-libc_CXX = $(CXX) -march=mips64 -mtune=mips64r2
+libc_CC = $(CC) -march=mips3 -mtune=mips64r2
+libc_CXX = $(CXX) -march=mips3 -mtune=mips64r2
 
 # build 32-bit (n32) alternative library
 GLIBC_MULTILIB_PASSES += mipsn32
 DEB_ARCH_MULTILIB_PACKAGES += libc6-mipsn32 libc6-dev-mipsn32
 libc6-mipsn32_shlib_dep = libc6-mipsn32 (>= $(shlib_dep_ver))
 mipsn32_configure_target = mips64el-linux-gnuabin32
-mipsn32_CC = $(CC) -mabi=n32 -march=mips64 -mtune=mips64r2
-mipsn32_CXX = $(CXX) -mabi=n32 -march=mips64 -mtune=mips64r2
+mipsn32_CC = $(CC) -mabi=n32 -march=mips3 -mtune=mips64r2
+mipsn32_CXX = $(CXX) -mabi=n32 -march=mips3 -mtune=mips64r2
 mipsn32_rtlddir = /lib32
 mipsn32_slibdir = /lib32
 mipsn32_libdir = /usr/lib32

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git


Reply to: