chsvlib
chsv helper source code

◆ OSXSAVE_SUPPORTED_MASK

#define OSXSAVE_SUPPORTED_MASK (   mask)    CHECKMASKFLAG(mask, X86_FMA_ID)

Checks whether a given mask returned by get_x86_cpu_info indicates that the central processor and the operating system support Intel OSXSAVE.

Parameters
maskA value obtained by calling the get_x86_cpu_info function.

Macros which require a test for OSXSAVE CPUID flags (e.g. AVX_SUPPORTED_MASK and AVX512F_SUPPORTED_MASK) perform this test automatically.