mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-20 12:50:57 +00:00
cpu info check
find avx2 and avx512
This commit is contained in:
parent
88da6f60f6
commit
b6ea96f367
2 changed files with 25 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue