แก้ไข

แชร์ผ่าน


Alphabetical listing of intrinsic functions

The following sections describe the Microsoft-specific intrinsic functions available on some or all architectures. Other supported intrinsics are documented by processor manufacturers, either in the header files or on their websites. For more information, and links to manufacturer documentation, see these articles: ARM intrinsics, ARM64 intrinsics, x86 intrinsics, and x64 intrinsics. C Runtime Library (CRT) functions implemented as intrinsics aren't documented here. CRT intrinsic functions are documented in the C Runtime Library Reference.

__addfsbyte, __addfsword, __addfsdword

__addgsbyte, __addgsword, __addgsdword, __addgsqword

_AddressOfReturnAddress

__assume

_BitScanForward, _BitScanForward64

_BitScanReverse, _BitScanReverse64

_bittest, _bittest64

_bittestandcomplement, _bittestandcomplement64

_bittestandreset, _bittestandreset64

_bittestandset, _bittestandset64

__cpuid, __cpuidex

_cvt_ftoi_fast, _cvt_ftoll_fast, _cvt_ftoui_fast, _cvt_ftoull_fast, _cvt_dtoi_fast, _cvt_dtoll_fast, _cvt_dtoui_fast, _cvt_dtoull_fast

_cvt_ftoi_sat, _cvt_ftoll_sat, _cvt_ftoui_sat, _cvt_ftoull_sat, _cvt_dtoi_sat, _cvt_dtoll_sat, _cvt_dtoui_sat, _cvt_dtoull_sat

_cvt_ftoi_sent, _cvt_ftoll_sent, _cvt_ftoui_sent, _cvt_ftoull_sent, _cvt_dtoi_sent, _cvt_dtoll_sent, _cvt_dtoui_sent, _cvt_dtoull_sent

__debugbreak

_disable

__emul, __emulu

_enable

__fastfail

__faststorefence

__getcallerseflags

__halt

__inbyte

__inbytestring

__incfsbyte, __incfsword, __incfsdword

__incgsbyte, __incgsword, __incgsdword, __incgsqword

__indword

__indwordstring

__int2c

_InterlockedAdd intrinsic functions

_InterlockedAddLargeStatistic

_InterlockedAnd intrinsic functions

_interlockedbittestandreset intrinsic functions

_interlockedbittestandset intrinsic functions

_InterlockedCompareExchange intrinsic functions

_InterlockedCompareExchange128

_InterlockedCompareExchangePointer intrinsic functions

_InterlockedDecrement intrinsic functions

_InterlockedExchange intrinsic functions

_InterlockedExchangeAdd intrinsic functions

_InterlockedExchangePointer intrinsic functions

_InterlockedIncrement intrinsic functions

_InterlockedOr intrinsic functions

_InterlockedXor intrinsic functions

__invlpg

__inword

__inwordstring

__lidt

__ll_lshift

__ll_rshift

__lzcnt16, __lzcnt, __lzcnt64

_mm_cvtsi64x_ss

_mm_cvtss_si64x

_mm_cvttss_si64x

_mm_extract_si64, _mm_extracti_si64

_mm_insert_si64, _mm_inserti_si64

_mm_stream_sd

_mm_stream_si64x

_mm_stream_ss

__movsb

__movsd

__movsq

__movsw

__mul128

__mulh

__noop

__nop

__outbyte

__outbytestring

__outdword

__outdwordstring

__outword

__outwordstring

__popcnt16, __popcnt, __popcnt64

__rdtsc

__rdtscp

_ReadBarrier

__readcr0

__readcr2

__readcr3

__readcr4

__readcr8

__readdr

__readeflags

__readfsbyte, __readfsdword, __readfsqword, __readfsword

__readgsbyte, __readgsdword, __readgsqword, __readgsword

__readmsr

__readpmc

_ReadWriteBarrier

_ReturnAddress

_rotl8, _rotl16

_rotr8, _rotr16

__segmentlimit

__shiftleft128

__shiftright128

__sidt

__stosb

__stosd

__stosq

__stosw

__svm_clgi

__svm_invlpga

__svm_skinit

__svm_stgi

__svm_vmload

__svm_vmrun

__svm_vmsave

__ud2

__ull_rshift

_umul128

__umulh

__vmx_off

__vmx_on

__vmx_vmclear

__vmx_vmlaunch

__vmx_vmptrld

__vmx_vmptrst

__vmx_vmread

__vmx_vmresume

__vmx_vmwrite

__wbinvd

_WriteBarrier

__writecr0

__writecr3

__writecr4

__writecr8

__writedr

__writeeflags

__writefsbyte, __writefsdword, __writefsqword, __writefsword

__writegsbyte, __writegsdword, __writegsqword, __writegsword

__writemsr

See also

Compiler intrinsics