Other Parts Discussed in Thread: TMS320C6657
Hi Expert,
Traget: TMS320C6657,6678, all C66 core dsp can reproduce this issue.
Compiler version: 7.4.15
When my customer do optimziation, they used below 2 codes and gets different cycle running result.
float FREQ_UAC_L1 = 10.0
float tmp_interval;
//tmp_interval = 500.0/FREQ_UAC_L1 ; case1
//tmp_interval = 500/FREQ_UAC_L1 +; case2
case1 have more thhan 1x cycle consumption than case2,
after read assmbly file, we found that in case 2 , the compiler calls __c6xabi_divf, which should be right
but for case1 , it calls__c6xabi_divd, which is integer divide and have low performance than __c6xabi_divf, 2x performance down.
It is easy to reproduce the issue based on above code, could you help check it?
Any more inputs please let me know



