VirtualBox

Changeset 102741 in vbox


Ignore:
Timestamp:
Jan 1, 2024 2:14:58 AM (11 months ago)
Author:
vboxsync
Message:

VMM/IEM: Corrected two more 8-bit host register messups on x86, also triggered by r160825. bugref:10371

File:
1 edited

Legend:

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

    r102736 r102741  
    12191219    if (iGprDst >= 8 || iGprSrc >= 8)
    12201220        pbCodeBuf[off++] = (iGprDst < 8 ? 0 : X86_OP_REX_R) | (iGprSrc < 8 ? 0 : X86_OP_REX_B);
     1221    else if (iGprSrc >= 4)
     1222        pbCodeBuf[off++] = X86_OP_REX;
    12211223    pbCodeBuf[off++] = 0x0f;
    12221224    pbCodeBuf[off++] = 0xbe;
     
    12491251    if (iGprDst >= 8 || iGprSrc >= 8)
    12501252        pbCodeBuf[off++] = (iGprDst < 8 ? 0 : X86_OP_REX_R) | (iGprSrc < 8 ? 0 : X86_OP_REX_B);
     1253    else if (iGprSrc >= 4)
     1254        pbCodeBuf[off++] = X86_OP_REX;
    12511255    pbCodeBuf[off++] = 0x0f;
    12521256    pbCodeBuf[off++] = 0xbe;
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