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.
no our project use 280049's CLA, The code was ported from 28035, i find the Disassembly codes are so different, like below:
28035:
280049:
you can see ,the same code, but 280049's Disassembly codes are so long, two project has the same Optimization level----opt_level 0--register opti
why? how to let 280049's Disassembly codes simple like 28035, how can i set? thank you!
Please submit two test cases. For the .cla file in both the 28035 project and the 280049 project, please follow the directions in the article How to Submit a Compiler Test Case.
Thanks and regards,
-George
I sense that your approach is a little complicated,
now i find a method to solve this problem, that is i set the 280049 project optimization level to 1 and the disassembly codes can be same with 28035.
280049 project's complier version is:
and 28035 complier version is :
but i don't know why
For compiler generated code to match, many aspects of the input must match. This includes the source code (including all the headers), the version of the compiler, and the build options. Gathering one test case requires collecting all of that information. If I had a test case for each build, then I could compare these details and see which ones do not match.
To see and change the version of the compiler used to a build a CCS project, please read the General Properties sub-chapter of the CCS online documentation.
Thanks and regards,
-George