[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to recognize an Intel with EM64T extensions enabled?



On Saturday 19 February 2005 17:44, Jérôme Warnier wrote:
> > The "lm" flag in /proc/cpuinfo tells you if the cpu is 64-bit (long mode)
> > capable.
>
> I guess it won't work if the kernel is not already compiled for x86-64.

This does work on 32-bit i386 kernels (I checked). The kernel is just 
reporting the result of the cpuid instruction.
It might not work if you kernel is really old, ie. it predates amd64 cpus.

Paul



Reply to: