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.

TMS320F28P650DH: CLA optimizating of MMOVIZ + MMOVXI

Part Number: TMS320F28P650DH


Tool/software:

Hi Experts,

My finds that some of their floating value assigning code is compiled as MMOVIZ + MMOVXI, which takes two instructions.

Is it possible to optimize it as MMOVF32 which takes one instruction?

Regards,

Hang

  • Hi Hang,

    Can they try turning on compiler optimizations in their project properties (if not already enabled)?

    Also, what type of structure is ClatoCpuVar? Generally, the CLA compiler isn't optimized for accessing complex structures. If they try writing the value to a float variable, does it reduce the line to one instruction?

    Best Regards,

    Delaney