In visual studio 2010 x64 release mode:
In Project properties->C/C++->Optimization
- Optimization -> Minimize Size(/O1)
- Inline Function Expansion -> Any Suitable (/Ob2)
- Enable Intrinsic Functions -> Yes (/Oi)
- Favor Size or Speed -> Neither
