|
OpenTTD Source 20260218-master-g2123fca5ea
|
Functions related to CPU specific instructions. More...
Go to the source code of this file.
Functions | |
| bool | HasCPUIDFlag (uint type, uint index, uint bit) |
| Check whether the current CPU has the given flag. | |
Functions related to CPU specific instructions.
Definition in file cpu.h.
| bool HasCPUIDFlag | ( | uint | type, |
| uint | index, | ||
| uint | bit ) |
Check whether the current CPU has the given flag.
| type | The type to be passing to cpuid (usually 1). |
| index | The index in the returned info array. |
| bit | The bit index that needs to be set. |