Nvidia PTX Built-in Functions (Using the GNU Compiler Collection (GCC)) (original) (raw)
Next: Basic PowerPC Built-in Functions, Previous: NDS32 Built-in Functions, Up: Built-in Functions Specific to Particular Target Machines [Contents][Index]
7.13.23 Nvidia PTX Built-in Functions ¶
These built-in functions are available for the Nvidia PTX target:
Built-in Function: unsigned int
__builtin_nvptx_brev (unsigned int x)
¶
Reverse the bit order of a 32-bit unsigned integer.
Built-in Function: unsigned long long
__builtin_nvptx_brevll (unsigned long long x)
¶
Reverse the bit order of a 64-bit unsigned integer.