VirtualBox

儲存庫 vbox 的更動 106475


忽略:
時間撮記:
2024-10-18 下午12:38:26 (5 週 以前)
作者:
vboxsync
訊息:

VMM/Makefile.kmk: Enable agressive inlining for VC++ 2019 for VBoxVMM as it speeds up the native recompilation a bit. Updated my private assembly listing hack to include a sample of the native recompiler code. bugref:10720

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/Makefile.kmk

    r106399 r106475  
    100100VBoxVMM_ASFLAGS.amd64  = -Werror
    101101VBoxVMM_ASFLAGS.x86    = -Werror
     102if "$(VBOX_VCC_TOOL_STEM)" >= "VCC142" && "$(KBUILD_TYPE)" != "debug" # Agressive inlining for IEM performance. Adds ~2.6 MB.
     103 VBoxVMM_CXXFLAGS.win  = -Ob3
     104endif
    102105
    103106VBoxVMM_SOURCES  = \
     
    349352 VBoxVMM_VMMAll/IEMAllIntprTables1.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    350353 VBoxVMM_VMMAll/IEMAllIntprTables2.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    351  VBoxVMM_VMMAll/IEMAllIntprTables3.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    352  VBoxVMM_VMMAll/IEMAllIntprTables4.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     354 #VBoxVMM_VMMAll/IEMAllIntprTables3.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     355 #VBoxVMM_VMMAll/IEMAllIntprTables4.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    353356 VBoxVMM_VMMAll/IEMAllAImplC.cpp_CXXFLAGS            = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     357 VBoxVMM_VMMAll/IEMAllN8veExecMem.cpp_CXXFLAGS       = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     358 VBoxVMM_VMMAll/IEMAllN8veRecompiler.cpp_CXXFLAGS    = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     359 VBoxVMM_VMMAll/IEMAllN8veRecompFuncs1.cpp_CXXFLAGS  = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     360 #VBoxVMM_VMMAll/IEMAllN8veRecompFuncs2.cpp_CXXFLAGS  = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     361 VBoxVMM_VMMAll/IEMAllN8veRecompBltIn.cpp_CXXFLAGS   = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     362 VBoxVMM_VMMAll/IEMAllN8veLiveness1.cpp_CXXFLAGS     = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     363 #VBoxVMM_VMMAll/IEMAllN8veLiveness2.cpp_CXXFLAGS     = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     364 VBoxVMM_VMMAll/IEMAllThrdRecompiler.cpp_CXXFLAGS    = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     365 VBoxVMM_VMMAll/IEMAllThrdFuncsBltIn.cpp_CXXFLAGS    = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     366 VBoxVMM_VMMAll/IEMAllThrdTables1.cpp_CXXFLAGS       = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     367 #VBoxVMM_VMMAll/IEMAllThrdFuncs.cpp_CXXFLAGS         = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    354368 VBoxVMM_VMMAll/PGMAll.cpp_CXXFLAGS                  = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    355369 VBoxVMM_VMMAll/PDMAllCritSect.cpp_CXXFLAGS          = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    356  VBoxVMM_CLEAN += $(addprefix $(VBoxVMM_0_OUTDIR)/VMMAll/, IEMAll.cod IEMAllAImplC.cod IEMAllInstInterpretOnly.cod PGMAll.cod PDMAllCritSect.cod)
     370
     371 VBoxVMM_CLEAN += $(addprefix $(VBoxVMM_0_OUTDIR)/VMMAll/, \
     372       IEMAll.cod IEMAllIntprTables1.cod IEMAllIntprTables2.cod IEMAllIntprTables3.cod IEMAllIntprTables4.cod IEMAllAImplC.cod \
     373       IEMAllN8veExecMem.cod IEMAllN8veRecompiler.cod IEMAllN8veRecompFuncs1.cod IEMAllN8veRecompFuncs2.cod \
     374       IEMAllThrdRecompiler.cod IEMAllThrdFuncsBltIn.cod IEMAllThrdTables1.cod IEMAllThrdFuncs.cod \
     375        IEMAllN8veRecompBltIn.cod IEMAllN8veLiveness1.cod IEMAllN8veLiveness2.cod PGMAll.cod PDMAllCritSect.cod)
    357376endif
    358377
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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