-Ox is missing -GF and -Gy and -Gs
http://blogs.msdn.com/b/branbray/archive/2005/07/08/437078.aspx
http://msdn.microsoft.com/en-us/library/8f8h5cxt%28v=vs.90%29.aspx
http://msdn.microsoft.com/en-us/library/
59a3b321%28v=vs.90%29.aspx
So the remaining question is, use -O1 or use -O2 on VC 64? VC 32 bit uses
-O1, and that is also slightly faster on x64 too.
#LINK_DBG = $(LINK_DBG) -debugtype:both
! IF "$(WIN64)" == "define"
# enable Whole Program Optimizations (WPO) and Link Time Code Generation (LTCG)
-OPTIMIZE = $(OPTIMIZE) -Ox -GL
+OPTIMIZE = $(OPTIMIZE) -O1 -GL
LINK_DBG = $(LINK_DBG) -ltcg
! ELSE
# -O1 yields smaller code, which turns out to be faster than -O2 on x86
#LINK_DBG = $(LINK_DBG) -debugtype:both
.IF "$(WIN64)" == "define"
# enable Whole Program Optimizations (WPO) and Link Time Code Generation (LTCG)
-OPTIMIZE += -Ox -GL
+OPTIMIZE += -O1 -GL
LINK_DBG += -ltcg
.ELSE
# -O1 yields smaller code, which turns out to be faster than -O2 on x86