diff options
author | maho <maho@FreeBSD.org> | 2005-10-30 16:00:58 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2005-10-30 16:00:58 +0800 |
commit | 1d828db5a9f64dc5afcf8d9e1b436e2c298303a0 (patch) | |
tree | c5aa94230e60e8412d2d65b1063640b39a2f7bf5 /math | |
parent | 137acfa4dacf8f019408c8bc07fd6cf4ae1e4634 (diff) | |
download | freebsd-ports-gnome-1d828db5a9f64dc5afcf8d9e1b436e2c298303a0.tar.gz freebsd-ports-gnome-1d828db5a9f64dc5afcf8d9e1b436e2c298303a0.tar.zst freebsd-ports-gnome-1d828db5a9f64dc5afcf8d9e1b436e2c298303a0.zip |
Add cputype of sempron; athlon type CPU
Submitted by: Pedro A M Vazquez <vazquez@iqm.unicamp.br>
Diffstat (limited to 'math')
-rw-r--r-- | math/atlas/files/patch-config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/math/atlas/files/patch-config.c b/math/atlas/files/patch-config.c index 455f38f38d0a..3ac9303830e7 100644 --- a/math/atlas/files/patch-config.c +++ b/math/atlas/files/patch-config.c @@ -94,7 +94,7 @@ } break; case LAIA64: /* don't know */ -@@ -2849,14 +2863,32 @@ +@@ -2849,14 +2863,33 @@ if (!CmndOneLine(targ, "sysctl hw.model", ln)) { if (strstr(ln, "Pentium Pro")) mach = IntPPRO; @@ -115,6 +115,7 @@ + else if (strstr(ln, "Opteron(tm)") && sizeof(void *)==8) mach = AmdHammer64; + else if (strstr(ln, "AMD Athlon(tm) 64") && sizeof(void *)==4) mach = AmdHammer32; + else if (strstr(ln, "AMD Athlon(tm) 64") && sizeof(void *)==8) mach = AmdHammer64; ++ else if (strstr(ln, "Sempron(tm)")) mach = AmdAthlon; + else if (strstr(ln, "Athlon(tm)")) mach = AmdAthlon; else if (strstr(ln, "Athlon")) mach = AmdAthlon; else if (strstr(ln, "AMD-K7")) mach = AmdAthlon; |