[med-svn] r3683 - in trunk/packages/insighttoolkit/trunk/debian: . patches

Steven Michael Robbins smr at alioth.debian.org
Wed Jul 22 06:14:11 UTC 2009


Author: smr
Date: 2009-07-22 06:14:10 +0000 (Wed, 22 Jul 2009)
New Revision: 3683

Added:
   trunk/packages/insighttoolkit/trunk/debian/patches/vnl-math-asm.patch
Modified:
   trunk/packages/insighttoolkit/trunk/debian/changelog
   trunk/packages/insighttoolkit/trunk/debian/patches/series
Log:
Use assembly implementation of rounding code only on ix86 machines.

Modified: trunk/packages/insighttoolkit/trunk/debian/changelog
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/changelog	2009-07-21 22:03:26 UTC (rev 3682)
+++ trunk/packages/insighttoolkit/trunk/debian/changelog	2009-07-22 06:14:10 UTC (rev 3683)
@@ -1,3 +1,11 @@
+insighttoolkit (3.14.0-2) unstable; urgency=low
+
+  * patches/vnl-math-asm.patch: New.  Enable assembly implementation of
+    rounding only on i386 and amd64, as it seems to be x86-specific
+    assembly code.
+
+ -- Steve M. Robbins <smr at debian.org>  Wed, 22 Jul 2009 01:13:00 -0500
+
 insighttoolkit (3.14.0-1) unstable; urgency=low
 
   * New upstream.

Modified: trunk/packages/insighttoolkit/trunk/debian/patches/series
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/patches/series	2009-07-21 22:03:26 UTC (rev 3682)
+++ trunk/packages/insighttoolkit/trunk/debian/patches/series	2009-07-22 06:14:10 UTC (rev 3683)
@@ -1,3 +1,4 @@
+vnl-math-asm.patch
 sharedforward.patch
 gccxml-workaround.patch
 03_examples.patch

Added: trunk/packages/insighttoolkit/trunk/debian/patches/vnl-math-asm.patch
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/patches/vnl-math-asm.patch	                        (rev 0)
+++ trunk/packages/insighttoolkit/trunk/debian/patches/vnl-math-asm.patch	2009-07-22 06:14:10 UTC (rev 3683)
@@ -0,0 +1,11 @@
+--- insighttoolkit-3.14.0.orig/Utilities/vxl/core/vnl/vnl_math.h
++++ insighttoolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h
+@@ -56,7 +56,7 @@
+ #endif
+ // Turn on fast impl when using GCC with the following exception:
+ //   GCCXML, PPC, PPC64
+-#if defined(__GNUC__) && (!defined(__GCCXML__)) && (!defined(__ppc__)) && (!defined(__ppc64__))
++#if defined(__GNUC__) && (!defined(__GCCXML__)) && (defined(__i386__) || defined(__amd64__))
+ # define GCC_USE_FAST_IMPL 1
+ #else
+ # define GCC_USE_FAST_IMPL 0




More information about the debian-med-commit mailing list