[Dspforum] Compiler Consultant
Doug Wenstrand
doug at echelonembedded.com
Wed Oct 7 07:20:43 MDT 2009
All,
Unless my experience with the version of Code-Composer on your CDs is
atypical, I'm going to make a change to the tuning process that I presented
in class last week. The "compiler consultant", with its nice stylized
advice messages has been a mess of dead "unable to open webpage" windows for
me. Though it appears that you can get a fix for this perhaps by using the
update advisor, and registering the software...etc.; that shouldn't be
necessary. The compiler consultant advice was a nice way to describe this
process, but I don't want us to spend our lives figuring out how to use
these particular tools.
The "-os" option will generate optimizer comments, and they can be viewed
with the assembly listing in the .asm file created. This file should
contain the big ASCII text formatted section that I described in class which
shows the resource utilization of the loop, along with the best "ii"
(initiation interval) that could be achieved.
The HTML formatted advice is of course nice, but using the pragma discussed
in class to specify iteration bounds, using restrict qualifiers, and
specifying alignment with nasserts can be tried, and its effect can be
observed in the file itself. The profiler can also be used to figure out
where your code is spending the longest amount of time, but in the case of
your filter, I think thats pretty obviously the convolution.
Sorry for any confusion, but I don't want this to be the focus of the lab.
Doug
note : if anyone did have luck getting the advice using the CD version of
the software, let me know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20091007/31a9d0f8/attachment.html>
More information about the Dspforum
mailing list