6.99 __USAT Intrinsic Function
Inserts a USAT
instruction.
The compiler will incorporate a shift instruction into the operand when possible. For
example, __USAT(x << 3,11)
compiles to USAT Rd,#11,Rn,LSL
#3
, where the value of x
has been placed in register
Rn
and the return value of __USAT
will be placed
in register Rd
.
This intrinsic function requires architecture Armv6 or higher for Arm mode, and Armv7-A, Armv7-R, or Armv7-M for Thumb mode.
Suggested Replacement
__USAT
Caveats
None.
Examples
unsigned int __USAT(signed int, unsigned int);
Further Information
None.