Changeset 102889 in vbox
- Timestamp:
- Jan 16, 2024 11:07:08 AM (14 months ago)
- svn:sync-xref-src-repo-rev:
- 161111
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r102807 r102889 2228 2228 pVM->cpum.s.HostFeatures = g_CpumHostFeatures.s; 2229 2229 pVM->cpum.s.GuestFeatures.enmCpuVendor = pVM->cpum.s.HostFeatures.enmCpuVendor; 2230 2231 #elif defined(RT_ARCH_ARM64) 2232 /** @todo we shouldn't be using the x86/AMD64 CPUMFEATURES for HostFeatures, 2233 * but it's too much work to fix that now. So, instead we just set 2234 * the bits we think are important for CPUMR3CpuId... This must 2235 * correspond to what IEM can emulate on ARM64. */ 2236 pVM->cpum.s.HostFeatures.fCmpXchg8b = true; 2237 pVM->cpum.s.HostFeatures.fCmpXchg16b = true; 2238 pVM->cpum.s.HostFeatures.fPopCnt = true; 2230 2239 #endif 2231 2240
Note:
See TracChangeset
for help on using the changeset viewer.