mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 00:42:40 +00:00
[NTOS:KE] Detect CPU support for XSAVE, AVX, AVX2 and AVX512
This commit is contained in:
parent
294eb31cfd
commit
6653bb5224
3 changed files with 21 additions and 5 deletions
|
@ -73,6 +73,11 @@ Author:
|
|||
#define KF_SSE4_1 0x0001000000000000ULL
|
||||
#define KF_SSE4_2 0x0002000000000000ULL
|
||||
|
||||
// ReactOS specific
|
||||
#define KF_AVX 0x1000000000000000ULL
|
||||
#define KF_AVX2 0x2000000000000000ULL
|
||||
#define KF_AVX512F 0x4000000000000000ULL
|
||||
|
||||
#define KF_XSAVEOPT_BIT 15 // From ksamd64.inc (0x0F -> 0x8000)
|
||||
#define KF_XSTATE_BIT 23 // From ksamd64.inc (0x17 -> 0x800000)
|
||||
#define KF_RDWRFSGSBASE_BIT 28 // From ksamd64.inc (0x1C -> 0x10000000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue