Re: FW: 64 bit or 32 bit

Glynn Clements <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
Carsten Aulbert wrote:

> > There may be similar information elsewhere in /proc; I don't know what
> > /proc/cpuinfo says for 64-bit architectures.
> 
> Not much I fear:
> 
> This is a 32bit Centrino:

> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up est tm2

> This a 64bit Athlon:

> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
> fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy

> This a 64bit Opteron:

> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
> fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy

I think that "lm" might be relevant; this corresponds to the following
flag in <asm/cpufeature.h>:

#define X86_FEATURE_LM		(1*32+29) /* Long Mode (x86-64) */

It's considered an AMD flag, so I don't know if it will be present on
an ia64 system.

-- 
Glynn Clements <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.