r45553 - /packages/openblas/trunk/debian/patches/gemv_crash_big_data.diff

sebastien at users.alioth.debian.org sebastien at users.alioth.debian.org
Thu Jan 31 14:14:36 UTC 2013


Author: sebastien
Date: Thu Jan 31 14:14:36 2013
New Revision: 45553

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45553
Log:
gemv_crash_big_data.diff: incorporate new upstream bugfix

Modified:
    packages/openblas/trunk/debian/patches/gemv_crash_big_data.diff

Modified: packages/openblas/trunk/debian/patches/gemv_crash_big_data.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/trunk/debian/patches/gemv_crash_big_data.diff?rev=45553&op=diff
==============================================================================
--- packages/openblas/trunk/debian/patches/gemv_crash_big_data.diff (original)
+++ packages/openblas/trunk/debian/patches/gemv_crash_big_data.diff Thu Jan 31 14:14:36 2013
@@ -5,10 +5,11 @@
         https://github.com/xianyi/OpenBLAS/commit/69200884e13e98b79487cfd1c78faf054278ec2f
         https://github.com/xianyi/OpenBLAS/commit/5f0117385e1d4f986ad75fa66b873b014a7792c2
         https://github.com/xianyi/OpenBLAS/commit/cea1a885b5cd38bea67feb6437ef0c3622a96c58
+        https://github.com/xianyi/OpenBLAS/commit/0b08f7479e26ce0ef8e076185bb89f16479335e9
 Bug: https://github.com/xianyi/OpenBLAS/issues/154
      https://github.com/xianyi/OpenBLAS/issues/173
 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697231
-Last-Update: 2013-01-04
+Last-Update: 2013-01-31
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/kernel/x86/gemv_t_sse.S
@@ -56,7 +57,7 @@
  	pushl	%ebp
  	pushl	%edi
  	pushl	%esi
-@@ -122,7 +130,40 @@
+@@ -122,7 +130,42 @@
  	PROFCODE
  
  	movl	STACK_LDA,  LDA
@@ -72,7 +73,9 @@
 +.L0t:
 +	xorl	J,J
 +	addl	$1,J
-+	sall	$21,J				# J=2^22
++	sall    $22,J                           # J=2^24*sizeof(float)=buffer size(16MB)
++	subl    $8, J                           # Don't use last 8 float in the buffer.
++	                                        # Now, split M by block J
 +	subl	J,MMM				# MMM=MMM-J
 +	movl	J,M		
 +	jge		.L00t
@@ -97,7 +100,7 @@
  	movl	STACK_INCX, INCX
  	movl	STACK_INCY, INCY
  
-@@ -642,10 +683,22 @@
+@@ -642,10 +685,22 @@
  	ALIGN_4
   	
  .L999:
@@ -167,7 +170,7 @@
  	pushl	%ebp
  	pushl	%edi
  	pushl	%esi
-@@ -108,7 +116,38 @@
+@@ -108,7 +116,40 @@
  
  	PROFCODE
  
@@ -183,7 +186,9 @@
 +.L0t:
 +	xorl	J,J
 +	addl	$1,J
-+	sall	$22,J				# J=2^22
++	sall    $21,J                           # J=2^21*sizeof(double)=buffer size(16MB)
++	subl    $4, J                           # Don't use last 4 double in the buffer.
++	                                        # Now, split M by block J
 +	subl	J,MMM				# MMM=MMM-J
 +	movl	J,M		
 +	jge		.L00t
@@ -206,7 +211,7 @@
  	movl	STACK_X,    X
  	movl	STACK_INCX, INCX
  	movl	STACK_INCY, INCY
-@@ -117,6 +156,7 @@
+@@ -117,6 +158,7 @@
  	leal	(,INCY, SIZE), INCY
  	leal	(,LDA,  SIZE), LDA
  
@@ -214,7 +219,7 @@
  	subl	$-16 * SIZE, A
  
  	cmpl	$0, N
-@@ -560,10 +600,19 @@
+@@ -560,10 +602,19 @@
  	ALIGN_4
  	
  .L999:




More information about the debian-science-commits mailing list