VirtualBox

Ignore:
Timestamp:
May 16, 2023 4:32:30 PM (20 months ago)
Author:
vboxsync
Message:

IEM: Added a separate CPU flag to enable VEX decoding to allow BMI1/2 to be enabled without AVX (see bugref:5653).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllInstructionsOneByte.cpp.h

    r99685 r99814  
    71677167    {
    71687168        IEMOP_MNEMONIC(vex3_prefix, "vex3");
    7169         if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fAvx)
     7169        if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fVex)
    71707170        {
    71717171            /* Note! The real mode, v8086 mode and invalid prefix checks are done once
     
    72147214            }
    72157215        }
    7216         Log(("VEX3: AVX support disabled!\n"));
     7216        Log(("VEX3: VEX support disabled!\n"));
    72177217        return IEMOP_RAISE_INVALID_OPCODE();
    72187218    }
     
    72397239    {
    72407240        IEMOP_MNEMONIC(vex2_prefix, "vex2");
    7241         if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fAvx)
     7241        if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fVex)
    72427242        {
    72437243            /* Note! The real mode, v8086 mode and invalid prefix checks are done once
     
    72597259
    72607260        /** @todo does intel completely decode the sequence with SIB/disp before \#UD? */
    7261         Log(("VEX2: AVX support disabled!\n"));
     7261        Log(("VEX2: VEX support disabled!\n"));
    72627262        return IEMOP_RAISE_INVALID_OPCODE();
    72637263    }
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