Intrinsic Functions for Device Compilers

9/7/2007

The device compilers support a wide variety of intrinsic functions. Some intrinsic functions are supported by all device compilers. In addition, the compilers for each microprocessor family support additional intrinsic functions.

Common intrinsic functions perform simple and useful operations that are difficult to express concisely in C or C++. They are called common because more than one device compiler supports them.

Using intrinsic functions to access assembly instructions instead of inline assembly results in code that can still be fully optimized by the compiler.

You can enable these functions by including Cmnintrin.h.

In This Section