Disable AVX and SSE instruction generation for HULK

This commit is contained in:
josh committed 2022-11-05 22:03:13 -04:00
1 parent 1b69810e8f
commit 354555d7f1
2 files changed
+28 -3

No files matched your search

-2
View File
@@ -42,8 +42,6 @@ private void initialize_cpu()
write_cr4(read_cr4() | CR4_OSFXSR | CR4_OSXMMEXCPT);
/* 2. Enable OSXSAVE. */
write_cr4(read_cr4() | CR4_OSXSAVE);
/* 3. Enable AVX. */
// xsetbv(0u, xgetbv(0u) | XCR0_X87 | XCR0_SSE | XCR0_AVX);
}
/**