Changeset 100671 in vbox
- Timestamp:
- Jul 21, 2023 12:28:24 AM (20 months ago)
- svn:sync-xref-src-repo-rev:
- 158511
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllThreadedRecompiler.cpp
r100327 r100671 1108 1108 static VBOXSTRICTRC iemThreadedTbExec(PVMCPUCC pVCpu, PIEMTB pTb) 1109 1109 { 1110 if (memcmp(pTb->pabOpcodes, &pVCpu->iem.s.pbInstrBuf[pVCpu->iem.s.offInstrNextByte], 1111 RT_MIN(pTb->cbOpcodes, pVCpu->iem.s.cbInstrBuf - pVCpu->iem.s.offInstrNextByte)) == 0) 1112 { /* likely */ } 1110 /* Check the opcodes in the first page before starting execution. */ 1111 uint32_t const cbLeadOpcodes = RT_MIN(pTb->cbOpcodes, pVCpu->iem.s.cbInstrBufTotal - pVCpu->iem.s.offInstrNextByte); 1112 if (memcmp(pTb->pabOpcodes, &pVCpu->iem.s.pbInstrBuf[pVCpu->iem.s.offInstrNextByte], cbLeadOpcodes) == 0) 1113 Assert( pTb->cbOpcodes == cbLeadOpcodes 1114 || cbLeadOpcodes == (GUEST_PAGE_SIZE - (pTb->GCPhysPc & GUEST_PAGE_OFFSET_MASK))); 1113 1115 else 1114 1116 {
Note:
See TracChangeset
for help on using the changeset viewer.