Changeset 103155 in vbox
- Timestamp:
- Feb 1, 2024 12:18:11 AM (8 months ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
-
VMMAll/IEMAllInstPython.py (modified) (2 diffs)
-
VMMAll/IEMAllN8vePython.py (modified) (1 diff)
-
include/IEMMc.h (modified) (1 diff)
-
testcase/tstIEMCheckMc.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllInstPython.py
r102978 r103155 2715 2715 offRef = oStmt.sName.find("_REF_"); 2716 2716 if offRef > 0: 2717 if oStmt.sName not in ('IEM_MC_REF_LOCAL', ): 2718 if oStmt.sName in ('IEM_MC_IF_FPUREG_NOT_EMPTY_REF_R80', 2719 'IEM_MC_IF_TWO_FPUREGS_NOT_EMPTY_REF_R80', 2720 'IEM_MC_IF_TWO_FPUREGS_NOT_EMPTY_REF_R80_FIRST',): 2721 sClass = 'FPUREG'; 2717 if oStmt.sName in ('IEM_MC_IF_FPUREG_NOT_EMPTY_REF_R80', 2718 'IEM_MC_IF_TWO_FPUREGS_NOT_EMPTY_REF_R80', 2719 'IEM_MC_IF_TWO_FPUREGS_NOT_EMPTY_REF_R80_FIRST',): 2720 sClass = 'FPUREG'; 2721 else: 2722 offUnderscore = oStmt.sName.find('_', offRef + 5); 2723 if offUnderscore > 0: 2724 assert offUnderscore > offRef; 2725 sClass = oStmt.sName[offRef + 5 : offUnderscore]; 2722 2726 else: 2723 offUnderscore = oStmt.sName.find('_', offRef + 5); 2724 if offUnderscore > 0: 2725 assert offUnderscore > offRef; 2726 sClass = oStmt.sName[offRef + 5 : offUnderscore]; 2727 else: 2728 sClass = oStmt.sName[offRef + 5]; 2729 asRegRefClasses[sClass] = True; 2727 sClass = oStmt.sName[offRef + 5]; 2728 asRegRefClasses[sClass] = True; 2730 2729 else: 2731 2730 offFetch = oStmt.sName.find("_FETCH_"); … … 3107 3106 'IEM_MC_REF_GREG_U8': (McBlock.parseMcGeneric, False, False, False, ), # threaded 3108 3107 'IEM_MC_REF_GREG_U8_CONST': (McBlock.parseMcGeneric, False, False, False, ), # threaded 3109 'IEM_MC_REF_LOCAL': (McBlock.parseMcGeneric, False, False, False, ), # eliminate!3110 3108 'IEM_MC_REF_MREG_U32_CONST': (McBlock.parseMcGeneric, False, False, False, ), 3111 3109 'IEM_MC_REF_MREG_U64': (McBlock.parseMcGeneric, False, False, False, ), -
trunk/src/VBox/VMM/VMMAll/IEMAllN8vePython.py
r102977 r103155 286 286 asVarsInScope.append(oStmt.sVarName); 287 287 288 elif oStmt.sName == 'IEM_MC_REF_LOCAL':289 dVars[oStmt.asParams[0]].makeReference(dVars[oStmt.asParams[1]], self);290 291 288 # 292 289 # Now work the statements backwards and look for the last reference to -
trunk/src/VBox/VMM/include/IEMMc.h
r102977 r103155 199 199 #define IEM_MC_LOCAL_ASSIGN(a_Type, a_Name, a_Value) a_Type a_Name = (a_Value) 200 200 #define IEM_MC_LOCAL_CONST(a_Type, a_Name, a_Value) a_Type const a_Name = (a_Value) 201 /** @deprecated Use IEM_MC_ARG_LOCAL_REF instead! */202 #define IEM_MC_REF_LOCAL(a_pRefArg, a_Local) (a_pRefArg) = &(a_Local)203 201 #define IEM_MC_ARG(a_Type, a_Name, a_iArg) a_Type a_Name 204 202 #define IEM_MC_ARG_CONST(a_Type, a_Name, a_Value, a_iArg) a_Type const a_Name = (a_Value) -
trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp
r102977 r103155 610 610 a_Type a_Name = (a_Value); \ 611 611 NOREF(a_Name) 612 #define IEM_MC_REF_LOCAL(a_pRefArg, a_Local) (void)fMcBegin; \613 (a_pRefArg) = &(a_Local)614 612 615 613 #define IEM_MC_ARG(a_Type, a_Name, a_iArg) (void)fMcBegin; \
Note:
See TracChangeset
for help on using the changeset viewer.

