Hello Sir,
We are working on C64x+ DSP, Earlier we were using code gen tools 6.1.x later we moved to 7.2.0B2 version for ELF support.
Unfortunately few projects will work fine with out any issue, but some projects it gives incorrect code when -O3 is enabled along with --opt_for_speed=5.
We debugged and found issue in below code
for (i=0; i<numTables; i++) {
pThis->m_tableInfo[i].bits = pThis->m_initInfo[i].bits;
pThis->m_tableInfo[i].table = pThis->m_decInfo+pThis->m_numDecEntries;
pThis->m_numDecEntries += 1<<pThis->m_initInfo[i].bits;
}
Later came to know that there were some fixes in latest code gen tools 7.2.2 version and migrated to the same. But still we observe this issue....
Can anybody guide us fix this issue? Please note that the same code works fine with no optimizations "-o0"
During our trials we also found that the code generated is inconsistent with 7.2.0B2. :(
Best Regards
Rama