Gentoo Archives: gentoo-user

From: Chris Brennan <xaero@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Detecting 64 bit Intel chips
Date: Wed, 05 Mar 2008 19:01:09
Message-Id: 47CEEDE8.5010404@xaerolimit.net
In Reply to: Re: [gentoo-user] Detecting 64 bit Intel chips by Uwe Thiem
1 from what you pasted, you have a 32bit cpu. But you have a flag I do as
2 well, and that is 'ht'. Hyper-Threading is a whole different beast I
3 know very little about, it's more of an Intel thing for there first
4 generation dual-core cpu's.
5
6 Uwe Thiem wrote:
7 > On Wednesday 05 March 2008, Chris Brennan wrote:
8 >> Here is the output of my cpuinfo, I'll point out where it will mean
9 >> 64bit. For the sake of this demonstration, I have only pasted one
10 >> (1) CPU.
11 >>
12 >> xaero@Leviathan ~ $ cat /proc/cpuinfo
13 >> processor : 0
14 >> vendor_id : AuthenticAMD
15 >> cpu family : 15
16 >> model : 75
17 >> model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ <--
18 >> Here will be your first indication. 64 bit processors, weather they
19 >> are SPARC, AMD or intel, must identify themselves clearly in the
20 >> model name field.
21 >> stepping : 2
22 >> cpu MHz : 1000.000 <-- forgive this, my cpu's are idle at the
23 >> moment and speedstep droped me down for the moment.
24 >> cache size : 512 KB
25 >> physical id : 0
26 >> siblings : 2
27 >> core id : 0
28 >> cpu cores : 2 <-- If you are a multi-core CPU, this will tell you
29 >> how many cores per processor. All cores are identical, so if you
30 >> have a 64-bit Dual/Quad-Core CPU, then all cores are 64bit.
31 >> fpu : yes
32 >> fpu_exception : yes
33 >> cpuid level : 1
34 >> wp : yes
35 >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
36 >> cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
37 >> fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm
38 >> cmp_legacy svm extapic cr8_legacy <-- you can look for flags that
39 >> may give away 64bit, such as lahf_lm, lm and nx.
40 >> bogomips : 2010.67
41 >> TLB size : 1024 4K pages
42 >> clflush size : 64
43 >> cache_alignment : 64
44 >> address sizes : 40 bits physical, 48 bits virtual
45 >> power management: ts fid vid ttp tm stc
46 >
47 > I am a bit confused now. I always thought my CPU was 32bit. Here are
48 > the relevant two lines from my /proc/cpuinfo:
49 >
50 > model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
51 > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
52 > mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
53 > lm constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl cid cx16 xtpr
54 > lahf_lm
55 >
56 > So the model name does not indicate anything 64bit while the flags
57 > contain lm, nx and lahf_lm.
58 >
59 > What gives?
60 >
61 > Uwe
62 >
63 --
64 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Detecting 64 bit Intel chips Alan McKinnon <alan.mckinnon@×××××.com>