-
Bug
-
Resolution: Unresolved
-
Not Prioritized
-
Code Generation Tools
-
CODEGEN-9318
-
C6000_8.3.11
-
default
The attached test case has this statement ...
result = (int40_t)a32 - (int40_t)b32;
a32 and b32 are int32_t. result is int40_t. Thus, this subtraction should be 40 bits wide. However, this instruction is used ...
SUB .L2 B5,B4,B5:B4
That only computes a 32-bit wide result.