Changeset 108370 in vbox
- Timestamp:
- Feb 25, 2025 1:26:43 PM (8 weeks ago)
- svn:sync-xref-src-repo-rev:
- 167731
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllThrdRecompiler.cpp
r108369 r108370 3544 3544 DECL_FORCE_INLINE(PIEMTB *) iemTbGetTbLookupEntryWithRip(PCIEMTB pTb, uint8_t uTbLookup, uint64_t uRip) 3545 3545 { 3546 uint8_t const idx = IEM_TB_LOOKUP_TAB_GET_IDX_WITH_ RIP(uTbLookup, uRip);3546 uint8_t const idx = IEM_TB_LOOKUP_TAB_GET_IDX_WITH_PC(uTbLookup, uRip); 3547 3547 Assert(idx < pTb->cTbLookupEntries); 3548 3548 return IEMTB_GET_TB_LOOKUP_TAB_ENTRY(pTb, idx); -
trunk/src/VBox/VMM/include/IEMInternal.h
r108369 r108370 1284 1284 /** Get the first lookup table index from IEMTHRDEDCALLENTRY::uTbLookup. */ 1285 1285 #define IEM_TB_LOOKUP_TAB_GET_IDX(a_uTbLookup) ((a_uTbLookup) & 0x7f) 1286 /** Get the lookup table index from IEMTHRDEDCALLENTRY::uTbLookup and RIP. */1287 #define IEM_TB_LOOKUP_TAB_GET_IDX_WITH_ RIP(a_uTbLookup, a_Rip) \1288 (!((a_uTbLookup) & 0x80) ? (a_uTbLookup) & 0x7f : ((a_uTbLookup) & 0x7f) + ((a_ Rip) & (IEM_TB_LOOKUP_TAB_LARGE_SIZE - 1)) )1286 /** Get the lookup table index from IEMTHRDEDCALLENTRY::uTbLookup and PC. */ 1287 #define IEM_TB_LOOKUP_TAB_GET_IDX_WITH_PC(a_uTbLookup, a_Pc) \ 1288 (!((a_uTbLookup) & 0x80) ? (a_uTbLookup) & 0x7f : ((a_uTbLookup) & 0x7f) + ((a_Pc) & (IEM_TB_LOOKUP_TAB_LARGE_SIZE - 1)) ) 1289 1289 1290 1290 /** Make a IEMTHRDEDCALLENTRY::uTbLookup value. */
Note:
See TracChangeset
for help on using the changeset viewer.