?
Solved

Preprocessor Macros

Posted on 2006-06-20
3
Medium Priority
?
851 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
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…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
Suggested Courses

762 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