Solved

Preprocessor Macros

Posted on 2006-06-20
3
844 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Retrun object in plist format 5 63
Why adding test code changes the build ? 11 132
Programming Arduino to control a Max7219 using C 2 130
Super Scope, DHCP 5 78
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.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

832 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