NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
C6000 Programmer's Guide Errata
ROTL Intrinsic Description Error[edit]
Page 2-22 includes the below description
uint _rotl(uint src1, uint src2); ROTL Rotates scr2 to the left by the amount in src1
Which has the src1 and src2 arguments transposed from where they should be in the call. The following is what it should read.
uint _rotl(uint src2, uint src1); ROTL Rotates src2 to the left by the amount in src1
_spint Intrinsic Description Error[edit]
Page 2-28
The description for the int _spint(float);
intrinsic should read: "Converts 32-bit float to 32-bit signed integer, using the rounding mode specified in the FADCR register."
shr2 / shru2 intrinsic errors[edit]
Page 2-22 Table 2-7
The intrinsic shru2 does not have a preceding underscore. It should read: "uint _shru2 (uint src1, uint src2);"
The description for the intrinsics _shr2 and _shru2 should read: "For each 16-bit quantity in src1, the quantity is arithmetically or logically shifted right by src2 number of bits. src1 can contain signed or unsigned values"