Partager via


x86 Intrinsics 

The Visual C++ compiler makes the following intrinsics available on the x86 architecture:

_AddressOfReturnAddress

__addfsbyte

__addfsword

__addfsdword

__assume

_BitScanForward

_BitScanReverse

_bittest

_bittestandcomplement

_bittestandreset

_bittestandset

__cpuid

__debugbreak

_disable

__emul

__emulu

_enable

__getcallerseflags

__incfsbyte

__incfsword

__incfsdword

__int2c

_InterlockedAddLargeStatistic

 

_InterlockedAnd

_interlockedbittestandreset

_interlockedbittestandset

_InterlockedCompareExchange

_InterlockedCompareExchange16

_InterlockedCompareExchange64

_InterlockedDecrement

_InterlockedDecrement16

_InterlockedExchange

_InterlockedExchangeAdd

_InterlockedIncrement

_InterlockedIncrement16

_InterlockedOr

_InterlockedXor

__ll_lshift

__ll_rshift

__noop

_ReadBarrier

__readfsbyte

__readfsdword

__readfsqword

__readfsword

_ReadWriteBarrier

_ReturnAddress

_rotl8

_rotl16

_rotr8

_rotr16

__ull_rshift

_WriteBarrier

__writefsbyte

__writefsdword

__writefsqword

__writefsword

 

 

In addition, the Visual C++ compiler supports intrinsics for MMX, Streaming SIMD Extensions (SSE), and Streaming SIMD Extensions 2 (SSE2). For more information, see MMX, SSE, and SSE2 Intrinsics.

Also, many functions in the CRT are implemented as intrinsics on the x86 platform.

Note   The following functions without the preceding underscore are only available when you use /Ze:

inp

_inp

inpd

_inpd

inpw

_inpw

outp

_outp

outpd

_outpd

outpw

_outpw

See Also

Reference

Compiler Intrinsics

Other Resources

C++ Language Reference