diff --git a/docs/markdown/hip_kernel_language.md b/docs/markdown/hip_kernel_language.md old mode 100644 new mode 100755 index ed9dc2fbe9..4b8762025e --- a/docs/markdown/hip_kernel_language.md +++ b/docs/markdown/hip_kernel_language.md @@ -451,6 +451,8 @@ Following is the list of supported integer intrinsics. Note that intrinsics are | unsigned int __ffsll(long long int x)
Find the position of least signigicant bit set to 1 in a 64 bit signed integer. | | unsigned int __popc ( unsigned int x )
Count the number of bits that are set to 1 in a 32 bit integer. | | int __popcll ( unsigned long long int x )
Count the number of bits that are set to 1 in a 64 bit integer. | +| int __mul24 ( int x, int y )
Multiply two 24bit integers. | +| unsigned int __umul24 ( unsigned int x, unsigned int y )
Multiply two 24bit unsigned integers. | [1] The hcc implementation of __ffs() and __ffsll() contains code to add a constant +1 to produce the ffs result format. For the cases where this overhead is not acceptable and programmer is willing to specialize for the platform,