diff options
author | Maho Nakata <maho@FreeBSD.org> | 2005-06-28 04:45:59 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2005-06-28 04:45:59 +0000 |
commit | 852063c6cd1760b68a390eab2f8392fedbf4129c (patch) | |
tree | b5834019f6149d770149d243f5cb594bc3590379 /math/atlas | |
parent | 840364f4eb7ffbbb98ba01c514d0a09622ce066e (diff) | |
download | ports-852063c6cd1760b68a390eab2f8392fedbf4129c.tar.gz ports-852063c6cd1760b68a390eab2f8392fedbf4129c.zip |
Notes
Diffstat (limited to 'math/atlas')
-rw-r--r-- | math/atlas/files/patch-tune+sysinfo+L1CacheSize.c | 20 | ||||
-rw-r--r-- | math/atlas/files/patch-tune+sysinfo+getSysSum.c | 12 |
2 files changed, 32 insertions, 0 deletions
diff --git a/math/atlas/files/patch-tune+sysinfo+L1CacheSize.c b/math/atlas/files/patch-tune+sysinfo+L1CacheSize.c new file mode 100644 index 000000000000..2028b4ae92b8 --- /dev/null +++ b/math/atlas/files/patch-tune+sysinfo+L1CacheSize.c @@ -0,0 +1,20 @@ +--- tune/sysinfo/L1CacheSize.c Mon Dec 22 23:11:53 2003 ++++ ../../L1CacheSize.c Tue Jun 28 13:37:10 2005 +@@ -31,7 +31,7 @@ + #include <stdio.h> + #include <stdlib.h> + +-#define REPS 4096 ++#define REPS 12288 + + #ifndef time00 + #define time00 ATL_cputime +@@ -134,7 +134,7 @@ + + main(int nargs, char *args[]) + { +- int L1Size, tmp, MaxSize=64, correct=1; ++ int L1Size, tmp, MaxSize=256, correct=1; + FILE *L1f; + + if (nargs > 2) diff --git a/math/atlas/files/patch-tune+sysinfo+getSysSum.c b/math/atlas/files/patch-tune+sysinfo+getSysSum.c new file mode 100644 index 000000000000..5113e28405ab --- /dev/null +++ b/math/atlas/files/patch-tune+sysinfo+getSysSum.c @@ -0,0 +1,12 @@ +http://math-atlas.sourceforge.net/errata.html#tol +--- tune/sysinfo/GetSysSum.c~ Sat Jul 24 20:40:05 2004 ++++ tune/sysinfo/GetSysSum.c Sun Jun 26 07:52:43 2005 +@@ -116,7 +116,7 @@ + fprintf(fpout, "#define ATL_fplat %d\n", lat); + fprintf(fpout, "#define ATL_lbnreg %d\n", lbnreg); + fprintf(fpout, "#define ATL_mmnreg %d\n", mmnreg); +- fprintf(fpout, "#define ATL_nkflop %d\n", nkflop); ++ fprintf(fpout, "#define ATL_nkflop %d\n", nkflop*5); + fprintf(fpout, "\n#endif\n"); + fclose(fpout); + } |