continuous-integration/drone/push Build is failing
XGETBV/XSETBV require CR4 bit 18 (OSXSAVE) to be set before execution, otherwise the CPU raises #UD (invalid opcode). Hyper-V enforces this strictly; VirtualBox was silently tolerating it. - Check both AVX and XSAVE CPUID flags before attempting AVX enable - Set CR4.OSXSAVE (bit 18) before issuing XGETBV/XSETBV - If XSAVE is not exposed by the hypervisor, AVX enable is skipped gracefully instead of faulting