Forum Discussion
Hi Anand,
Thanks for the info.
I'm using the NIOS 2/f in both configurations. Actually, it's exactly the same .qsys and .sopcinfo in both configurations because I have two software projects in the Eclipse software sub folder.
I used WinMerge to compare the two settings.bsp XML files. Here's what I found:
For the last column, I modified the standard BSP setttings to make them the same as the small BSP settings as a control test. Considering that there is a 5x speed difference, more is going on than I am aware of.
The description in the BSP Editor doesn't fully describe what the options mean, e.g. no mention of -Os.
I tried searching the PDF you linked to for the above settings and identifiers, e.g. BSP_CFLAGS_OPTIMIZATION and -O2 but nothing pertinent showed up.
Do you know where I can find detailed descriptions of the above parameters?
I found some info here: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options
And sorry to bother you about such basic stuff, but I'm struggling to find the info.
Thanks,
Tim.
Hi Tim,
-Os: This is the most important compiler switch when optimizing for space. This instructs compiler to optimize for space rather than speed
Please refer below link
https://www.intel.com/content/www/us/en/programmable/documentation/lro1419794938488.html
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Regards
Anand