Hi Team,
Good day.
Our customer is having issues with optimizing a simple code below.
for(i=0:16000){
x[i] =i ; y[i]= i;}
When they set optimization level -O2 in ccsv5, they see that the assembly file iteration interval for this loop is set to 1
So the loop must delay 16000 clock but when they run the code and measure clocks it delays 120000 clocks. What do you think could be the issue?
Without optimization level (-Ooff), the delay was 400,000 clocks and with -O1 optimization its 150,000. Attached is the software pipelining information of the loop.
Thanks and regards,
Art