943,840 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 1013
  • C++ RSS
Aug 30th, 2007
0

Optomizing for Pentium Pro

Expand Post »
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
Similar Threads
Reputation Points: 47
Solved Threads: 17
Posting Whiz in Training
Tight_Coder_Ex is offline Offline
215 posts
since Feb 2005
Aug 30th, 2007
1

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
Last edited by vijayan121; Aug 30th, 2007 at 3:32 pm.
Reputation Points: 1159
Solved Threads: 285
Posting Virtuoso
vijayan121 is offline Offline
1,606 posts
since Dec 2006
Aug 30th, 2007
0

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.
Reputation Points: 47
Solved Threads: 17
Posting Whiz in Training
Tight_Coder_Ex is offline Offline
215 posts
since Feb 2005
Aug 30th, 2007
0

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.
Reputation Points: 180
Solved Threads: 34
Posting Whiz
Hamrick is offline Offline
322 posts
since Jun 2007
Aug 30th, 2007
0

Re: Optomizing for Pentium Pro

Click to Expand / Collapse  Quote originally posted by Hamrick ...
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.
Reputation Points: 47
Solved Threads: 17
Posting Whiz in Training
Tight_Coder_Ex is offline Offline
215 posts
since Feb 2005
Aug 30th, 2007
1

Re: Optomizing for Pentium Pro

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.
Moderator
Reputation Points: 3278
Solved Threads: 892
Posting Sage
WaltP is offline Offline
7,718 posts
since May 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Lexer- Tokenizer problem
Next Thread in C++ Forum Timeline: Closing a test File after writing in it





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC