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.

TMS320F280039C: Need to reduce running cycle of the judgment operation and need benchmark

Part Number: TMS320F280039C

Tool/software:

Hi Champs,

Customer have found that our code takes a long time to run with judgment operation, which is much slower than other operations.

For example:


if (V2 == 1)
{
V3 = 1;
}This takes 0.1us to run


if ((V4 == 1U) && (V5 == 1U))
{
V6 = 1;
}This takes 0.142us to run

Customer tried to increase the optimization level, but the time did not decrease. Is there a way to reduce the running time of this logical operation? In addition, do we have a benchmark for logical operations that we can provide to customer?

Thanks!

 

Best Regards,

Julia