Files
Asuro/src
t3hn3rd e54b34aa93
continuous-integration/drone/push Build is failing
fix: gate AVX enable on XSAVE support and set CR4.OSXSAVE first
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
2026-02-28 16:31:57 +00:00
..
2021-06-22 21:31:17 +01:00
2026-02-27 16:30:31 +00:00
2021-06-22 21:31:17 +01:00
2026-02-27 16:30:31 +00:00
2022-02-07 19:48:00 +00:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00
2021-06-22 21:31:17 +01:00