Changeset 100733 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jul 28, 2023 10:51:16 PM (19 months ago)
- svn:sync-xref-src-repo-rev:
- 158603
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
- 12 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllInstCommonBodyMacros.h
r100732 r100733 4 4 * 5 5 * This is placed in its own file without anything else in it, so that it can 6 * be digested by SimplerParser in IEMAllInst ructionsPython.py prior processing6 * be digested by SimplerParser in IEMAllInstPython.py prior processing 7 7 * any of the other IEMAllInstruction*.cpp.h files. For instance 8 * IEMAllInst ructionsCommon.cpp.h wouldn't do as it defines several invalid8 * IEMAllInstCommon.cpp.h wouldn't do as it defines several invalid 9 9 * instructions and such that could confuse the parser result. 10 10 */ -
trunk/src/VBox/VMM/VMMAll/IEMAllInstInterpretOnly.cpp
r100732 r100733 84 84 * Include common bits. 85 85 */ 86 #include "IEMAllInst ructionsCommonBodyMacros.h"87 #include "IEMAllInst ructionsCommon.cpp.h"86 #include "IEMAllInstCommonBodyMacros.h" 87 #include "IEMAllInstCommon.cpp.h" 88 88 89 89 … … 92 92 */ 93 93 #ifdef IEM_WITH_3DNOW 94 # include "IEMAllInst ructions3DNow.cpp.h"94 # include "IEMAllInst3DNow.cpp.h" 95 95 #endif 96 96 97 97 #ifdef IEM_WITH_THREE_0F_38 98 # include "IEMAllInst ructionsThree0f38.cpp.h"98 # include "IEMAllInstThree0f38.cpp.h" 99 99 #endif 100 100 101 101 #ifdef IEM_WITH_THREE_0F_3A 102 # include "IEMAllInst ructionsThree0f3a.cpp.h"102 # include "IEMAllInstThree0f3a.cpp.h" 103 103 #endif 104 104 105 #include "IEMAllInst ructionsTwoByte0f.cpp.h"105 #include "IEMAllInstTwoByte0f.cpp.h" 106 106 107 107 #ifdef IEM_WITH_VEX 108 # include "IEMAllInst ructionsVexMap1.cpp.h"109 # include "IEMAllInst ructionsVexMap2.cpp.h"110 # include "IEMAllInst ructionsVexMap3.cpp.h"108 # include "IEMAllInstVexMap1.cpp.h" 109 # include "IEMAllInstVexMap2.cpp.h" 110 # include "IEMAllInstVexMap3.cpp.h" 111 111 #endif 112 112 113 #include "IEMAllInst ructionsOneByte.cpp.h"113 #include "IEMAllInstOneByte.cpp.h" 114 114 -
trunk/src/VBox/VMM/VMMAll/IEMAllInstPython.py
r100732 r100733 5259 5259 return self.printErrors(); 5260 5260 5261 ## The parsed content of IEMAllInst ructionsCommonBodyMacros.h.5261 ## The parsed content of IEMAllInstCommonBodyMacros.h. 5262 5262 g_oParsedCommonBodyMacros = None # type: SimpleParser 5263 5263 … … 5281 5281 5282 5282 # 5283 # On the first call, we parse IEMAllInst ructionsCommonBodyMacros.h so we5283 # On the first call, we parse IEMAllInstCommonBodyMacros.h so we 5284 5284 # can use the macros from it when processing the other files. 5285 5285 # … … 5287 5287 if g_oParsedCommonBodyMacros is None: 5288 5288 # Locate the file. 5289 sCommonBodyMacros = os.path.join(os.path.split(sSrcFile)[0], 'IEMAllInst ructionsCommonBodyMacros.h');5289 sCommonBodyMacros = os.path.join(os.path.split(sSrcFile)[0], 'IEMAllInstCommonBodyMacros.h'); 5290 5290 if not os.path.isfile(sCommonBodyMacros): 5291 sCommonBodyMacros = os.path.join(os.path.split(__file__)[0], 'IEMAllInst ructionsCommonBodyMacros.h');5291 sCommonBodyMacros = os.path.join(os.path.split(__file__)[0], 'IEMAllInstCommonBodyMacros.h'); 5292 5292 5293 5293 # Read it. … … 5368 5368 ## List of all main instruction files and their default maps. 5369 5369 g_aasAllInstrFilesAndDefaultMap = ( 5370 ( 'IEMAllInst ructionsCommon.cpp.h', 'one', ),5371 ( 'IEMAllInst ructionsOneByte.cpp.h', 'one', ),5372 ( 'IEMAllInst ructionsTwoByte0f.cpp.h', 'two0f', ),5373 ( 'IEMAllInst ructionsThree0f38.cpp.h', 'three0f38', ),5374 ( 'IEMAllInst ructionsThree0f3a.cpp.h', 'three0f3a', ),5375 ( 'IEMAllInst ructionsVexMap1.cpp.h', 'vexmap1', ),5376 ( 'IEMAllInst ructionsVexMap2.cpp.h', 'vexmap2', ),5377 ( 'IEMAllInst ructionsVexMap3.cpp.h', 'vexmap3', ),5378 ( 'IEMAllInst ructions3DNow.cpp.h', '3dnow', ),5370 ( 'IEMAllInstCommon.cpp.h', 'one', ), 5371 ( 'IEMAllInstOneByte.cpp.h', 'one', ), 5372 ( 'IEMAllInstTwoByte0f.cpp.h', 'two0f', ), 5373 ( 'IEMAllInstThree0f38.cpp.h', 'three0f38', ), 5374 ( 'IEMAllInstThree0f3a.cpp.h', 'three0f3a', ), 5375 ( 'IEMAllInstVexMap1.cpp.h', 'vexmap1', ), 5376 ( 'IEMAllInstVexMap2.cpp.h', 'vexmap2', ), 5377 ( 'IEMAllInstVexMap3.cpp.h', 'vexmap3', ), 5378 ( 'IEMAllInst3DNow.cpp.h', '3dnow', ), 5379 5379 ); 5380 5380 -
trunk/src/VBox/VMM/VMMAll/IEMAllInstThree0f38.cpp.h
r100732 r100733 3 3 * IEM - Instruction Decoding and Emulation. 4 4 * 5 * @remarks IEMAllInst ructionsVexMap2.cpp.h is a VEX mirror of this file.5 * @remarks IEMAllInstVexMap2.cpp.h is a VEX mirror of this file. 6 6 * Any update here is likely needed in that file too. 7 7 */ -
trunk/src/VBox/VMM/VMMAll/IEMAllInstThree0f3a.cpp.h
r100732 r100733 3 3 * IEM - Instruction Decoding and Emulation, 0x0f 0x3a map. 4 4 * 5 * @remarks IEMAllInst ructionsVexMap3.cpp.h is a VEX mirror of this file.5 * @remarks IEMAllInstVexMap3.cpp.h is a VEX mirror of this file. 6 6 * Any update here is likely needed in that file too. 7 7 */ -
trunk/src/VBox/VMM/VMMAll/IEMAllInstTwoByte0f.cpp.h
r100732 r100733 3 3 * IEM - Instruction Decoding and Emulation. 4 4 * 5 * @remarks IEMAllInst ructionsVexMap1.cpp.h is a VEX mirror of this file.5 * @remarks IEMAllInstVexMap1.cpp.h is a VEX mirror of this file. 6 6 * Any update here is likely needed in that file too. 7 7 */ … … 12239 12239 IEM_MC_FETCH_EFLAGS(EFlags); 12240 12240 12241 #ifdef RT_ARCH_AMD64 /* some code duplication here because IEMAllInst ructionsPython.py cannot parse if/else/#if spaghetti. */12241 #ifdef RT_ARCH_AMD64 /* some code duplication here because IEMAllInstPython.py cannot parse if/else/#if spaghetti. */ 12242 12242 if (IEM_GET_HOST_CPU_FEATURES(pVCpu)->fMovCmpXchg16b) 12243 12243 { -
trunk/src/VBox/VMM/VMMAll/IEMAllInstVexMap1.cpp.h
r100732 r100733 3 3 * IEM - Instruction Decoding and Emulation. 4 4 * 5 * @remarks IEMAllInst ructionsTwoByte0f.cpp.h is a legacy mirror of this file.5 * @remarks IEMAllInstTwoByte0f.cpp.h is a legacy mirror of this file. 6 6 * Any update here is likely needed in that file too. 7 7 */ -
trunk/src/VBox/VMM/VMMAll/IEMAllInstVexMap2.cpp.h
r100732 r100733 3 3 * IEM - Instruction Decoding and Emulation. 4 4 * 5 * @remarks IEMAllInst ructionsThree0f38.cpp.h is a VEX mirror of this file.5 * @remarks IEMAllInstThree0f38.cpp.h is a VEX mirror of this file. 6 6 * Any update here is likely needed in that file too. 7 7 */ -
trunk/src/VBox/VMM/VMMAll/IEMAllInstVexMap3.cpp.h
r100732 r100733 3 3 * IEM - Instruction Decoding and Emulation, 0x0f 0x3a map. 4 4 * 5 * @remarks IEMAllInst ructionsThree0f3a.cpp.h is a VEX mirror of this file.5 * @remarks IEMAllInstThree0f3a.cpp.h is a VEX mirror of this file. 6 6 * Any update here is likely needed in that file too. 7 7 */ -
trunk/src/VBox/VMM/VMMAll/IEMAllThrdPython.py
r100732 r100733 5 5 6 6 """ 7 Annotates and generates threaded functions from IEMAllInst ructions*.cpp.h.7 Annotates and generates threaded functions from IEMAllInst*.cpp.h. 8 8 """ 9 9 … … 42 42 import argparse; 43 43 44 import IEMAllInst ructionsPython as iai;44 import IEMAllInstPython as iai; 45 45 46 46 … … 945 945 946 946 def __init__(self, oMcBlock): 947 self.oMcBlock = oMcBlock # type: IEMAllInst ructionsPython.McBlock947 self.oMcBlock = oMcBlock # type: IEMAllInstPython.McBlock 948 948 ## Variations for this block. There is at least one. 949 949 self.aoVariations = [] # type: list(ThreadedFunctionVariation) … … 1189 1189 self.aoThreadedFuncs = [] # type: list(ThreadedFunction) 1190 1190 self.oOptions = None # type: argparse.Namespace 1191 self.aoParsers = [] # type: list(IEMAllInst ructionsPython.SimpleParser)1191 self.aoParsers = [] # type: list(IEMAllInstPython.SimpleParser) 1192 1192 1193 1193 # … … 1566 1566 iThreadedFunction = 0; 1567 1567 oThreadedFunction = self.getThreadedFunctionByIndex(0); 1568 for oParser in self.aoParsers: # type: IEMAllInst ructionsPython.SimpleParser1568 for oParser in self.aoParsers: # type: IEMAllInstPython.SimpleParser 1569 1569 oOut.write("\n\n/* ****** BEGIN %s ******* */\n" % (oParser.sSrcFile,)); 1570 1570 … … 1641 1641 oParser.add_argument('asInFiles', metavar = 'input.cpp.h', nargs = '*', 1642 1642 default = [os.path.join(sScriptDir, asFM[0]) for asFM in iai.g_aasAllInstrFilesAndDefaultMap], 1643 help = "Selection of VMMAll/IEMAllInst ructions*.cpp.h files to use as input.");1643 help = "Selection of VMMAll/IEMAllInst*.cpp.h files to use as input."); 1644 1644 oParser.add_argument('--out-funcs-hdr', metavar = 'file-funcs.h', dest = 'sOutFileFuncsHdr', action = 'store', 1645 1645 default = '-', help = 'The output header file for the functions.'); … … 1650 1650 oParser.add_argument('--help', '-h', '-?', action = 'help', help = 'Display help and exit.'); 1651 1651 oParser.add_argument('--version', '-V', action = 'version', 1652 version = 'r%s (IEMAllThreadedPython.py), r%s (IEMAllInst ructionsPython.py)'1652 version = 'r%s (IEMAllThreadedPython.py), r%s (IEMAllInstPython.py)' 1653 1653 % (__version__.split()[1], iai.__version__.split()[1],), 1654 1654 help = 'Displays the version/revision of the script and exit.'); -
trunk/src/VBox/VMM/VMMAll/IEMAllThrdRecompiler.cpp
r100732 r100733 610 610 611 611 /* 612 * Include the "annotated" IEMAllInst ructions*.cpp.h files.612 * Include the "annotated" IEMAllInst*.cpp.h files. 613 613 */ 614 614 #include "IEMThreadedInstructions.cpp.h"
Note:
See TracChangeset
for help on using the changeset viewer.