VirtualBox

Changeset 65763 in vbox


Ignore:
Timestamp:
Feb 13, 2017 12:51:30 PM (8 years ago)
Author:
vboxsync
Message:

CPUM: Added fXop to CPUMFEATURES.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpum.h

    r65493 r65763  
    10171017    /** AMD64: Supports MOV CR8 in 32-bit code (lock prefix hack). */
    10181018    uint32_t        fMovCr8In32Bit : 1;
     1019    /** AMD64: Supports XOP (similar to VEX3/AVX). */
     1020    uint32_t        fXop : 1;
    10191021
    10201022    /** Indicates that FPU instruction and data pointers may leak.
     
    10241026
    10251027    /** Alignment padding / reserved for future use. */
    1026     uint32_t        fPadding : 28;
     1028    uint32_t        fPadding : 27;
    10271029    uint32_t        auPadding[3];
    10281030} CPUMFEATURES;
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r65493 r65763  
    16781678            pFeatures->fTsc            |= RT_BOOL(pExtLeaf->uEdx & X86_CPUID_AMD_FEATURE_EDX_TSC);
    16791679            pFeatures->fAmdMmxExts      = RT_BOOL(pExtLeaf->uEdx & X86_CPUID_AMD_FEATURE_EDX_AXMMX);
     1680            pFeatures->fXop             = RT_BOOL(pExtLeaf->uEdx & X86_CPUID_AMD_FEATURE_ECX_XOP);
    16801681        }
    16811682
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