VirtualBox

Ignore:
Timestamp:
Jun 29, 2022 10:40:14 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152046
Message:

VMM/IEM: [v]andps, [v]andpd, [v]pand, [v]andnps, [v]andnpd, [v]pandn, [v]orps, [v]orpd, and [v]por. bugref:9898

File:
1 edited

Legend:

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

    r94768 r95441  
    420420/**
    421421 * Done decoding VEX instruction, raise \#UD exception if any lock, rex, repz,
     422 * repnz or size prefixes are present, if in real or v8086 mode, or if the
     423 * a_fFeature is present in the guest CPU.
     424 */
     425#define IEMOP_HLP_DONE_VEX_DECODING_EX(a_fFeature) \
     426    do \
     427    { \
     428        if (RT_LIKELY(   !(  pVCpu->iem.s.fPrefixes \
     429                           & (IEM_OP_PRF_LOCK | IEM_OP_PRF_REPZ | IEM_OP_PRF_REPNZ | IEM_OP_PRF_SIZE_OP | IEM_OP_PRF_REX)) \
     430                      && !IEM_IS_REAL_OR_V86_MODE(pVCpu) \
     431                      && IEM_GET_GUEST_CPU_FEATURES(pVCpu)->a_fFeature)) \
     432        { /* likely */ } \
     433        else \
     434            return IEMOP_RAISE_INVALID_LOCK_PREFIX(); \
     435    } while (0)
     436
     437/**
     438 * Done decoding VEX instruction, raise \#UD exception if any lock, rex, repz,
    422439 * repnz or size prefixes are present, or if in real or v8086 mode.
    423440 */
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