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.
Hi,
My customer encountered a warning when building the project. The warning is as follow:
advice: (Performance) EABI double
precision is 64-bits as opposed to 32-bits for COFF. Consider
changing doubles to floats for improved performance in FPU32-mode.
They set float_support=fpu32 in compile configuration of Makefile.
For example: sint32_t is long (data type)
sint32_t PWM_frequency;
PWM_frequency = _IQ10(MAX_FREQ);
when MAX_FREQ=72345,there is no warning.
sint32_t PWM_frequency;
sint32_t abc;
PWM_frequency = _IQ10(abc);
when abc=72345,there is a warning.
sint32_t PWM_frequency;
sint32_t abc;
PWM_frequency = abc<<10;
when abc=72345,there is no warning.
The question is why there is a warning? How to eliminate the warning? Could you provide user guide of EABI and COFF?
Thanks a lot!
HI,
I was unable to reproduce your issue:
Can you provide the exact project settings? (.cproject, .project)
-Shantanu
Whether it is related to the compiler version? They use ti-cgt-c2000_20.2.1.LTS.
I tried with 20.2. Still unable to replicate.Can you share the exact project settings?