Performance issues in compute-intensive VC++ application after upgrade from VS 2003 to VS 2005
Performance issues in compute-intensive VC++ application after upgrade from VS 2003 to VS 2005
RAPID PUBLISHING
Action
Result
The VC++ 7.1-compiled executable takes less time to execute compared to the VC++ 8.0 executable.
Cause
Resolution
More Information
In VS2003, /Op- is the default floating model used. Whereas in VS2005, the new floating-point models (fast, precise, and strict) were added, with the default being /fp:precise. In many ways, /Op- is more like /fp:fast than /fp:precise, so to get the default behavior from VS2003, /fp:fast should be used. But /fp:fast in VC++ 8.0 will not always exactly match /Op- from VC++ 7.1.
DISCLAIMER
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Back to the top
Leave a Reply