Welcome to the Intel® Software Dispatch Subscription Program

How to use all of CPUID for x64 platforms under Microsoft Visual Studio .NET 2005
Visual Studio 2005 Tutorial: When targeting x64 platforms in Visual Studio .Net 2005, programmers are no longer able to use inline assembly code as they did for 32-bit code. This forces the programmer to either rely on C/C++ code using intrinsics, or to tediously create a 64-bit MASM (.asm) version of the function.

by Eric Palmer. Intel Corp.

When targeting x64 platforms in Visual Studio .Net 2005, programmers are no longer able to use inline assembly code as they did for 32-bit code. This forces the programmer to either rely on C/C++ code using intrinsics, or to tediously create a 64-bit MASM (.asm) version of the function. Unfortunately, the VS .Net 2005 implementation of the intrinsic for CPUID (__cpuid) recognizes only input arguments in the register eax, and not the more recently defined inputs in ecx, which are required for queries regarding cache parameters and certain multi-core characteristics. Thus, a 64-bit .asm listing is required for full use of the CPUID instruction.

The following code samples demonstrate how to use the CPUID and RDTSC instructions with VS .Net 2005 for 64-bit (x64) platforms. The CPUID instruction is commonly used to obtain detailed information about the system’s CPU(s), and RDTSC is used to read the CPU’s internal time-stamp counter for timing and performance-measurement purposes. The RDTSC intrinsic (__rdtsc) does work as expected and can be used to replace inline assembly.

If you're interested in this topic, these articles may be helpful:

CPUID for x64 Platforms and Microsoft Visual Studio* .NET 2005
by Eric Palmer When targeting x64 platforms in Visual Studio .NET* ...
Export WBS from Rational Portfolio Manager to Microsoft Project
Export WBS from Rational Portfolio Manager to Microsoft Project This ...
Microsoft Windows Vista* on PCs with Intel® vPro™Technology.
Integrated graphics and 64-bit dual-core computing, improved trust, an...
IT Certification
IT Certification SkillSoft knows that IT skills are critical ...

Related Jobs:

Web Developer #425188 - GA - Alpharetta - Radiant Systems, Inc
ESSENTIAL FUNCTIONS: Design, develop, and implement new and exist...
Senior Software Engineer #850641 - OR Beaverton - McAfee, Inc.
Senior Software Engineer Job Code: 850641 Division: Engine...
Tier II Tech Support-Hercules #865905 - TX - Plano - McAfee, Inc.
Tier II Tech Support-Hercules Job Code: 865905 Division: T...
Solutions Architect #DEE00027 - IL - Deerfield - Marsh Inc.
Solutions Architect DEE00027 (To return to the Job List,...
Programmer/Analyst #LOU00069 - KY - Louisville - Marsh Inc.
Programmer/Analyst LOU00069 (To return to the Job List, ...
SQL/.Net Engineer - MN - Saint Paul - Praxis HR
FLS Connect is looking for a superstar .Net Engineer to join our team ...
Software Engineer II #430805 - TX - Dallas - Radiant Systems, Inc
ESSENTIAL FUNCTIONS: Designs, modifies, implements, and documents...
Applications and Tools Developer #186642 - MN - Plymouth - UnitedHealth Group
Applications and Tools Developer - Plymouth, MN or Hartford, CT 18...
Programmer / Software Developer - DC - Washington - The American College of Ob/Gyn
The American College of Obstetricians and Gynecologists (www.acog.org)...
Senior DB Developer #21516 - MN - Minneapolis - iGate Mastech
Duties & Responsibilities (staple additional pages if necessary): W...