Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
1697 Discussions

How to identify what is my processor "Bits" programmatically.

mmanaskant
Beginner
408 Views

I have an Intel 64 bit processor but i have installed a 32 bit Operating system on it.

How should i find it out what "bits" my processor support? Windows API GetSystemInfor is unable to give me right results.

Thanks in advance

0 Kudos
1 Reply
Thomas_W_Intel
Employee
408 Views

You can use the cpuid instruction and check bit 29 in the EDX register for the Extended Feature Bits (Function 80000001h). See section 3.2.2 in Application Note 485 (http://download.intel.com/design/processor/applnots/24161832.pdf).

However, I do not see how this is related to Threading ;)

Best regards

Thomas

0 Kudos
Reply