VirtualBox

Changeset 97070 in vbox


Ignore:
Timestamp:
Oct 10, 2022 3:25:06 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154020
Message:

CPUM: Added a (forgotten?) flag for AES-NI CPUID feature.

Location:
trunk
Files:
2 edited

Legend:

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

    r96979 r97070  
    11281128    /** Support PCLMULQDQ instruction. */
    11291129    uint32_t        fPclMul : 1;
     1130    /** Supports AES-NI (six AESxxx instructions). */
     1131    uint32_t        fAesNi : 1;
    11301132
    11311133    /** Supports AMD 3DNow instructions. */
     
    11881190    /** Alignment padding / reserved for future use (96 bits total, plus 12 bytes
    11891191     *  prior to the bit fields -> total of 24 bytes) */
    1190     uint32_t        fPadding0 : 31;
     1192    uint32_t        fPadding0 : 30;
    11911193
    11921194
  • trunk/src/VBox/VMM/VMMAll/CPUMAllCpuId.cpp

    r96652 r97070  
    14361436        pFeatures->fSse41               = RT_BOOL(pStd1Leaf->uEcx & X86_CPUID_FEATURE_ECX_SSE4_1);
    14371437        pFeatures->fSse42               = RT_BOOL(pStd1Leaf->uEcx & X86_CPUID_FEATURE_ECX_SSE4_2);
     1438        pFeatures->fAesNi               = RT_BOOL(pStd1Leaf->uEcx & X86_CPUID_FEATURE_ECX_AES);
    14381439        pFeatures->fAvx                 = RT_BOOL(pStd1Leaf->uEcx & X86_CPUID_FEATURE_ECX_AVX);
    14391440        pFeatures->fTsc                 = RT_BOOL(pStd1Leaf->uEdx & X86_CPUID_FEATURE_EDX_TSC);
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