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.

Bug in "Host Intrinsics for C6000 0.91", "_sat" instruction

In C6xSimulator.c, function "int32 _sat(int40 a)" is not handling negative values correctly.

E.g. _sat(-2147483649ll) gives "-2147483648" on c6400+ silicon but gives "2147483647" with host intrinsics.

Most input values below "-2147483648" are not handled correctly

I don't know where to report bug, so I just post it here.

I've reported similar bug in the host intrinsics like this one:

e2e.ti.com/.../391210