VirtualBox

Ignore:
Timestamp:
Jun 26, 2024 10:33:48 PM (7 months ago)
Author:
vboxsync
Message:

VMM/IEM: Split the TLB into non-global (even) and global (odd) entries, doubling it in size. In native code the global entries are only checked for ring-0 TBs, as checking both entries is slower than just the even one. bugref:10687

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IEMN8veRecompilerEmit.h

    r104984 r105036  
    68996899    {
    69006900        pbCodeBuf[offFixup + 1] = (uint8_t)(offTarget - (offFixup + 2));
    6901         AssertStmt(pbCodeBuf[offFixup + 1] == offTarget - (offFixup + 2),
     6901        AssertStmt((int8_t)pbCodeBuf[offFixup + 1] == (int32_t)(offTarget - (offFixup + 2)),
    69026902                   IEMNATIVE_DO_LONGJMP(pReNative, VERR_IEM_EMIT_FIXED_JUMP_OUT_OF_RANGE));
    69036903    }
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