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

2005-02-19 Thread Paul Brook
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



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

2005-02-19 Thread Jérôme Warnier
Le samedi 05 février 2005 à 02:23 +, Paul Brook a écrit :
> On Saturday 05 February 2005 02:00, Jérôme Warnier wrote:
> > Is there a way to figure, on a running system, if the processor features
> > the EM64T extensions?
> 
> uname -m tells you if you're running an x86-64 kernel.
I don't want to know things about the system (the system in a x86 32bits
Debian), but about the actual CPU in the machine.

> 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.

> Paul




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

2005-02-04 Thread Paul Brook
On Saturday 05 February 2005 02:00, Jérôme Warnier wrote:
> Is there a way to figure, on a running system, if the processor features
> the EM64T extensions?

uname -m tells you if you're running an x86-64 kernel.

The "lm" flag in /proc/cpuinfo tells you if the cpu is 64-bit (long mode) 
capable.

Paul



How to recognize an Intel with EM64T extensions enabled?

2005-02-04 Thread Jérôme Warnier
Is there a way to figure, on a running system, if the processor features
the EM64T extensions?

In /proc/cpuinfo maybe?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]