Share via


Common Intrinsics

The following table shows functions with a description of the purpose of each.

Programming element Description
_byteswap_uint64 This function returns the argument value with its bytes in reverse order.
_byteswap_ulong This function returns the argument value with its bytes in reverse order.
_byteswap_ushort This function returns the argument value with its bytes in reverse order.
_CacheRelease This function writes the cache line containing the address referenced by the pointer to main memory, and then marks the cache line as empty.
_CacheWriteBack This function writes the cache line containing the address referenced by the pointer to main memory.
_CopyDoubleFromInt64 This function copies a long integer into a floating-point double register.
_CopyFloatFromInt32 This function copies an integer value to a floating-point register.
_CopyInt32FromFloat This function copies a floating-point number into an integer register.
_CopyInt64FromDouble This function copies a floating-point double to a long integer register.
_CountLeadingOnes This function returns the number of contiguous one bits starting with the most significant bit.
_CountLeadingOnes64 This function returns the number of contiguous one bits starting with the most significant bit.
_CountLeadingSigns This function returns the number of contiguous bits that match the sign bit, starting with the next most significant bit.
_CountLeadingSigns64 This function returns the number of contiguous bits that match the sign bit, starting with the next most significant bit.
_CountLeadingZeros This function returns the number of contiguous zero bits starting with the most significant bit in the argument.
_CountLeadingZeros64 This function returns the number of contiguous zero bits starting with the most significant bit in a 64-bit integer argument.
_CountOneBits This function returns the number of one bits in the argument.
_CountOneBits64 This function returns the number of one bits in a 64-bit integer argument.
_debugbreak This function causes a debug breakpoint exception to be inserted.
_ICacheRefresh This function releases the cache line containing the address referenced by the pointer from the instruction cache.
_isunordered This function compares two double precision numbers to determine if they are unordered.
_isunorderedf This function compares two floating-point numbers to determine if they are unordered.
_MulHigh This function returns the high-order 32-bit result of multiplying two arguments.
_MulUnsignedHigh This function returns the high-order 32-bit result of multiplying two unsigned arguments.
_prefetch This function loads the data cache from main memory, if possible.
_ReadWriteBarrier This function forces all previous memory accesses to complete before any subsequent memory access is started.
_trap This function inserts a trap instruction.
_WriteBarrier This function forces all previous memory write operations to complete before any subsequent write operation is started.

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.