pub fn cpuid_osxsave_enabled() -> boolExpand description
Whether CR4.OSXSAVE is currently enabled on this CPU.
AVX/AVX-512 are only usable when the kernel has enabled the state (XSAVE in CR4 + XCR0 bits); CPUID alone only reports hardware capability.