Changeset 95361 in vbox
- Timestamp:
- Jun 23, 2022 9:47:01 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151955
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
r95348 r95361 1391 1391 //| X86_CPUID_FEATURE_ECX_X2APIC - turned on later by the device if enabled. 1392 1392 | PASSTHRU_FEATURE_TODO(pConfig->enmMovBe, X86_CPUID_FEATURE_ECX_MOVBE) 1393 | PASSTHRU_FEATURE _TODO(pConfig->enmPopCnt, X86_CPUID_FEATURE_ECX_POPCNT)1393 | PASSTHRU_FEATURE(pConfig->enmPopCnt, pHstFeat->fPopCnt, X86_CPUID_FEATURE_ECX_POPCNT) 1394 1394 //| X86_CPUID_FEATURE_ECX_TSCDEADL - not implemented yet. 1395 1395 | PASSTHRU_FEATURE_TODO(pConfig->enmAesNi, X86_CPUID_FEATURE_ECX_AES) … … 1593 1593 /* Note: This could prevent teleporting from AMD to Intel CPUs! */ 1594 1594 | X86_CPUID_AMD_FEATURE_ECX_CR8L /* expose lock mov cr0 = mov cr8 hack for guests that can use this feature to access the TPR. */ 1595 | PASSTHRU_FEATURE _TODO(pConfig->enmAbm,X86_CPUID_AMD_FEATURE_ECX_ABM)1595 | PASSTHRU_FEATURE(pConfig->enmAbm, pHstFeat->fAbm, X86_CPUID_AMD_FEATURE_ECX_ABM) 1596 1596 | PASSTHRU_FEATURE_TODO(pConfig->enmSse4A, X86_CPUID_AMD_FEATURE_ECX_SSE4A) 1597 1597 | PASSTHRU_FEATURE_TODO(pConfig->enmMisAlnSse, X86_CPUID_AMD_FEATURE_ECX_MISALNSSE) … … 2873 2873 AssertLogRelRCReturn(rc, rc); 2874 2874 2875 /** @cfgm{/CPUM/IsaExts/POPCNT, isaextcfg, depends} 2876 * Whether to expose the POPCNT instructions to the guest. For the time 2877 * being the default is to only do this for VMs with nested paging and AMD-V or 2878 * unrestricted guest mode. 2879 */ 2880 rc = cpumR3CpuIdReadIsaExtCfg(pVM, pIsaExts, "POPCNT", &pConfig->enmPopCnt, fNestedPagingAndFullGuestExec); 2875 /** @cfgm{/CPUM/IsaExts/POPCNT, isaextcfg, true} 2876 * Whether to expose the POPCNT instructions to the guest. 2877 */ 2878 rc = cpumR3CpuIdReadIsaExtCfg(pVM, pIsaExts, "POPCNT", &pConfig->enmPopCnt, CPUMISAEXTCFG_ENABLED_SUPPORTED); 2881 2879 AssertLogRelRCReturn(rc, rc); 2882 2880
Note:
See TracChangeset
for help on using the changeset viewer.