From 99dbc539d5ce9a0b119e7b59ed943c129f617ec0 Mon Sep 17 00:00:00 2001 From: Robert Spalek Date: Sat, 19 Jul 2008 18:51:29 -0700 Subject: [PATCH] autoconf.cfg: recognize correctly quad-core models of Intel Xeon cpus --- lib/autoconf.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/autoconf.cfg b/lib/autoconf.cfg index b0e3c536..161da3c0 100644 --- a/lib/autoconf.cfg +++ b/lib/autoconf.cfg @@ -111,7 +111,8 @@ Test("CPU_ARCH", "Checking for CPU architecture", sub { elsif ($model >= 3) { $arch = "prescott"; } else { $arch = "pentium4"; } } elsif ($family == 6 && $gccver >= 3003) { - if ($model == 15) { $arch = "prescott"; } + if ($model == 23) { $arch = "nocona"; } + elsif ($model == 15) { $arch = "prescott"; } elsif (($model == 9 || $model == 13) && $gccver >= 3004) { $arch = "pentium-m"; } elsif ($model >= 7) { $arch = "pentium3"; } elsif ($model >= 3) { $arch = "pentium2"; } -- 2.39.5