Solved

Preprocessor Macros

Posted on 2006-06-20
3
848 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 15

Accepted Solution

by:
bpmurray earned 50 total points
ID: 16950186
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays 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.

726 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