VirtualBox

Changeset 103586 in vbox


Ignore:
Timestamp:
Feb 27, 2024 12:29:53 PM (9 months ago)
Author:
vboxsync
Message:

VMM/CPUM: Expose movbe instruction to the guest if available on the host or we are on arm64 as they are fully implemented in IEM, bugref:9898 bugref:10371

Location:
trunk/src/VBox/VMM/VMMR3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUM.cpp

    r103046 r103586  
    22472247    pVM->cpum.s.HostFeatures.fSse42      = true;
    22482248    pVM->cpum.s.HostFeatures.fLahfSahf   = true;
     2249    pVM->cpum.s.HostFeatures.fMovBe      = true;
    22492250#endif
    22502251
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r102942 r103586  
    14031403                           | PASSTHRU_FEATURE(pConfig->enmSse42, pHstFeat->fSse42, X86_CPUID_FEATURE_ECX_SSE4_2)
    14041404                           //| X86_CPUID_FEATURE_ECX_X2APIC - turned on later by the device if enabled.
    1405                            | PASSTHRU_FEATURE_TODO(pConfig->enmMovBe, X86_CPUID_FEATURE_ECX_MOVBE)
     1405                           | PASSTHRU_FEATURE(pConfig->enmMovBe, pHstFeat->fMovBe, X86_CPUID_FEATURE_ECX_MOVBE)
    14061406                           | PASSTHRU_FEATURE(pConfig->enmPopCnt, pHstFeat->fPopCnt, X86_CPUID_FEATURE_ECX_POPCNT)
    14071407                           //| X86_CPUID_FEATURE_ECX_TSCDEADL - not implemented yet.
     
    29502950     * unrestricted guest mode.
    29512951     */
    2952     rc = cpumR3CpuIdReadIsaExtCfg(pVM, pIsaExts, "MOVBE", &pConfig->enmMovBe, fNestedPagingAndFullGuestExec);
     2952    rc = cpumR3CpuIdReadIsaExtCfg(pVM, pIsaExts, "MOVBE", &pConfig->enmMovBe, true);
    29532953    AssertLogRelRCReturn(rc, rc);
    29542954
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