VirtualBox

Ignore:
Timestamp:
Mar 5, 2024 7:37:55 PM (14 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162059
Message:

VMM/IEM: iemNativeEmit_adc_r_r_efl fix for amd64 hosts. bugref:10376

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veEmit-x86.h

    r103691 r103692  
    544544    /* On AMD64 we use BT to set EFLAGS.CF and then issue an ADC instruction
    545545       with matching size to get the correct flags. */
    546     PIEMNATIVEINSTR const pCodeBuf = iemNativeInstrBufEnsure(pReNative, off, 9)
     546    PIEMNATIVEINSTR const pCodeBuf = iemNativeInstrBufEnsure(pReNative, off, 9);
    547547
    548548    /* Use the BT instruction to set CF according to idxRegEfl. */
    549     pCodeBuf[off++] = iemNativeEmitAmd64TwoByteModRmInstrRREx(pCodeBuf, off, 0x0f, 0x0b, 0xba, 32 /*cOpBits*/, 4, idxRegEfl);
     549    off = iemNativeEmitAmd64TwoByteModRmInstrRREx(pCodeBuf, off, 0x0f, 0x0b, 0xba, 32 /*cOpBits*/, 4, idxRegEfl);
    550550    pCodeBuf[off++] = X86_EFL_CF_BIT;
    551551
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette