This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ARM RBIT Instruction C Compiler Intrinsic

Does the TI ARM Compiler support a C Intrinsic function for the ARM RBIT assembly instruction?  Can the TI ARM Compiler generate the RBIT instruction from the appropriate algorithmic C code or am I doomed to write my own inline assembly function to utilize such an instruction? 

I've checked the ARM Optimizing C/C++ Compiler User's Guide about Compiler Intrinsics (pg. 104 - 107) to no avail.

-Jesse Griggs

  • The current release of the ARM compiler does not support an intrinsic for the RBIT instruction. Support for this intrinsic will be included in the upcoming 5.0 release, which will be released around May 2012. Unfortunately, until then you will need to use an assembly function to use this instruction.