[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Preprocessor Macros

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

Technology Partners: 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

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 is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
Suggested Courses

650 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