Comment improvements, rename a dirty-flag

This commit is contained in:
Henrik Rydgård committed 2026-07-13 11:10:31 +02:00
1 parent 497baecc9e
commit db712016bb
10 files changed
+16 -12

No files matched your search

+1 -2
View File
@@ -287,8 +287,7 @@ void CPUInfo::Detect() {
// -- Is the RTM bit set in CPUID? (>>11)
// -- No need to check HLE bit because legacy processors ignore HLE hints
// -- See https://software.intel.com/en-us/articles/how-to-detect-new-instruction-support-in-the-4th-generation-intel-core-processor-family
if (max_std_fn >= 7)
{
if (max_std_fn >= 7) {
do_cpuid(cpu_id, 0x00000007);
// careful; we can't enable AVX2 unless the XSAVE/XGETBV checks above passed
if ((cpu_id[1] >> 5) & 1)