Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2001 09:34:14 -0700 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cameron grant <gandalf@vilnya.demon.co.uk>
Cc:        freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, jerry@thehutt.org, peter@wemm.org, clefevre@citeweb.net, sobomax@FreeBSD.org
Subject:   Re: adding athlon xp to bsd.cpu.mk
Message-ID:  <XFMail.011028093414.jhb@FreeBSD.org>
In-Reply-To: <006101c15fb9$ac5d03d0$0504020a@haveblue>

next in thread | previous in thread | raw e-mail | index | archive | help

On 28-Oct-01 cameron grant wrote:
>> What about new Durons based on the Palomino core? The problem is
>> that as far as I know they have nothing in their name (like XP in
>> Athlon's case) that distinguishes them from older Durons based on
>> the Thunderbird core, while they do support SSE in addition to
>> 3DNow and MMX. Perhaps it would be better to introduce new variable
>> CPUCORE, so the user could use something like the following:
> 
> from what i can see, identcpu.c fetches the cpu name using a cpuid
> instruction.

The part cpuid gives you is "AuthenticAMD".
The fancy name is determined by switching on the Id.

> my system with dual 1.1ghz durons identifies as:
> 
> CPU: AMD Duron(tm) MP Processor (1110.94-MHz 686-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x670  Stepping = 0
> 
> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
> CMOV,PAT,PSE36,MMX,FXSR,SSE>
>   AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
> 
> the entire "AMD Duron(tm) MP Processor" string appears to originate from the
> cpu, so i would suggest that the processor is named duron mp.  the ident
> string does not change when booting a non-smp kernel, so unless the cpu is
> detecting the chipset as dual cpu or the bios is reprogramming the cpu, that
> is actually what amd have named the 1.0+ghz durons.
> 
>     -cg
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011028093414.jhb>