VirtualBox

Changeset 94769 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 1, 2022 11:42:38 PM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM: Added the always-optimize tricks to the new IEMAll* compile units. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/Makefile.kmk

    r94768 r94769  
    734734# cl : Command line warning D9025 : overriding '/Od' with '/O2'
    735735# cl : Command line warning D9025 : overriding '/Oy-' with '/Oy'
    736 VMMAll/IEMAll.cpp_CXXFLAGS       += -noover -O2xy
    737 VMMAll/IEMAllAImplC.cpp_CXXFLAGS += -noover -O2xy
     736VMMAll/IEMAll.cpp_CXXFLAGS                          += -noover -O2xy
     737VMMAll/IEMAllAImplC.cpp_CXXFLAGS                    += -noover -O2xy
     738VMMAll/IEMAllCImpl.cpp_CXXFLAGS                     += -noover -O2xy
     739VMMAll/IEMAllCImplSvmInstr.cpp_CXXFLAGS             += -noover -O2xy
     740VMMAll/IEMAllCImplVmxInstr.cpp_CXXFLAGS             += -noover -O2xy
     741VMMAll/IEMAllInstructionsInterpretOnly.cpp_CXXFLAGS += -noover -O2xy
    738742 else
    739 VMMAll/IEMAll.cpp_CXXFLAGS += -O2
    740 VMMAll/IEMAllAImplC.cpp_CXXFLAGS += -O2 -fomit-frame-pointer
    741 #VMMAll/IEMAll.cpp_CXXFLAGS += -fno-align-functions -fno-align-jumps -fno-align-loops # Saves a few of percents, not worth it.
    742 #VMMAll/IEMAll.cpp_CXXFLAGS += -fno-reorder-blocks    # Saves one or two percent ... never mind.
    743 VMMAll/IEMAll.cpp_CXXFLAGS += -fomit-frame-pointer # Omitting the frame pointer results in larger code, but it might be worth it. (esp addressing vs ebp?)
     743# Omitting the frame pointer results in larger code, but it might be worth it. (esp addressing vs ebp?)
     744VMMAll/IEMAll.cpp_CXXFLAGS                          += -O2 -fomit-frame-pointer
     745VMMAll/IEMAllCImpl.cpp_CXXFLAGS                     += -O2 -fomit-frame-pointer
     746VMMAll/IEMAllCImplSvmInstr.cpp_CXXFLAGS             += -O2 -fomit-frame-pointer
     747VMMAll/IEMAllCImplVmxInstr.cpp_CXXFLAGS             += -O2 -fomit-frame-pointer
     748VMMAll/IEMAllInstructionsInterpretOnly.cpp_CXXFLAGS += -O2 -fomit-frame-pointer
    744749 endif
    745750endif # bird wants good stacks (aeichner as well)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette