r45950 - in /packages/gmp/trunk/debian: changelog patches/preserve-ia64-registers.patch patches/series rules

smr at users.alioth.debian.org smr at users.alioth.debian.org
Fri May 24 04:44:51 UTC 2013


Author: smr
Date: Fri May 24 04:44:49 2013
New Revision: 45950

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45950
Log:
New upstream, plus patch to preserve ia64 registers.

Added:
    packages/gmp/trunk/debian/patches/preserve-ia64-registers.patch
Modified:
    packages/gmp/trunk/debian/changelog
    packages/gmp/trunk/debian/patches/series
    packages/gmp/trunk/debian/rules

Modified: packages/gmp/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/gmp/trunk/debian/changelog?rev=45950&op=diff
==============================================================================
--- packages/gmp/trunk/debian/changelog (original)
+++ packages/gmp/trunk/debian/changelog Fri May 24 04:44:49 2013
@@ -1,3 +1,13 @@
+gmp (2:5.1.2+dfsg-1) unstable; urgency=low
+
+  * New upstream.
+    - reduced SQR_TOOM2_THRESHOLD to 30.  Closes: #706984.
+  
+  * patches/preserve-ia64-registers.patch: New.  Upstream patch to
+    preserve registers.  Closes: #708264.
+
+ -- Steve M. Robbins <smr at debian.org>  Thu, 23 May 2013 23:23:44 -0500
+
 gmp (2:5.1.1+dfsg-3) unstable; urgency=low
 
   * Upload to unstable.

Added: packages/gmp/trunk/debian/patches/preserve-ia64-registers.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/gmp/trunk/debian/patches/preserve-ia64-registers.patch?rev=45950&op=file
==============================================================================
--- packages/gmp/trunk/debian/patches/preserve-ia64-registers.patch (added)
+++ packages/gmp/trunk/debian/patches/preserve-ia64-registers.patch Fri May 24 04:44:49 2013
@@ -1,0 +1,75 @@
+Patch taken from upstream repository
+http://gmplib.org:8000/gmp-5.1/rev/394bdf8fdaee
+
+# HG changeset patch
+# User Torbjorn Granlund <tege at gmplib.org>
+# Date 1369216954 -7200
+# Node ID 394bdf8fdaee749660cc5680cc0636ea0242fae7
+# Parent  0771124b9f13b218a3f07f7dd7c127961974489d
+Don't clobber f16-f18.
+
+diff -r 0771124b9f13 -r 394bdf8fdaee mpn/ia64/divrem_2.asm
+--- a/mpn/ia64/divrem_2.asm	Mon May 20 16:56:05 2013 +0200
++++ b/mpn/ia64/divrem_2.asm	Wed May 22 12:02:34 2013 +0200
+@@ -1,6 +1,6 @@
+ dnl  IA-64 mpn_divrem_2 -- Divide an mpn number by a normalized 2-limb number.
+ 
+-dnl  Copyright 2010 Free Software Foundation, Inc.
++dnl  Copyright 2010, 2013 Free Software Foundation, Inc.
+ 
+ dnl  This file is part of the GNU MP Library.
+ 
+@@ -98,17 +98,17 @@
+ 	br.call.sptk.many b0 = mpn_invert_limb
+ 	;;
+ 	setf.sig f11 = r8		// di (non-final)
+-	setf.sig f18 = r39		// d1
+-	setf.sig f17 = r36		// d0
++	setf.sig f34 = r39		// d1
++	setf.sig f33 = r36		// d0
+ 	mov	 r1 = r43
+ 	;;
+ 	mov	 r17 = 1
+ 	setf.sig f9 = r38		// n2
+-	xma.l	 f6 = f11, f18, f0	// t0 = LO(di * d1)
++	xma.l	 f6 = f11, f34, f0	// t0 = LO(di * d1)
+ 	;;
+ 	setf.sig f10 = r37		// n1
+ 	setf.sig f15 = r17		// 1
+-	xma.hu	 f8 = f11, f17, f0	// s0 = HI(di * d0)
++	xma.hu	 f8 = f11, f33, f0	// s0 = HI(di * d0)
+ 	;;
+ 	getf.sig r17 = f6
+ 	getf.sig r16 = f8
+@@ -178,7 +178,7 @@
+   (p9)	br.cond.dptk .L52
+ .L46:
+ ')
+-	setf.sig f16 = r8		// di
++	setf.sig f32 = r8		// di
+ 	shladd	 r32 = r35, 3, r32
+ 	;;
+ 
+@@ -189,8 +189,8 @@
+ 	;;
+  (p8)	mov	 r37 = r0
+  (p9)	ld8	 r37 = [r34], -8
+-	xma.hu	 f8 = f9, f16, f10	//				0,29
+-	xma.l	 f12 = f9, f16, f10	//				0
++	xma.hu	 f8 = f9, f32, f10	//				0,29
++	xma.l	 f12 = f9, f32, f10	//				0
+ 	;;
+ 	getf.sig r20 = f12		// q0				4
+ 	xma.l	 f13 = f15, f8, f9	// q += n2			4
+@@ -198,8 +198,8 @@
+ 	;;
+ 	getf.sig r18 = f13		//				8
+ 	xma.l	 f7 = f14, f13, f10	//				8
+-	xma.l	 f6 = f17, f13, f17	// t0 = LO(d0*q+d0)		8
+-	xma.hu	 f9 = f17, f13, f17	// t1 = HI(d0*q+d0)		9
++	xma.l	 f6 = f33, f13, f33	// t0 = LO(d0*q+d0)		8
++	xma.hu	 f9 = f33, f13, f33	// t1 = HI(d0*q+d0)		9
+ 	;;
+ 	getf.sig r38 = f7		// n1				12
+ 	getf.sig r16 = f6		//				13
+

Modified: packages/gmp/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/gmp/trunk/debian/patches/series?rev=45950&op=diff
==============================================================================
--- packages/gmp/trunk/debian/patches/series (original)
+++ packages/gmp/trunk/debian/patches/series Fri May 24 04:44:49 2013
@@ -1,1 +1,1 @@
-# None at present
+preserve-ia64-registers.patch

Modified: packages/gmp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/gmp/trunk/debian/rules?rev=45950&op=diff
==============================================================================
--- packages/gmp/trunk/debian/rules (original)
+++ packages/gmp/trunk/debian/rules Fri May 24 04:44:49 2013
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-ORIG_SRC_VERSION = 5.1.1
+ORIG_SRC_VERSION = 5.1.2
 
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk




More information about the debian-science-commits mailing list