Share via


_INTRINSIC_IS_INLINE

9/7/2007

This macro determines if a specified intrinsic function is supported.

Syntax

_INTRINSIC_IS_INLINE(arg)

Parameters

  • Arg
    [in] The name of the intrinsic function of interest.

Return Value

A nonzero return value indicates that the specified intrinsic is supported by the compiler.

Example

   //  The followig example shows how to use the _INTRINSIC_IS_INLINE macro to determine if the _rotl intrinsic will be expanded inline.
   //
#include <cmnintrin.h>
#if _INTRINSIC_IS_INLINE(_rotl)
     x = _rotl(y, 3);
#else
     x = MY_ROTL(y, 3);   // call my inline implementation, not the CRT helper
#endif

See Also

Other Resources

Intrinsic Functions for Device Compilers