DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   Optomizing for Pentium Pro (http://www.daniweb.com/forums/thread88066.html)

Tight_Coder_Ex Aug 30th, 2007 2:34 pm
Optomizing for Pentium Pro
 
Using VC++ 6.0, setting this option doesn't seem to do anything significant. Specically, I can still run the app on a 486. I've drilled into assembly and can't find anywhere that Pentium opcodes are being used. My guess would be timing and as I don't have any references to that I can't really be sure.

I would appreciate a short snippet with and without the option being set and a listing with machine, assembly and source.

Thanks

vijayan121 Aug 30th, 2007 3:32 pm
Re: Optomizing for Pentium Pro
 
you would be better off using icc for processor-specific optimizations. even without processor-specific optimizations, icc generates better optimized code than vc++ 8; and it blows gcc away. http://www.intel.com/cd/software/pro...eng/276615.htm

Tight_Coder_Ex Aug 30th, 2007 4:58 pm
Re: Optomizing for Pentium Pro
 
Thank's. Better than M$, why am I not surprised. I like the idea too that I can use it with my existing IDE.

Hamrick Aug 30th, 2007 5:05 pm
Re: Optomizing for Pentium Pro
 
Quote:

Better than M$, why am I not surprised.
I hope you're not surprised that intel's compiler has better optimizations because they _make_ the processors, and not because you just don't like microsoft. ;)

Tight_Coder_Ex Aug 30th, 2007 6:27 pm
Re: Optomizing for Pentium Pro
 
Quote:

Originally Posted by Hamrick (Post 426630)
I hope you're not surprised that intel's compiler has better optimizations because they _make_ the processors, and not because you just don't like microsoft. ;)

That being said, Intel is quite liberal with their documentation so there is no reason M$ couldn't have an equal or better compiler.

WaltP Aug 30th, 2007 10:01 pm
Re: Optomizing for Pentium Pro
 
Quote:

Originally Posted by Tight_Coder_Ex (Post 426653)
That being said, Intel is quite liberal with their documentation so there is no reason M$ couldn't have an equal or better compiler.

There's a good reason. They're M$. This generation's IBM. If they could program like they market, you'd be right. But all they really have going for them is great marketing and a stranglehold on the industry.


All times are GMT -4. The time now is 1:07 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC