Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2004

Tip: Looking for answers? Try searching our database.

Enable Enhanced Instruction Set

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gabest - 17 Jun 2004 11:45 GMT
I'd like to know if there is a compiler definition set after this compiler
option, so I can adjust my code to use see/sse2 instructions as well in
those build configurations which have this option turned on.
Carl Daniel [VC++ MVP] - 17 Jun 2004 14:33 GMT
> I'd like to know if there is a compiler definition set after this
> compiler option, so I can adjust my code to use see/sse2 instructions
> as well in those build configurations which have this option turned
> on.

This is undocumented but...

_M_IX86_FP = null for "normal" builds
_M_IX86_FP = 1 for /arch:SSE
_M_IX86_FP = 2 for /arch:SSE2

Being undocumented, I'd expect that this macro could change meaning or
disappear in any later version.  However, these values do hold for VC7.1 and
Whidbey.

-cd
Gabest - 17 Jun 2004 14:40 GMT
> This is undocumented but...
>
[quoted text clipped - 7 lines]
>
> -cd

I really hoped they existed, thank you very much!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.