LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Thread Tools
Old 11-07-2009, 02:20 PM   #1
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 457
Thanked: 4
/proc/cpuinfo question


[Log in to get rid of this advertisement]
how do I translate the flags line in /proc/cpuinfo into instructions that will run on my cpu
where can I get this info
I have been looking at the /usr/src/linux-2.6.29.6/arch/x86/include/asm/cpufeature.h file but it's not vary helpful
linux rob.rice is offline     Reply With Quote
Old 11-08-2009, 08:46 AM   #2
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Etch/Lenny/Squeeze
Posts: 2,301
Thanked: 89
http://blog.incase.de/index.php/cpu-...heir-meanings/

Is this something you could use?

jlinkels
linuxdebian jlinkels is offline     Reply With Quote
Old 11-08-2009, 08:52 AM   #3
neonsignal
Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Lenny (2.6.30-bpo kernel, Fluxbox) on Toshiba Portege 3500
Posts: 421
Thanked: 91
The different features are varied in nature, so there isn't any easy way of summarizing them. Use the cpufeature.h file to identify them, then look them up (even just in wikipedia), it will give you an idea what each one means.

It isn't as simple as just a list of instructions. Some of the features are changes to the way in which the processor works rather than additional instructions (for example, the page size features).

I don't think you will find a comprehensive document that describes them all (apart from the Intel and AMD manuals, such as the ones here, which may give more detail than you require.

Last edited by neonsignal; 11-08-2009 at 08:54 AM..
linux neonsignal is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/cpuinfo flag lm Henry_1 Linux - General 7 11-16-2007 12:37 AM
It is possible to modify the /proc/cpuinfo ? fc3_fan Linux - Newbie 18 08-05-2006 01:56 PM
Proc/CpuInfo sipsipi Linux - Software 4 03-03-2006 12:42 PM
/proc/cpuinfo oops! feta Linux - Hardware 2 11-08-2004 11:16 PM
/proc/cpuinfo embsupafly Linux - General 3 12-29-2003 07:54 AM


All times are GMT -5. The time now is 05:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration