Visible to Intel only — GUID: GUID-50BFC434-158C-4E31-96F1-1FE4B353E737
Visible to Intel only — GUID: GUID-50BFC434-158C-4E31-96F1-1FE4B353E737
allow_cpu_features
Provides the ability for a function to use intrinsic functions and architecture-specific functionality.
Syntax
Windows: __declspec(allow_cpu_features(featp1[,featp2])) |
Linux: __attribute__((allow_cpu_features(featp1[,featp2]))) |
Arguments
featp1 |
Specifies features to allow for the function. Values are integral constant expressions that evaluate to the page one bitmask of permissible features from the libirc CPUID information. The evaluated type is an unsigned 64-bit integer which permits use of template-dependent code. Possible values are:
|
featp2 |
Optional. Specifies features to allow for the function. Values are integral constant expressions that evaluate to the page two bitmask of permissible features from the libirc CPUID information. The evaluated type is an unsigned 64-bit integer which permits use of template-dependent code. If only features from page two are desired, specify 0 for featp1. Possible values are:
|
Description
When added to a function declaration, this keyword permits the use of intrinsic functions and other architecture-specific functionality that require the listed processor features. The function is generated as if the specified features are available.