aboutsummaryrefslogtreecommitdiffstats
path: root/math/atlas/files/patch-mmsearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/atlas/files/patch-mmsearch.c')
-rw-r--r--math/atlas/files/patch-mmsearch.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/atlas/files/patch-mmsearch.c b/math/atlas/files/patch-mmsearch.c
new file mode 100644
index 00000000000..eb91fa7af5b
--- /dev/null
+++ b/math/atlas/files/patch-mmsearch.c
@@ -0,0 +1,16 @@
+http://math-atlas.sourceforge.net/errata.html
+Misdetection of nregs causes some x86 installs to go awry.
+
+--- tune/blas/gemm/mmsearch.c Mon Dec 22 09:11:57 2003
++++ tune/blas/gemm/mmsearch.c Wed Mar 7 02:42:27 2007
+@@ -822,6 +822,10 @@
+ int lat, NO1D=0;
+ double mf0, mf1, mf;
+
++ #if defined(ATL_GAS_x8632) || defined(ATL_GAS_x8664)
++ return(0);
++ #endif
++
+ if (pre == 'z') pre = 'd';
+ else if (pre == 'c') pre = 's';
+