[Home]Boost.Build V2/CppOptimization

BOOST WIKI | Boost.Build V2 | RecentChanges | Preferences | Page List | Links List

C/C++ -- Optimization

Optimization

1. Disabled

BBv2:

   <optimization>off

2. Minimize Size

BBv2:

   <optimization>space

3. Maximize Speed

BBv2:

   <optimization>speed

4. Full

BBv2:

   <optimization>speed <optimization>space

Global Optimizations

1. No

BBv2 does not apply global optimizations by default.

2. Yes

BBv2:

   <optimization>speed <optimization>space

Inline Function Expansion

1. Default

2. Only __inline

BBv2:

   <inlining>on

3. Any Suitable

BBv2:

   <inlining>full

BBv2 also has an <inlining>off option to turn off optimizations.

Enable Intrinsic Functions

1. No

2. Yes

BBv2:

   <optimization>speed <optimization>space

Floating-Point Consistency

1. Default

2. Improved

BBv2:

   <cxxflags>/Op?

Favor Size or Speed

1. Favor Size

BBv2:

   <optimization>space

2. Favor Speed

BBv2:

   <optimization>speed

Omit Frame Pointers

1. No

2. Yes

BBv2:

   <optimization>speed <optimization>space

Enable Fiber-safe Optimizations

1. No

2. Yes

BBv2:

   <cxxflags>/GT

Optimize For Processor

1. Blended

This is the default option used.

2. Pentium

BBv2:

   <instruction-set>pentium

3. PPro; Pentium2; Pentium3

BBv2:

   <instruction-set>pentiumpro
   <instruction-set>pentium2
   <instruction-set>pentium3

4. Pentium4 and above

BBv2:

   <instruction-set>pentium4

Optimize For Windows Application

1. No

2. Yes

BBv2:

   <cxxflags>/GA

BOOST WIKI | Boost.Build V2 | RecentChanges | Preferences | Page List | Links List
Edit text of this page | View other revisions
Last edited October 27, 2005 12:27 pm (diff)
Search:
Disclaimer: This site not officially maintained by Boost Developers