cpu info check

find avx2 and avx512
This commit is contained in:
marauder2k7 2026-02-24 15:03:22 +00:00
parent 88da6f60f6
commit b6ea96f367
2 changed files with 25 additions and 5 deletions

View file

@ -75,10 +75,12 @@ enum ProcessorProperties
CPU_PROP_SSE4_1 = (1<<7), ///< Supports SSE4_1 instruction set extension.
CPU_PROP_SSE4_2 = (1<<8), ///< Supports SSE4_2 instruction set extension.
CPU_PROP_AVX = (1<<9), ///< Supports AVX256 instruction set extension.
CPU_PROP_MP = (1<<10), ///< This is a multi-processor system.
CPU_PROP_LE = (1<<11), ///< This processor is LITTLE ENDIAN.
CPU_PROP_64bit = (1<<12), ///< This processor is 64-bit capable
CPU_PROP_NEON = (1<<13), ///< Supports the Arm Neon instruction set extension.
CPU_PROP_AVX2 = (1<<10), ///< Supports AVX256 instruction set extension.
CPU_PROP_AVX512 = (1<<11), ///< Supports AVX256 instruction set extension.
CPU_PROP_MP = (1<<12), ///< This is a multi-processor system.
CPU_PROP_LE = (1<<13), ///< This processor is LITTLE ENDIAN.
CPU_PROP_64bit = (1<<14), ///< This processor is 64-bit capable
CPU_PROP_NEON = (1<<15), ///< Supports the Arm Neon instruction set extension.
};
/// Processor info manager.