Tool/software:
Team,
We have a customer that may have found a new bug that they observed in the TI AM263x SDK SW. They have this if condition where they are comparing two float values as below:
This if condition should always be true but they've noticed that sometimes they hit the else part even though they can see that tmp value is 4098360 which is clearly less than the value they are comparing it to. below are a few screenshots of the assembly code and FPU/CPU registers.
They are using TI ARM CLANG compiler version 3.2.2 LTS.
Please let us know your thoughts.
TY,
CY