How to identify 32 or 64 bits -

Bob Goodwin bobgoodwin at wildblue.net
Thu Dec 17 14:08:42 UTC 2009


On 17/12/09 08:56, Bryn M. Reeves wrote:
> On Thu, 2009-12-17 at 13:48 +0000, Patrick O'Callaghan wrote:
>    
>> bash-4.0$ grep lm /proc/cpuinfo
>> flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm
>> flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm
>> bash-4.0$
>>
>> (the lahf_lm flag matches, though I've no idea what it means).
>>      
> arch/x86/include/asm/cpufeature.h says it indicates whether the
> LAHF/SAHF (load status flags to AH /save AH to status flags)
> instructions are available in long mode.
>
> I'm not sure what it implies if you have lahf_lm but not lm!
>
> Regards,
> Bryn.
>
>
>    

    Good!  Thanks to all who responded, this has been educational and
    worth the bandwidth expended to me ... So much to know, so little
    time to learn!

    Bob





More information about the fedora-list mailing list