次の方法で共有


_INTRINSIC_IS_INLINE (Windows Embedded CE 6.0)

1/5/2010

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

Reference

Macros for Common Intrinsics

Other Resources

Intrinsic Functions for Device Compilers