Lines Matching refs:uOpcode

1461              && (pCpu->pCurInstr->uOpcode == OP_JMP || pCpu->pCurInstr->uOpcode == OP_CALL)
1466 || (pCpu->pCurInstr->uOpcode == OP_CALL && !(pPatch->flags & PATMFL_SUPPORT_CALLS))
1476 if (pPatch->opcode == OP_CLI && pCpu->pCurInstr->uOpcode == OP_JMP)
1490 if (pCurInstrGC != pInstrGC && pCpu->pCurInstr->uOpcode == OP_PUSHF)
1498 if (pCpu->pCurInstr->uOpcode == OP_RETF)
1504 else if ( pCpu->pCurInstr->uOpcode == OP_INT3
1505 || pCpu->pCurInstr->uOpcode == OP_INT
1506 || pCpu->pCurInstr->uOpcode == OP_INTO)
1521 switch (pCpu->pCurInstr->uOpcode)
1543 if (pCpu->pCurInstr->uOpcode == OP_POPF)
1625 && (pCpu->pCurInstr->uOpcode == OP_JMP || pCpu->pCurInstr->uOpcode == OP_CALL)
1630 || (pCpu->pCurInstr->uOpcode == OP_CALL && !(pPatch->flags & PATMFL_SUPPORT_CALLS))
1639 if (pCpu->pCurInstr->uOpcode == OP_RETF)
1645 if (pCpu->pCurInstr->uOpcode == OP_INT3 || pCpu->pCurInstr->uOpcode == OP_INT || pCpu->pCurInstr->uOpcode == OP_INTO)
1653 if (pCpu->pCurInstr->fOpType & DISOPTYPE_PRIVILEGED && pCpu->pCurInstr->uOpcode != OP_STI)
1670 switch (pCpu->pCurInstr->uOpcode)
1770 && (pCpu->pCurInstr->uOpcode != OP_CALL || (pPatch->flags & PATMFL_SUPPORT_CALLS))
1780 if (pCpu->pCurInstr->uOpcode == OP_CALL)
1788 rc = patmPatchGenRelJump(pVM, pPatch, pTargetGC, pCpu->pCurInstr->uOpcode, !!(pCpu->fPrefix & DISPREFIX_OPSIZE));
1796 switch (pCpu->pCurInstr->uOpcode)
2203 if (pCpu->pCurInstr->uOpcode == OP_INT3)
2215 if (!disret || cpu.pCurInstr->uOpcode != OP_CALL || cpu.Param1.cb != 4 /* only near calls */)
2221 if ( pCpu->pCurInstr->uOpcode == OP_ILLUD2
2228 if ( (pCpu->pCurInstr->uOpcode == OP_CALL && !(pPatch->flags & PATMFL_SUPPORT_CALLS))
2229 || pCpu->pCurInstr->uOpcode == OP_INT
2230 || pCpu->pCurInstr->uOpcode == OP_IRET
2231 || pCpu->pCurInstr->uOpcode == OP_RETN
2232 || pCpu->pCurInstr->uOpcode == OP_RETF
2238 if (pCpu->pCurInstr->uOpcode == OP_ILLUD2)
2316 && cpu.pCurInstr->uOpcode != OP_CALL /* complete functions are replaced; don't bother here. */
2348 if (cpu.pCurInstr->uOpcode == OP_CALL) pPatch->pTempInfo->nrCalls++;
2350 if (cpu.pCurInstr->uOpcode == OP_CALL) pPatch->pTempInfo->nrCalls--;
2356 if (cpu.pCurInstr->uOpcode == OP_JMP)
2492 switch(cpunext.pCurInstr->uOpcode)
2513 if (cpunext.pCurInstr->uOpcode != OP_CLI)
2536 && cpu.pCurInstr->uOpcode != OP_CALL /* complete functions are replaced; don't bother here. */
2580 if (cpu.pCurInstr->uOpcode == OP_CALL) pPatch->pTempInfo->nrCalls++;
2582 if (cpu.pCurInstr->uOpcode == OP_CALL) pPatch->pTempInfo->nrCalls--;
2805 * @param uOpcode Instruction opcode
2813 uint32_t uOpcode, uint32_t uOpSize, PPATMPATCHREC pPatchRec)
2827 switch (uOpcode)
2842 AssertMsg(0, ("patmR3PatchBlock: Invalid opcode %x\n", uOpcode));
3065 if (disret && cpuPush.pCurInstr->uOpcode == OP_PUSH)
3073 && cpuJmp.pCurInstr->uOpcode == OP_JMP
3663 Assert((pCpu->pCurInstr->uOpcode == OP_CALL || pCpu->pCurInstr->uOpcode == OP_JMP) && pCpu->cbInstr == SIZEOF_NEARJUMP32);
3665 if ((pCpu->pCurInstr->uOpcode != OP_CALL && pCpu->pCurInstr->uOpcode != OP_JMP) || pCpu->cbInstr != SIZEOF_NEARJUMP32)
3695 if (disret == false || cpu.pCurInstr->uOpcode != OP_JMP)
3988 switch (pCpu->pCurInstr->uOpcode)
4372 pPatchRec->patch.opcode = cpu.pCurInstr->uOpcode;
4375 Assert(!(flags & PATMFL_INSTR_HINT) || cpu.pCurInstr->uOpcode == OP_CLI);
4438 switch (cpu.pCurInstr->uOpcode)
4458 switch (cpu.pCurInstr->uOpcode)
4502 rc = patmR3PatchBlock(pVM, pInstrGC, pInstrHC, cpu.pCurInstr->uOpcode, cbInstr, pPatchRec);
5394 && (cpu.pCurInstr->uOpcode == OP_JMP || (cpu.pCurInstr->fOpType & DISOPTYPE_COND_CONTROLFLOW))
6453 && ( Cpu.pCurInstr->uOpcode == OP_PUSHF
6454 || Cpu.pCurInstr->uOpcode == OP_PUSH
6455 || Cpu.pCurInstr->uOpcode == OP_CALL)
6462 if (Cpu.pCurInstr->uOpcode == OP_PUSH)
6584 if (disret && cpu.pCurInstr->uOpcode == OP_RETN)
6623 if (disret && (cpu.pCurInstr->uOpcode == OP_SYSEXIT || cpu.pCurInstr->uOpcode == OP_HLT || cpu.pCurInstr->uOpcode == OP_INT3))
6630 Assert(cpu.pCurInstr->uOpcode == OP_SYSEXIT || cpu.pCurInstr->uOpcode == OP_HLT || cpu.pCurInstr->uOpcode == OP_IRET);