Microsoft Developer Network
▶
Highlights
▶
Technical Articles
▶
Sample Code
▶
Resource and Strategy
▶
Knowledge Base and Bug Lists
▶
Books and Magazine Articles
▼
Product Documentation
▼
C/C++ 7.0
▼
Programming Techniques
Title Page
▶
Introduction
▼
PART 1 Improving Program Performance
PART 1 Improving Program Performance
▼
Chapter 1 Optimizing Your Programs
Chapter 1 Optimizing Your Programs
1.1 Controlling Optimization from PWB
1.2 Controlling Optimization from the Command Line
1.3 Controlling Optimization with Pragmas
▶
1.4 Default Optimization
▼
1.5 Customizing Your Optimizations
1.5 Customizing Your Optimizations
Choosing Speed or Size (/Ot and /Os)
Generating Intrinsic Functions (/Oi)
Inlining Function Calls (/Ob0, /Ob1, and /Ob2)
Assuming No Aliasing (/Oa and /Ow)
Performing Loop Optimizations (/Ol)
Disabling Unsafe Loop Optimizations (/On)
Enabling Aggressive Optimizations (/Oz)
Enabling Function-Level Linking (/Gy)
Removing Stack Probes (/Gs)
Enabling Global Register Allocation (/Oe)
Enabling Common Subexpression Optimization (/Oc and /Og)
Achieving Consistent Floating-Point Results (/Op)
Generating Code for a Specific Processor (/G0, /G1, /G2, /G3, /G4)
Optimizing for Maximum Efficiency (/Ox)
▶
1.6 Linker (LINK) Options That Control Optimization
▶
1.7 Optimizing in Different Environments
▶
1.8 Choosing Function-Calling Conventions
▶
Chapter 2 Using Precompiled Header Files
▶
Chapter 3 Reducing Program Size with P-Code
▶
Chapter 4 Managing Memory in C
▶
Chapter 5 Managing Memory in C++
▶
Chapter 6 Using the Inline Assembler
▶
Chapter 7 Controlling Floating-Point Math Operations
▶
PART 2 Special Environments
▶
PART 3 Appendix
▶
C Language Reference
▶
Class Libraries Reference
▶
Class Libraries User's Guide
▶
Comprehensive Index and Errors Reference
▶
Environment and Tools
▶
Run-time Library Reference
▶
C++ Tutorial
▶
C++ Language Reference
▶
Macro Assembler 6.0
▶
Multimedia Development Kit
▶
OLE 1.0 Programmer's Reference
▶
Win32 SDK for Windows NT
▶
Windows 3.1 DDK
▶
Windows 3.1 SDK
▶
QuickC for Windows
▶
Unsupported Tools & Utilities