mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 05:11:15 +02:00
Add CpuIdEx function to pass inputs in ecx register (required for E.g. leaf4) (#77)
This commit is contained in:

committed by
Guillaume Chatelet

parent
3ee4a9e801
commit
bfb4cf99cc
@ -26,8 +26,7 @@ typedef struct {
|
||||
uint32_t eax, ebx, ecx, edx;
|
||||
} Leaf;
|
||||
|
||||
// Retrieves the leaf for a particular cpuid.
|
||||
Leaf CpuId(uint32_t leaf_id);
|
||||
Leaf CpuIdEx(uint32_t leaf_id, int ecx);
|
||||
|
||||
// Returns the eax value of the XCR0 register.
|
||||
uint32_t GetXCR0Eax(void);
|
||||
|
Reference in New Issue
Block a user