VirtualBox

Ignore:
Timestamp:
Jun 7, 2023 3:14:56 PM (18 months ago)
Author:
vboxsync
Message:

VMM/IEM: Adjusted/reworked the relative jump MCs in the threaded function file. bugref:10369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllThreadedPython.py

    r100089 r100096  
    236236                return 'int8_t';
    237237            if sRef.startswith('i16'):
    238                 return 'int32_t';
     238                return 'int16_t';
    239239            if sRef.startswith('i32'):
    240240                return 'int32_t';
     
    404404                                        'IEM_MC_REL_JMP_S16_AND_FINISH', 'IEM_MC_REL_JMP_S32_AND_FINISH'):
    405405                    oNewStmt.asParams.append(self.dParamRefs['cbInstr'][0].sNewName);
    406                     if oNewStmt.sName in ('IEM_MC_REL_JMP_S8_AND_FINISH',  'IEM_MC_REL_JMP_S32_AND_FINISH'):
     406                    if (    oNewStmt.sName in ('IEM_MC_REL_JMP_S8_AND_FINISH', )
     407                        and self.sVariation != self.ksVariation_16_Pre386):
    407408                        oNewStmt.asParams.append(self.dParamRefs['pVCpu->iem.s.enmEffOpSize'][0].sNewName);
    408409                    oNewStmt.sName += '_THREADED';
     
    537538                self.aoParamRefs.append(ThreadedParamRef('IEM_GET_INSTR_LEN(pVCpu)', 'uint4_t', oStmt, sStdRef = 'cbInstr'));
    538539
    539             if oStmt.sName in ('IEM_MC_REL_JMP_S8_AND_FINISH',  'IEM_MC_REL_JMP_S32_AND_FINISH'):
     540            if (    oStmt.sName in ('IEM_MC_REL_JMP_S8_AND_FINISH',)
     541                and self.sVariation != self.ksVariation_16_Pre386):
    540542                self.aoParamRefs.append(ThreadedParamRef('pVCpu->iem.s.enmEffOpSize', 'IEMMODE', oStmt));
    541543
Note: See TracChangeset for help on using the changeset viewer.

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