mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-11 02:00:20 +02:00
This returns the `XFEATURE_ENABLED_MASK` register which reports what features are enabled on the CPU. This behaves similarly to CPUID where it uses an index register in ecx. This is a prerequisite to enabling XSAVE/XRSTOR and AVX since applications will expect this to exist. xsetbv is a privileged instruction and doesn't need to be implemented.