- Timestamp:
- Aug 2, 2023 8:03:13 AM (19 months ago)
- svn:sync-xref-src-repo-rev:
- 158657
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllThrdPython.py
r100761 r100778 386 386 387 387 sRegRef = oStmt.asParams[idxReg]; 388 if sRegRef.startswith('IEM_GET_MODRM_RM') >= 0: 389 sOrgExpr = 'IEM_GET_MODRM_RM_EX8(pVCpu, %s)' % (sRegRef,); 390 elif sRegRef.startswith('IEM_GET_MODRM_REG') >= 0: 391 sOrgExpr = 'IEM_GET_MODRM_REG_EX8(pVCpu, %s)' % (sRegRef,); 388 if sRegRef.startswith('IEM_GET_MODRM_RM') or sRegRef.startswith('IEM_GET_MODRM_REG'): 389 asBits = [sBit.strip() for sBit in sRegRef.replace('(', ',').replace(')', '').split(',')]; 390 if len(asBits) != 3 or asBits[1] != 'pVCpu' or (asBits[0] != 'IEM_GET_MODRM_RM' and asBits[0] != 'IEM_GET_MODRM_REG'): 391 self.raiseProblem('Unexpected reference: %s (asBits=%s)' % (sRegRef, asBits)); 392 sOrgExpr = asBits[0] + '_EX8(pVCpu, ' + asBits[2] + ')'; 392 393 else: 393 394 sOrgExpr = '((%s) < 4 || (pVCpu->iem.s.fPrefixes & IEM_OP_PRF_REX) ? (%s) : (%s) + 12)' % (sRegRef, sRegRef, sRegRef);
Note:
See TracChangeset
for help on using the changeset viewer.