SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : Intel Corporation (INTC) -- Ignore unavailable to you. Want to Upgrade?


To: wanna_bmw who wrote (158804)2/14/2002 4:53:13 PM
From: Joe NYC  Read Replies (2) | Respond to of 186894
 
wbmw,

Isn't Microsoft supposed to release 7.0 soon (if they haven't already). Let's see what it has in terms of optimizations.

Yes, it is released, but VC++ is now being relegated to legacy, and C# is emphasized instead (and VB 7). Here are the optimization switches:

/G3 Optimizes code to favor the 386 processor. Phased out in Visual C++ 5.0, the compiler will ignore this option
/G4 Optimizes code to favor the 486 processor. Phased out in Visual C++ 5.0, the compiler will ignore this option
/G5 Optimizes code to favor the Pentium processor
/G6 Optimizes code to favor the Pentium Pro, Pentium II, and Pentium III processors

Joe

<edit> you don't compile anymore, you just generate output for CLR </edit>



To: wanna_bmw who wrote (158804)2/14/2002 5:09:54 PM
From: Charles Gryba  Respond to of 186894
 
wbmw, I am going to install it on Tuesday, I'll let you know.

C



To: wanna_bmw who wrote (158804)2/14/2002 5:32:00 PM
From: Joe NYC  Read Replies (1) | Respond to of 186894
 
wbmw,

looking further into optimizations, it looks like if you want to stay on the C/C++ level, you can call SSE(2) instructions, but you have to do it manually, more or less on the assembler level. There doesn't appear a way for the compiler to generate them automatically.

I have no idea how this all works under CLR. I guess CLR runtime is free to use these optimizations, where appropriate. Whether it does or not, I don't know.

Joe