Solved

Preprocessor Macros

Posted on 2006-06-20
3
839 Views
Last Modified: 2008-01-09
Hi all,

I'm just wondering are there any Microsoft C/C++ preprocessor macros defined for the newer single  and dual core CPU's or do they all have 600 as their _m_IX86 value. My reason for asking is that I have a dual core Athlon 64 processor, running 32-Bit Windows XP. I would have thought that the sheer fact that it is a differenct manufacturer would make a difference.


Regards

Pushpop
0
Comment
Question by:pushpop
3 Comments
 
LVL 15

Accepted Solution

by:
bpmurray earned 50 total points
Comment Utility
When you use the /Gn flag, it sets the _M_IX86 flag. The default is /GB which sets this to 600, but there's /G7 which sets it to 700, and optimises for the P4 & Athlon. I haven't got the latest compiler, but try to see what values you have available in your help. Perhaps a /G8 or /G9?
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now