target
Specifies a target for called functions
or variables.
Syntax
Windows* OS:
__declspec(target
(
target-name
)
)
Linux* OS:
__attribute__((target
(
target-name
)
)
)
Arguments
- target-name
- Specifies the target name. Possible values are:
- arch=skylake-avx512
- arch=corei7
- arch=core2
- arch=atom
- mmx
- sse
- sse2
- sse3
- ssse3
- sse4.1
- sse4.2
- popcnt
- aes
- pclmul
- avx
- avx2
- avx512f
Description
This keyword specifies that the called function or
variable is also available on the target. Only functions or variables marked
with this attribute are available on the target, and only these functions can
be called on the target.