VirtualBox

Changeset 108204 in vbox


Ignore:
Timestamp:
Feb 13, 2025 4:26:48 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167524
Message:

VMM/IEM: Moving x86 target specific files to VMMAll/target-x86/... jiraref:VBP-1531

Location:
trunk/src/VBox/VMM
Files:
4 edited
35 moved

Legend:

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

    r107171 r108204  
    159159 $(2)/IEMInstructionStatisticsTmpl.h.ts \
    160160 +| $(2)/IEMInstructionStatisticsTmpl.h: \
    161                 $$(VBOX_PATH_SRC_VMM)/VMMAll/IEMAllInstCommon.cpp.h \
    162                 $$(VBOX_PATH_SRC_VMM)/VMMAll/IEMAllInstOneByte.cpp.h \
    163                 $$(VBOX_PATH_SRC_VMM)/VMMAll/IEMAllInstTwoByte0f.cpp.h \
    164                 $$(VBOX_PATH_SRC_VMM)/VMMAll/IEMAllInstThree0f38.cpp.h \
    165                 $$(VBOX_PATH_SRC_VMM)/VMMAll/IEMAllInstThree0f3a.cpp.h \
    166                 $$(VBOX_PATH_SRC_VMM)/VMMAll/IEMAllInstVexMap1.cpp.h \
    167                 $$(VBOX_PATH_SRC_VMM)/VMMAll/IEMAllInstVexMap2.cpp.h \
    168                 $$(VBOX_PATH_SRC_VMM)/VMMAll/IEMAllInstVexMap3.cpp.h \
    169                 $$(VBOX_PATH_SRC_VMM)/VMMAll/IEMAllInst3DNow.cpp.h
     161                $$(VBOX_PATH_SRC_VMM)/VMMAll/target-x86/IEMAllInstCommon-x86.cpp.h \
     162                $$(VBOX_PATH_SRC_VMM)/VMMAll/target-x86/IEMAllInstOneByte-x86.cpp.h \
     163                $$(VBOX_PATH_SRC_VMM)/VMMAll/target-x86/IEMAllInstTwoByte0f-x86.cpp.h \
     164                $$(VBOX_PATH_SRC_VMM)/VMMAll/target-x86/IEMAllInstThree0f38-x86.cpp.h \
     165                $$(VBOX_PATH_SRC_VMM)/VMMAll/target-x86/IEMAllInstThree0f3a-x86.cpp.h \
     166                $$(VBOX_PATH_SRC_VMM)/VMMAll/target-x86/IEMAllInstVexMap1-x86.cpp.h \
     167                $$(VBOX_PATH_SRC_VMM)/VMMAll/target-x86/IEMAllInstVexMap2-x86.cpp.h \
     168                $$(VBOX_PATH_SRC_VMM)/VMMAll/target-x86/IEMAllInstVexMap3-x86.cpp.h \
     169                $$(VBOX_PATH_SRC_VMM)/VMMAll/target-x86/IEMAllInst3DNow-x86.cpp.h
    170170        $$(QUIET)$(call MSG_GENERATE,$(1),$$@,VMMAll/IEMAllInst*.cpp.h)
    171171        $$(QUIET)$$(RM) -f -- "[email protected]" "[email protected]" "[email protected]"
  • trunk/src/VBox/VMM/Makefile.kmk

    r108196 r108204  
    195195        VMMAll/HMVMXAll.cpp \
    196196        VMMAll/IEMAll.cpp \
    197         VMMAll/IEMAllIntprTables1.cpp \
    198         VMMAll/IEMAllIntprTables2.cpp \
    199         VMMAll/IEMAllIntprTables3.cpp \
    200         VMMAll/IEMAllIntprTables4.cpp \
     197        VMMAll/target-x86/IEMAllIntprTables1-x86.cpp \
     198        VMMAll/target-x86/IEMAllIntprTables2-x86.cpp \
     199        VMMAll/target-x86/IEMAllIntprTables3-x86.cpp \
     200        VMMAll/target-x86/IEMAllIntprTables4-x86.cpp \
    201201        VMMAll/target-x86/IEMAllAImplC-x86.cpp \
    202202        VMMAll/target-x86/IEMAllCImpl-x86.cpp \
     
    262262 VBoxVMM_SOURCES += \
    263263        VMMAll/IEMAllThrdRecompiler.cpp \
    264         VMMAll/IEMAllThrdTables1.cpp \
    265         VMMAll/IEMAllThrdTables2.cpp \
    266         VMMAll/IEMAllThrdTables3.cpp \
    267         VMMAll/IEMAllThrdTables4.cpp \
    268         VMMAll/IEMAllThrdFuncs.cpp \
     264        VMMAll/target-x86/IEMAllThrdTables1-x86.cpp \
     265        VMMAll/target-x86/IEMAllThrdTables2-x86.cpp \
     266        VMMAll/target-x86/IEMAllThrdTables3-x86.cpp \
     267        VMMAll/target-x86/IEMAllThrdTables4-x86.cpp \
     268        VMMAll/target-x86/IEMAllThrdFuncs-x86.cpp \
    269269        VMMAll/IEMAllThrdFuncsBltIn.cpp
    270270 ifdef VBOX_WITH_IEM_NATIVE_RECOMPILER
     
    272272        VMMAll/IEMAllN8veExecMem.cpp \
    273273        VMMAll/IEMAllN8veRecompiler.cpp \
    274         VMMAll/IEMAllN8veRecompFuncs1.cpp \
    275         VMMAll/IEMAllN8veRecompFuncs2.cpp \
    276         VMMAll/IEMAllN8veRecompFuncs3.cpp \
    277         VMMAll/IEMAllN8veRecompFuncs4.cpp \
    278         VMMAll/IEMAllN8veRecompFuncs5.cpp \
    279         VMMAll/IEMAllN8veRecompFuncs6.cpp \
     274        VMMAll/target-x86/IEMAllN8veRecompFuncs1-x86.cpp \
     275        VMMAll/target-x86/IEMAllN8veRecompFuncs2-x86.cpp \
     276        VMMAll/target-x86/IEMAllN8veRecompFuncs3-x86.cpp \
     277        VMMAll/target-x86/IEMAllN8veRecompFuncs4-x86.cpp \
     278        VMMAll/target-x86/IEMAllN8veRecompFuncs5-x86.cpp \
     279        VMMAll/target-x86/IEMAllN8veRecompFuncs6-x86.cpp \
    280280        VMMAll/IEMAllN8veRecompBltIn.cpp \
    281         VMMAll/IEMAllN8veLiveness1.cpp \
    282         VMMAll/IEMAllN8veLiveness2.cpp \
    283         VMMAll/IEMAllN8veLiveness3.cpp \
    284         VMMAll/IEMAllN8veLiveness4.cpp \
    285         VMMAll/IEMAllN8veLiveness5.cpp \
    286         VMMAll/IEMAllN8veLiveness6.cpp
     281        VMMAll/target-x86/IEMAllN8veLiveness1-x86.cpp \
     282        VMMAll/target-x86/IEMAllN8veLiveness2-x86.cpp \
     283        VMMAll/target-x86/IEMAllN8veLiveness3-x86.cpp \
     284        VMMAll/target-x86/IEMAllN8veLiveness4-x86.cpp \
     285        VMMAll/target-x86/IEMAllN8veLiveness5-x86.cpp \
     286        VMMAll/target-x86/IEMAllN8veLiveness6-x86.cpp
    287287  VBoxVMM_SOURCES.amd64 += \
    288288        VMMAll/IEMAllN8veHlpA.asm
     
    296296  VMMAll/IEMAllN8veRecompiler.cpp_CXXFLAGS.win := -bigobj
    297297 endif
    298  VMMAll/IEMAllThrdFuncs.cpp_CXXFLAGS.win      := -bigobj
     298 VMMAll/target-x86/IEMAllThrdFuncs-x86.cpp_CXXFLAGS.win := -bigobj
    299299endif
    300300
     
    354354
    355355if "$(USERNAME)" == "bird" && "$(KBUILD_TARGET)" == "win"
    356  VBoxVMM_VMMAll/IEMAll.cpp_CXXFLAGS                  = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    357  VBoxVMM_VMMAll/IEMAllIntprTables1.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    358  VBoxVMM_VMMAll/IEMAllIntprTables2.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    359  #VBoxVMM_VMMAll/IEMAllIntprTables3.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    360  #VBoxVMM_VMMAll/IEMAllIntprTables4.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     356 VBoxVMM_VMMAll/IEMAll.cpp_CXXFLAGS                                 = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     357 VBoxVMM_VMMAll/target-x86/IEMAllIntprTables1-x86.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     358 VBoxVMM_VMMAll/target-x86/IEMAllIntprTables2-x86.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     359 #VBoxVMM_VMMAll/target-x86/IEMAllIntprTables3-x86.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     360 #VBoxVMM_VMMAll/target-x86/IEMAllIntprTables4-x86.cpp_CXXFLAGS      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    361361 VBoxVMM_VMMAll/target-x86/IEMAllAImplC-x86.cpp_CXXFLAGS            = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    362  VBoxVMM_VMMAll/IEMAllN8veExecMem.cpp_CXXFLAGS       = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    363  VBoxVMM_VMMAll/IEMAllN8veRecompiler.cpp_CXXFLAGS    = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    364  VBoxVMM_VMMAll/IEMAllN8veRecompFuncs1.cpp_CXXFLAGS  = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    365  #VBoxVMM_VMMAll/IEMAllN8veRecompFuncs2.cpp_CXXFLAGS  = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    366  VBoxVMM_VMMAll/IEMAllN8veRecompBltIn.cpp_CXXFLAGS   = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    367  VBoxVMM_VMMAll/IEMAllN8veLiveness1.cpp_CXXFLAGS     = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    368  #VBoxVMM_VMMAll/IEMAllN8veLiveness2.cpp_CXXFLAGS     = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    369  VBoxVMM_VMMAll/IEMAllThrdRecompiler.cpp_CXXFLAGS    = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    370  VBoxVMM_VMMAll/IEMAllThrdFuncsBltIn.cpp_CXXFLAGS    = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    371  VBoxVMM_VMMAll/IEMAllThrdTables1.cpp_CXXFLAGS       = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    372  #VBoxVMM_VMMAll/IEMAllThrdFuncs.cpp_CXXFLAGS         = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    373  VBoxVMM_VMMAll/PGMAll.cpp_CXXFLAGS                  = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    374  VBoxVMM_VMMAll/PDMAllCritSect.cpp_CXXFLAGS          = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     362 VBoxVMM_VMMAll/IEMAllN8veExecMem.cpp_CXXFLAGS                      = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     363 VBoxVMM_VMMAll/IEMAllN8veRecompiler.cpp_CXXFLAGS                   = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     364 VBoxVMM_VMMAll/target-x86/IEMAllN8veRecompFuncs1-x86.cpp_CXXFLAGS  = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     365 #VBoxVMM_VMMAll/target-x86/IEMAllN8veRecompFuncs2-x86.cpp_CXXFLAGS  = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     366 VBoxVMM_VMMAll/IEMAllN8veRecompBltIn.cpp_CXXFLAGS                  = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     367 VBoxVMM_VMMAll/target-x86/IEMAllN8veLiveness1-x86.cpp_CXXFLAGS     = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     368 #VBoxVMM_VMMAll/target-x86/IEMAllN8veLiveness2-x86.cpp_CXXFLAGS     = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     369 VBoxVMM_VMMAll/IEMAllThrdRecompiler.cpp_CXXFLAGS                   = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     370 VBoxVMM_VMMAll/IEMAllThrdFuncsBltIn.cpp_CXXFLAGS                   = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     371 VBoxVMM_VMMAll/target-x86/IEMAllThrdTables1-x86.cpp_CXXFLAGS       = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     372 #VBoxVMM_VMMAll/target-x86/IEMAllThrdFuncs-x86.cpp_CXXFLAGS         = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     373 VBoxVMM_VMMAll/PGMAll.cpp_CXXFLAGS                                 = /FAcs /Fa$(subst /,\\,$(outbase).cod)
     374 VBoxVMM_VMMAll/PDMAllCritSect.cpp_CXXFLAGS                         = /FAcs /Fa$(subst /,\\,$(outbase).cod)
    375375
    376376 VBoxVMM_CLEAN += $(addprefix $(VBoxVMM_0_OUTDIR)/VMMAll/, \
    377                 IEMAll.cod IEMAllIntprTables1.cod IEMAllIntprTables2.cod IEMAllIntprTables3.cod IEMAllIntprTables4.cod IEMAllAImplC-x86.cod \
    378                 IEMAllN8veExecMem.cod IEMAllN8veRecompiler.cod IEMAllN8veRecompFuncs1.cod IEMAllN8veRecompFuncs2.cod \
    379                 IEMAllThrdRecompiler.cod IEMAllThrdFuncsBltIn.cod IEMAllThrdTables1.cod IEMAllThrdFuncs.cod \
    380                 IEMAllN8veRecompBltIn.cod IEMAllN8veLiveness1.cod IEMAllN8veLiveness2.cod PGMAll.cod PDMAllCritSect.cod)
     377                IEMAll.cod IEMAllIntprTables1-x86.cod IEMAllIntprTables2-x86.cod IEMAllIntprTables3-x86.cod \
     378                IEMAllIntprTables4-x86.cod IEMAllAImplC-x86.cod \
     379                IEMAllN8veExecMem.cod IEMAllN8veRecompiler.cod IEMAllN8veRecompFuncs1-x86.cod IEMAllN8veRecompFuncs2-x86.cod \
     380                IEMAllThrdRecompiler.cod IEMAllThrdFuncsBltIn.cod IEMAllThrdTables1-x86.cod IEMAllThrdFuncs-x86.cod \
     381                IEMAllN8veRecompBltIn.cod IEMAllN8veLiveness1-x86.cod IEMAllN8veLiveness2-x86.cod PGMAll.cod PDMAllCritSect.cod)
    381382endif
    382383
     
    618619                $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstPython.py \
    619620                $(PATH_SUB_CURRENT)/VMMAll/IEMAllN8vePython.py \
    620                 $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstCommon.cpp.h \
    621                 $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstCommonBodyMacros.h \
    622                 $(if-expr !defined(IEM_WITHOUT_3DNOW)      ,$(PATH_SUB_CURRENT)/VMMAll/IEMAllInst3DNow.cpp.h,) \
    623                 $(if-expr !defined(IEM_WITHOUT_THREE_0F_38),$(PATH_SUB_CURRENT)/VMMAll/IEMAllInstThree0f38.cpp.h,) \
    624                 $(if-expr !defined(IEM_WITHOUT_THREE_0F_3A),$(PATH_SUB_CURRENT)/VMMAll/IEMAllInstThree0f3a.cpp.h,) \
    625                 $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstTwoByte0f.cpp.h \
     621                $(PATH_SUB_CURRENT)/VMMAll/target-x86/IEMAllInstCommon-x86.cpp.h \
     622                $(PATH_SUB_CURRENT)/VMMAll/target-x86/IEMAllInstCommonBodyMacros-x86.h \
     623                $(if-expr !defined(IEM_WITHOUT_3DNOW)      ,$(PATH_SUB_CURRENT)/VMMAll/target-x86/IEMAllInst3DNow-x86.cpp.h,) \
     624                $(if-expr !defined(IEM_WITHOUT_THREE_0F_38),$(PATH_SUB_CURRENT)/VMMAll/target-x86/IEMAllInstThree0f38-x86.cpp.h,) \
     625                $(if-expr !defined(IEM_WITHOUT_THREE_0F_3A),$(PATH_SUB_CURRENT)/VMMAll/target-x86/IEMAllInstThree0f3a-x86.cpp.h,) \
     626                $(PATH_SUB_CURRENT)/VMMAll/target-x86/IEMAllInstTwoByte0f-x86.cpp.h \
    626627                $(if-expr !defined(IEM_WITHOUT_VEX), \
    627                         $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstVexMap1.cpp.h \
    628                         $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstVexMap2.cpp.h \
    629                         $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstVexMap3.cpp.h,) \
    630                 $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstOneByte.cpp.h
    631         $(QUIET)$(call MSG_GENERATE,VBoxVMM,$@,VMMAll/IEMAllInst*.cpp.h)
     628                        $(PATH_SUB_CURRENT)/VMMAll/target-x86/IEMAllInstVexMap1-x86.cpp.h \
     629                        $(PATH_SUB_CURRENT)/VMMAll/target-x86/IEMAllInstVexMap2-x86.cpp.h \
     630                        $(PATH_SUB_CURRENT)/VMMAll/target-x86/IEMAllInstVexMap3-x86.cpp.h,) \
     631                $(PATH_SUB_CURRENT)/VMMAll/target-x86/IEMAllInstOneByte-x86.cpp.h
     632        $(QUIET)$(call MSG_GENERATE,VBoxVMM,$@,VMMAll/target-x86/IEMAllInst*.cpp.h)
    632633        $(QUIET)$(RM) -f -- \
    633634                $(foreach x, 1 2 3 4,"$(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMThreadedInstructions${x}.cpp.h.ts") \
     
    936937        VMMAll/HMVMXAll.cpp \
    937938        VMMAll/IEMAll.cpp \
    938         VMMAll/IEMAllIntprTables1.cpp \
    939         VMMAll/IEMAllIntprTables2.cpp \
    940         VMMAll/IEMAllIntprTables3.cpp \
    941         VMMAll/IEMAllIntprTables4.cpp \
     939        VMMAll/target-x86/IEMAllIntprTables1-x86.cpp \
     940        VMMAll/target-x86/IEMAllIntprTables2-x86.cpp \
     941        VMMAll/target-x86/IEMAllIntprTables3-x86.cpp \
     942        VMMAll/target-x86/IEMAllIntprTables4-x86.cpp \
    942943        VMMAll/target-x86/IEMAllAImplC-x86.cpp \
    943944        VMMAll/target-x86/IEMAllCImpl-x86.cpp \
     
    11491150  # cl : Command line warning D9025 : overriding '/Od' with '/O2'
    11501151  # cl : Command line warning D9025 : overriding '/Oy-' with '/Oy'
    1151   VMMAll/IEMAll.cpp_CXXFLAGS                        += -noover -O2xy
     1152  VMMAll/IEMAll.cpp_CXXFLAGS                                       += -noover -O2xy
    11521153  VMMAll/target-x86/IEMAllAImplC-x86.cpp_CXXFLAGS                  += -noover -O2xy
    11531154  VMMAll/target-x86/IEMAllCImpl-x86.cpp_CXXFLAGS                   += -noover -O2xy
    11541155  VMMAll/target-x86/IEMAllCImplSvmInstr-x86.cpp_CXXFLAGS           += -noover -O2xy
    11551156  VMMAll/target-x86/IEMAllCImplVmxInstr-x86.cpp_CXXFLAGS           += -noover -O2xy
    1156   VMMAll/IEMAllIntprTables1.cpp_CXXFLAGS            += -noover -O2xy
    1157   VMMAll/IEMAllIntprTables2.cpp_CXXFLAGS            += -noover -O2xy
    1158   VMMAll/IEMAllIntprTables3.cpp_CXXFLAGS            += -noover -O2xy
    1159   VMMAll/IEMAllIntprTables4.cpp_CXXFLAGS            += -noover -O2xy
     1157  VMMAll/target-x86/IEMAllIntprTables1-x86.cpp_CXXFLAGS            += -noover -O2xy
     1158  VMMAll/target-x86/IEMAllIntprTables2-x86.cpp_CXXFLAGS            += -noover -O2xy
     1159  VMMAll/target-x86/IEMAllIntprTables3-x86.cpp_CXXFLAGS            += -noover -O2xy
     1160  VMMAll/target-x86/IEMAllIntprTables4-x86.cpp_CXXFLAGS            += -noover -O2xy
    11601161 else
    11611162  # Omitting the frame pointer results in larger code, but it might be worth it. (esp addressing vs ebp?)
    1162   VMMAll/IEMAll.cpp_CXXFLAGS                        += -O2 -fomit-frame-pointer
     1163  VMMAll/IEMAll.cpp_CXXFLAGS                                       += -O2 -fomit-frame-pointer
    11631164  VMMAll/target-x86/IEMAllCImpl-x86.cpp_CXXFLAGS                   += -O2 -fomit-frame-pointer
    11641165  VMMAll/target-x86/IEMAllCImplSvmInstr-x86.cpp_CXXFLAGS           += -O2 -fomit-frame-pointer
    11651166  VMMAll/target-x86/IEMAllCImplVmxInstr-x86.cpp_CXXFLAGS           += -O2 -fomit-frame-pointer
    1166   VMMAll/IEMAllIntprTables1.cpp_CXXFLAGS            += -O2 -fomit-frame-pointer
    1167   VMMAll/IEMAllIntprTables2.cpp_CXXFLAGS            += -O2 -fomit-frame-pointer
    1168   VMMAll/IEMAllIntprTables3.cpp_CXXFLAGS            += -O2 -fomit-frame-pointer
    1169   VMMAll/IEMAllIntprTables4.cpp_CXXFLAGS            += -O2 -fomit-frame-pointer
     1167  VMMAll/target-x86/IEMAllIntprTables1-x86.cpp_CXXFLAGS            += -O2 -fomit-frame-pointer
     1168  VMMAll/target-x86/IEMAllIntprTables2-x86.cpp_CXXFLAGS            += -O2 -fomit-frame-pointer
     1169  VMMAll/target-x86/IEMAllIntprTables3-x86.cpp_CXXFLAGS            += -O2 -fomit-frame-pointer
     1170  VMMAll/target-x86/IEMAllIntprTables4-x86.cpp_CXXFLAGS            += -O2 -fomit-frame-pointer
    11701171 endif
    11711172endif # bird wants good stacks (aeichner as well)
  • trunk/src/VBox/VMM/VMMAll/IEMAllInstPython.py

    r107218 r108204  
    62976297
    62986298    #
    6299     # On the first call, we parse IEMAllInstCommonBodyMacros.h so we
     6299    # On the first call, we parse IEMAllInstCommonBodyMacros-x86.h so we
    63006300    # can use the macros from it when processing the other files.
    63016301    #
     
    63036303    if g_oParsedCommonBodyMacros is None:
    63046304        # Locate the file.
    6305         sCommonBodyMacros = os.path.join(os.path.split(sSrcFile)[0], 'IEMAllInstCommonBodyMacros.h');
     6305        sCommonBodyMacros = os.path.join(os.path.split(sSrcFile)[0], 'IEMAllInstCommonBodyMacros-x86.h');
    63066306        if not os.path.isfile(sCommonBodyMacros):
    6307             sCommonBodyMacros = os.path.join(os.path.split(__file__)[0], 'IEMAllInstCommonBodyMacros.h');
     6307            sCommonBodyMacros = os.path.join(os.path.split(__file__)[0], 'IEMAllInstCommonBodyMacros-x86.h');
    63086308
    63096309        # Read it.
     
    63846384## List of all main instruction files, their default maps and file sets (-1 means included it all sets).
    63856385g_aaoAllInstrFilesAndDefaultMapAndSet = (
    6386     ( 'IEMAllInstCommon.cpp.h',    'one',       -1, ),
    6387     ( 'IEMAllInstOneByte.cpp.h',   'one',        1, ),
    6388     ( 'IEMAllInst3DNow.cpp.h',     '3dnow',      2, ),
    6389     ( 'IEMAllInstTwoByte0f.cpp.h', 'two0f',      2, ),
    6390     ( 'IEMAllInstThree0f38.cpp.h', 'three0f38',  3, ),
    6391     ( 'IEMAllInstThree0f3a.cpp.h', 'three0f3a',  3, ),
    6392     ( 'IEMAllInstVexMap1.cpp.h',   'vexmap1',    4, ),
    6393     ( 'IEMAllInstVexMap2.cpp.h',   'vexmap2',    4, ),
    6394     ( 'IEMAllInstVexMap3.cpp.h',   'vexmap3',    4, ),
     6386    ( 'IEMAllInstCommon-x86.cpp.h',    'one',       -1, ),
     6387    ( 'IEMAllInstOneByte-x86.cpp.h',   'one',        1, ),
     6388    ( 'IEMAllInst3DNow-x86.cpp.h',     '3dnow',      2, ),
     6389    ( 'IEMAllInstTwoByte0f-x86.cpp.h', 'two0f',      2, ),
     6390    ( 'IEMAllInstThree0f38-x86.cpp.h', 'three0f38',  3, ),
     6391    ( 'IEMAllInstThree0f3a-x86.cpp.h', 'three0f3a',  3, ),
     6392    ( 'IEMAllInstVexMap1-x86.cpp.h',   'vexmap1',    4, ),
     6393    ( 'IEMAllInstVexMap2-x86.cpp.h',   'vexmap2',    4, ),
     6394    ( 'IEMAllInstVexMap3-x86.cpp.h',   'vexmap3',    4, ),
    63956395);
    63966396
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllInst3DNow-x86.cpp.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation, 3DNow!.
     3 * IEM - Instruction Decoding and Emulation, x86 target, 3DNow!.
    44 */
    55
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllInstCommon-x86.cpp.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation, Common Bits.
     3 * IEM - Instruction Decoding and Emulation, x86 target, Common Bits.
    44 */
    55
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllInstCommonBodyMacros-x86.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation, Common Body Macros.
     3 * IEM - Instruction Decoding and Emulation, x86 target, Common Body Macros.
    44 *
    55 * This is placed in its own file without anything else in it, so that it can
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllInstOneByte-x86.cpp.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation.
     3 * IEM - Instruction Decoding and Emulation, x86 target.
    44 */
    55
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllInstThree0f38-x86.cpp.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation.
     3 * IEM - Instruction Decoding and Emulation, x86 target, 0x0f 0x38 map.
    44 *
    55 * @remarks IEMAllInstVexMap2.cpp.h is a VEX mirror of this file.
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllInstThree0f3a-x86.cpp.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation, 0x0f 0x3a map.
     3 * IEM - Instruction Decoding and Emulation, x86 target, 0x0f 0x3a map.
    44 *
    55 * @remarks IEMAllInstVexMap3.cpp.h is a VEX mirror of this file.
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllInstTwoByte0f-x86.cpp.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation.
     3 * IEM - Instruction Decoding and Emulation, x86 target, 0x0f map.
    44 *
    55 * @remarks IEMAllInstVexMap1.cpp.h is a VEX mirror of this file.
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllInstVexMap1-x86.cpp.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation.
     3 * IEM - Instruction Decoding and Emulation, x86 target, VEX map \#1.
    44 *
    55 * @remarks IEMAllInstTwoByte0f.cpp.h is a legacy mirror of this file.
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllInstVexMap2-x86.cpp.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation.
     3 * IEM - Instruction Decoding and Emulation, x86 target, VEX Map \#2.
    44 *
    55 * @remarks IEMAllInstThree0f38.cpp.h is a VEX mirror of this file.
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllInstVexMap3-x86.cpp.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation, 0x0f 0x3a map.
     3 * IEM - Instruction Decoding and Emulation, x86 target, VEX Map \#3.
    44 *
    55 * @remarks IEMAllInstThree0f3a.cpp.h is a VEX mirror of this file.
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllIntprTables-x86.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation, Interpreter Tables Common Header.
     3 * IEM - Instruction Decoding and Emulation, x86 target, Interpreter Tables Common Header.
    44 */
    55
     
    9999 * Include common bits.
    100100 */
    101 #include "IEMAllInstCommonBodyMacros.h"
    102 #include "IEMAllInstCommon.cpp.h"
     101#include "IEMAllInstCommonBodyMacros-x86.h"
     102#include "IEMAllInstCommon-x86.cpp.h"
    103103
    104104#endif /* !VMM_INCLUDED_SRC_VMMAll_IEMAllIntprTables_h */
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllIntprTables1-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation - Interpreter Tables - One-Byte.
     3 * IEM - Instruction Decoding and Emulation, x86 target - Interpreter Tables - One-Byte.
    44 */
    55
     
    2727
    2828#define IEM_WITH_ONE_BYTE_TABLE
    29 #include "IEMAllIntprTables.h"
    30 #include "IEMAllInstOneByte.cpp.h"
     29#include "IEMAllIntprTables-x86.h"
     30#include "IEMAllInstOneByte-x86.cpp.h"
    3131
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllIntprTables2-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation - Interpreter Tables - Two-Byte & 3DNow!
     3 * IEM - Instruction Decoding and Emulation, x86 target - Interpreter Tables - Two-Byte & 3DNow!
    44 */
    55
     
    2828#define IEM_WITH_TWO_BYTE_TABLE
    2929#define IEM_WITH_3DNOW_TABLE
    30 #include "IEMAllIntprTables.h"
     30#include "IEMAllIntprTables-x86.h"
    3131#ifdef IEM_WITH_3DNOW
    32 # include "IEMAllInst3DNow.cpp.h"
     32# include "IEMAllInst3DNow-x86.cpp.h"
    3333#endif
    34 #include "IEMAllInstTwoByte0f.cpp.h"
     34#include "IEMAllInstTwoByte0f-x86.cpp.h"
    3535
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllIntprTables3-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation - Interpreter Tables - Three-Byte.
     3 * IEM - Instruction Decoding and Emulation, x86 target - Interpreter Tables - Three-Byte.
    44 */
    55
     
    2727
    2828#define IEM_WITH_THREE_BYTE_TABLES
    29 #include "IEMAllIntprTables.h"
     29#include "IEMAllIntprTables-x86.h"
    3030#ifdef IEM_WITH_THREE_0F_38
    31 # include "IEMAllInstThree0f38.cpp.h"
     31# include "IEMAllInstThree0f38-x86.cpp.h"
    3232#endif
    3333#ifdef IEM_WITH_THREE_0F_3A
    34 # include "IEMAllInstThree0f3a.cpp.h"
     34# include "IEMAllInstThree0f3a-x86.cpp.h"
    3535#endif
    3636
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllIntprTables4-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation, Interpreter Tables - VEX.
     3 * IEM - Instruction Decoding and Emulation, x86 target, Interpreter Tables - VEX.
    44 */
    55
     
    2727
    2828#define IEM_WITH_VEX_TABLES
    29 #include "IEMAllIntprTables.h"
     29#include "IEMAllIntprTables-x86.h"
    3030#ifdef IEM_WITH_VEX
    31 # include "IEMAllInstVexMap1.cpp.h"
    32 # include "IEMAllInstVexMap2.cpp.h"
    33 # include "IEMAllInstVexMap3.cpp.h"
     31# include "IEMAllInstVexMap1-x86.cpp.h"
     32# include "IEMAllInstVexMap2-x86.cpp.h"
     33# include "IEMAllInstVexMap3-x86.cpp.h"
    3434#endif
    3535
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veLiveness-x86.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompiler, Liveness Analysis, Common Header.
     3 * IEM - Native Recompiler, Liveness Analysis, x86 target, Common Header.
    44 */
    55
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veLiveness1-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompiler, Liveness Analysis, Part 1.
     3 * IEM - Native Recompiler, Liveness Analysis, x86 target, Part 1.
    44 */
    55
     
    2828
    2929/* Common header with all the IEM_MC_XXX defines and whatnot. */
    30 #include "IEMAllN8veLiveness.h"
     30#include "IEMAllN8veLiveness-x86.h"
    3131
    3232/* Include the generated headers: */
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veLiveness2-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompiler, Liveness Analysis, Part 2.
     3 * IEM - Native Recompiler, Liveness Analysis, x86 target, Part 2.
    44 */
    55
     
    2828
    2929/* Common header with all the IEM_MC_XXX defines and whatnot. */
    30 #include "IEMAllN8veLiveness.h"
     30#include "IEMAllN8veLiveness-x86.h"
    3131
    3232/* Include the generated headers: */
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veLiveness3-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompiler, Liveness Analysis, Part 3.
     3 * IEM - Native Recompiler, Liveness Analysis, x86 target, Part 3.
    44 */
    55
     
    2828
    2929/* Common header with all the IEM_MC_XXX defines and whatnot. */
    30 #include "IEMAllN8veLiveness.h"
     30#include "IEMAllN8veLiveness-x86.h"
    3131
    3232/* Include the generated headers: */
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veLiveness4-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompiler, Liveness Analysis, Part 4.
     3 * IEM - Native Recompiler, Liveness Analysis, x86 target, Part 4.
    44 */
    55
     
    2828
    2929/* Common header with all the IEM_MC_XXX defines and whatnot. */
    30 #include "IEMAllN8veLiveness.h"
     30#include "IEMAllN8veLiveness-x86.h"
    3131
    3232/* Include the generated headers: */
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veLiveness5-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompiler, Liveness Analysis, Part 5.
     3 * IEM - Native Recompiler, Liveness Analysis, x86 target, Part 5.
    44 */
    55
     
    2828
    2929/* Common header with all the IEM_MC_XXX defines and whatnot. */
    30 #include "IEMAllN8veLiveness.h"
     30#include "IEMAllN8veLiveness-x86.h"
    3131
    3232/* Include the generated headers: */
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veLiveness6-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompiler, Liveness Analysis, Part 6.
     3 * IEM - Native Recompiler, Liveness Analysis, x86 target, Part 6.
    44 */
    55
     
    2828
    2929/* Common header with all the IEM_MC_XXX defines and whatnot. */
    30 #include "IEMAllN8veLiveness.h"
     30#include "IEMAllN8veLiveness-x86.h"
    3131
    3232/* Include the generated headers: */
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veRecompFuncs-x86.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompiler - Inlined Bits.
     3 * IEM - Native Recompiler - Inlined Bits, x86 target.
    44 */
    55
     
    6363#include "IEMN8veRecompilerTlbLookup.h"
    6464#include "IEMNativeFunctions.h"
    65 #include "target-x86/IEMAllN8veEmit-x86.h"
     65#include "VMMAll/target-x86/IEMAllN8veEmit-x86.h"
    6666
    6767
     
    1103311033*   Include instruction emitters.                                                                                                *
    1103411034*********************************************************************************************************************************/
    11035 #include "target-x86/IEMAllN8veEmit-x86.h"
    11036 
     11035#include "VMMAll/target-x86/IEMAllN8veEmit-x86.h"
     11036
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veRecompFuncs1-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompilation of Threaded Function, Part 1.
     3 * IEM - Native Recompilation of Threaded Function, x86 target, Part 1.
    44 */
    55
     
    2626 */
    2727
    28 #include "IEMAllN8veRecompFuncs.h"
     28#include "IEMAllN8veRecompFuncs-x86.h"
    2929
    3030/*
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veRecompFuncs2-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompilation of Threaded Function, Part 2.
     3 * IEM - Native Recompilation of Threaded Function, x86 target, Part 2.
    44 */
    55
     
    2626 */
    2727
    28 #include "IEMAllN8veRecompFuncs.h"
     28#include "IEMAllN8veRecompFuncs-x86.h"
    2929
    3030/*
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veRecompFuncs3-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompilation of Threaded Function, Part 3.
     3 * IEM - Native Recompilation of Threaded Function, x86 target, Part 3.
    44 */
    55
     
    2626 */
    2727
    28 #include "IEMAllN8veRecompFuncs.h"
     28#include "IEMAllN8veRecompFuncs-x86.h"
    2929
    3030/*
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veRecompFuncs4-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompilation of Threaded Function, Part 4.
     3 * IEM - Native Recompilation of Threaded Function, x86 target, Part 4.
    44 */
    55
     
    2626 */
    2727
    28 #include "IEMAllN8veRecompFuncs.h"
     28#include "IEMAllN8veRecompFuncs-x86.h"
    2929
    3030/*
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veRecompFuncs5-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompilation of Threaded Function, Part 5.
     3 * IEM - Native Recompilation of Threaded Function, x86 target, Part 5.
    44 */
    55
     
    2626 */
    2727
    28 #include "IEMAllN8veRecompFuncs.h"
     28#include "IEMAllN8veRecompFuncs-x86.h"
    2929
    3030/*
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veRecompFuncs6-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Native Recompilation of Threaded Function, Part 6.
     3 * IEM - Native Recompilation of Threaded Function, x86 target, Part 6.
    44 */
    55
     
    2626 */
    2727
    28 #include "IEMAllN8veRecompFuncs.h"
     28#include "IEMAllN8veRecompFuncs-x86.h"
    2929
    3030/*
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllThrdFuncs-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Emulation, Threaded Functions.
     3 * IEM - Instruction Decoding and Emulation, Threaded Functions, x86 target.
    44 */
    55
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllThrdTables-x86.h

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Threaded Recompilation, Instruction Tables.
     3 * IEM - Instruction Decoding and Threaded Recompilation, Instruction Tables, x86 target.
    44 */
    55
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllThrdTables1-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Threaded Recompilation, Instruction Tables - One-Byte.
     3 * IEM - Instruction Decoding and Threaded Recompilation, Instruction Tables, x86 target - One-Byte.
    44 */
    55
     
    2626 */
    2727
    28 #include "IEMAllThrdTables.h"
     28#include "IEMAllThrdTables-x86.h"
    2929
    3030/*
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllThrdTables2-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Threaded Recompilation, Instruction Tables - Two-Byte & 3DNow!
     3 * IEM - Instruction Decoding and Threaded Recompilation, Instruction Tables, x86 target - Two-Byte & 3DNow!
    44 */
    55
     
    2626 */
    2727
    28 #include "IEMAllThrdTables.h"
     28#include "IEMAllThrdTables-x86.h"
    2929
    3030/*
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllThrdTables3-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Threaded Recompilation, Instruction Tables - Three-Byte.
     3 * IEM - Instruction Decoding and Threaded Recompilation, Instruction Tables, x86 target - Three-Byte.
    44 */
    55
     
    2626 */
    2727
    28 #include "IEMAllThrdTables.h"
     28#include "IEMAllThrdTables-x86.h"
    2929
    3030/*
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllThrdTables4-x86.cpp

    r108203 r108204  
    11/* $Id$ */
    22/** @file
    3  * IEM - Instruction Decoding and Threaded Recompilation, Instruction Tables - VEX.
     3 * IEM - Instruction Decoding and Threaded Recompilation, Instruction Tables, x86 target - VEX.
    44 */
    55
     
    2626 */
    2727
    28 #include "IEMAllThrdTables.h"
     28#include "IEMAllThrdTables-x86.h"
    2929
    3030/*
  • trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp

    r108195 r108204  
    11721172/** @}  */
    11731173
    1174 #include "../VMMAll/IEMAllIntprTables1.cpp"
    1175 #include "../VMMAll/IEMAllIntprTables2.cpp"
    1176 #include "../VMMAll/IEMAllIntprTables3.cpp"
    1177 #include "../VMMAll/IEMAllIntprTables4.cpp"
     1174#include "../VMMAll/target-x86/IEMAllIntprTables1-x86.cpp"
     1175#include "../VMMAll/target-x86/IEMAllIntprTables2-x86.cpp"
     1176#include "../VMMAll/target-x86/IEMAllIntprTables3-x86.cpp"
     1177#include "../VMMAll/target-x86/IEMAllIntprTables4-x86.cpp"
    11781178
    11791179
Note: See TracChangeset for help on using the changeset viewer.

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