|
|||||||||||
|
Technical Support Support Resources
Product Information |
C51: LROL and LROR Functions are not IntrinsicInformation in this article applies to:
SYMPTOMSThe manual states that the crol, irol, lrol, cror, iror, and lror functions are implemented as intrinsic routines. When I use them, however, the lrol and lror functions are not intrinsic. CAUSEThis is correct. The crol, cror, irol, and iror functions are implemented intrinsicly (that is, the code is expanded in-line with no function calls). The lror and lrol function are not implemented intrinsicly (these routines are called). The reason for this is that on the 8051, a lror or lrol requires a number of operations (since there is no 32-bit ROL or ROR instruction). Since these routines require so many instructions, it is more efficient to implement these routines as functions instead of in-line code. RESOLUTIONThere is no way to change this behavior. The manual will be updated to reflect the correct operation of these routines. MORE INFORMATIONLast Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.