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.
Windows: __declspec(allow_cpu_features(featp1[,featp2])) |
Linux: __attribute__((allow_cpu_features(featp1[,featp2]))) |
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:
|
This keyword can be added to a function to specify intrinsic functions and architecture specific functionality that the function is allowed to use. The function is generated as if the specified features are available.