From 1d828db5a9f64dc5afcf8d9e1b436e2c298303a0 Mon Sep 17 00:00:00 2001 From: maho Date: Sun, 30 Oct 2005 08:00:58 +0000 Subject: Add cputype of sempron; athlon type CPU Submitted by: Pedro A M Vazquez --- math/atlas/files/patch-config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'math') 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; -- cgit