Tool/software: TI C/C++ Compiler
Hi
Customer are facing some unexpected behavior with HostEmulater for C7000.
Some functions output wrong result.
The following are the list of the functions:
LMBD | _lmbd() |
MEM8 | _mem8() |
MEM8_CONST | _mem8_const() |
AMEM8_CONST | _amem8_const() |
EXT | _ext() |
EXTU | _extu() |
SMPY2LL | _smpy2ll() |
MPYSU4LL | _mpysu4ll() |
CMPY | _cmpy() |
MPY2LL | _mpy2ll() |
MPYU4LL | _mpyu4ll() |
DDOTPL2 | _ddotpl2() |
DCCMPY | _dccmpy() |
DCMPY | _dcmpy() |
DMPYSU4 | _dmpysu4() |
MPYU2 | _mpyu2() |
EXTUR | _extur() |
MPYUS4LL | _mpyus4ll() |
As an example, customer prepared the simple test code and details of it's behavior for MPY2LL _mpy2ll():
- Behavior:
Looks like the output of the function saturates at 32bit.
For example, when the expected result is 0x32C40000, the function output just 0x00000000.
- Test case
- Test environmnet:
* Windows10 Pro
* Visual Studio 2017 x64 Release Build
Thanks and Best regards,
HaTa.