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.

TMS320F28377S: Different timing for multiply instruction in structure

Part Number: TMS320F28377S

Hi Champ,

I am asking for customer.

In C language, the operation of a ->b and (*a).b are the same meaning in structure in my understanding.

The customer has found the time consumption for processing two instructions, there is a gap.   

In the function, the writing like this way, MathTemp = (f32)ADC * Gain_Matrix->Low_Gain, have all changed to the following way, MathTemp = (f32)ADC * (*Gain_Matrix). Low_Gain.

It is tested the time consumption reduces significantly to 3 us after modified. (a ->b  to (*a).b )

The two meanings should be the same, but the result is quite different.

I would like to ask this kind of operation (especially the one with ->), is it not recommended to use in the CCS? 

Why makes them different ? Did it make a mistake of using ?

May I clarify the use of the multiply instruction in structure between a ->b and (*a).b ?

Thanks.

BR, Johnny