- Timestamp:
- May 16, 2023 4:32:30 PM (20 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum-x86-amd64.h
r99648 r99814 916 916 uint32_t fLeakyFxSR : 1; 917 917 918 /** Supports VEX instruction encoding (AVX, BMI, etc.). */ 919 uint32_t fVex : 1; 920 918 921 /** AMD64: Supports AMD SVM. */ 919 922 uint32_t fSvm : 1; … … 945 948 /** Alignment padding / reserved for future use (96 bits total, plus 12 bytes 946 949 * prior to the bit fields -> total of 24 bytes) */ 947 uint32_t fPadding0 : 2 4;950 uint32_t fPadding0 : 23; 948 951 949 952 -
trunk/src/VBox/VMM/VMMAll/CPUMAllCpuId.cpp
r99023 r99814 1599 1599 pFeatures->fXSaveRstor = 0); 1600 1600 } 1601 1602 /* 1603 * Enable or disable VEX support depending on whether it's needed. Note that AVX, 1604 * BMI1, and BMI2 all use VEX encoding but are theoretically independent of each other. 1605 */ 1606 pFeatures->fVex = pFeatures->fAvx | pFeatures->fBmi1 | pFeatures->fBmi2; 1601 1607 } 1602 1608 else -
trunk/src/VBox/VMM/VMMAll/IEMAllInstructionsOneByte.cpp.h
r99685 r99814 7167 7167 { 7168 7168 IEMOP_MNEMONIC(vex3_prefix, "vex3"); 7169 if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->f Avx)7169 if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fVex) 7170 7170 { 7171 7171 /* Note! The real mode, v8086 mode and invalid prefix checks are done once … … 7214 7214 } 7215 7215 } 7216 Log(("VEX3: AVX support disabled!\n"));7216 Log(("VEX3: VEX support disabled!\n")); 7217 7217 return IEMOP_RAISE_INVALID_OPCODE(); 7218 7218 } … … 7239 7239 { 7240 7240 IEMOP_MNEMONIC(vex2_prefix, "vex2"); 7241 if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->f Avx)7241 if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fVex) 7242 7242 { 7243 7243 /* Note! The real mode, v8086 mode and invalid prefix checks are done once … … 7259 7259 7260 7260 /** @todo does intel completely decode the sequence with SIB/disp before \#UD? */ 7261 Log(("VEX2: AVX support disabled!\n"));7261 Log(("VEX2: VEX support disabled!\n")); 7262 7262 return IEMOP_RAISE_INVALID_OPCODE(); 7263 7263 }
Note:
See TracChangeset
for help on using the changeset viewer.